15,867,453 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by BrainlessLabs.com (Top 54 by date)
BrainlessLabs.com
25-Jan-12 5:48am
View
Which IDE are you using?
BrainlessLabs.com
11-Jan-12 3:35am
View
You need to have sqlite.dll in the system path rather than same folder.
BrainlessLabs.com
11-Jan-12 3:33am
View
What kind of error/exception you are getting?
BrainlessLabs.com
11-Jan-12 1:47am
View
Valgrind is a system emulator. They work on different principle. Better to use new handler as proposed by stefan. But what is the problem statement? Is it a need or is it some requirement?
BrainlessLabs.com
11-Jan-12 1:42am
View
I second that.
BrainlessLabs.com
11-Jan-12 1:14am
View
The question I feel is vague. The link you have shared is a barcode generator in Java. Scanner is a device. Do you have a barcode scanner device? The question does not belong in a C++ forum.
BrainlessLabs.com
6-Jan-12 5:45am
View
Please post in a solaris forum.
BrainlessLabs.com
4-Jan-12 10:03am
View
This is a C++ forum. May be this question belongs some where else too. I am not sure.
BrainlessLabs.com
2-Jan-12 10:22am
View
Hello Mobilat. This is not to discourage you. Sorry if you felt like that. But while you ask question you have to refine your question. Else people cannot help you. Can you answer my question below?
Hey All, I want to build a rocket, what are the steps required?
Learning is a continuous and tedious process. You should not let your ego come in way.
BrainlessLabs.com
2-Jan-12 2:02am
View
Nice. My 5
BrainlessLabs.com
2-Jan-12 0:24am
View
I agree. This is no place to ask home work questions or "Developer for hire" questions.
BrainlessLabs.com
1-Jan-12 14:20pm
View
Thanks, and same to you. Glad I could help.
BrainlessLabs.com
1-Jan-12 1:39am
View
A bogus question.
BrainlessLabs.com
30-Dec-11 13:28pm
View
Deleted
I do not suggest always upgrading a library. Be sure to upgrade a library when there is a need. Be sure to review the changes in the new library before upgrade.
BrainlessLabs.com
30-Dec-11 2:12am
View
Please post it in a Solaris forum. Remove the C++ tag from it and put a solaris tag
BrainlessLabs.com
29-Dec-11 0:06am
View
Are you talking about some example in the book "Learning OpenCV"?
BrainlessLabs.com
28-Dec-11 12:56pm
View
If this is a homework, please do it your self. Else you can post in some web site where coders are available for rent.
BrainlessLabs.com
28-Dec-11 6:20am
View
Great. Let us know the results also. May be after you try you can contribute an article on MPI programing out here.
BrainlessLabs.com
28-Dec-11 6:18am
View
Are you setting the correct path? Do you mean "../ioq3ded.ppc64" instead of "./ioq3ded.ppc64"?
BrainlessLabs.com
27-Dec-11 14:49pm
View
Nice links.
BrainlessLabs.com
26-Dec-11 9:31am
View
What MPI library are u willing to use? And MPI only? any justification?
BrainlessLabs.com
26-Dec-11 1:39am
View
Well you can be more specific. Why you want cluster computing? Have you implemented any image processing algorithms in single computer system?
BrainlessLabs.com
26-Dec-11 1:37am
View
Well you need to provide more info.
BrainlessLabs.com
25-Dec-11 12:41pm
View
Nice, but you need not use the #include "A_wnd.h" and #include "B_wnd.h" if you want to use pointers. This will reduce some work for the pre processor engine.
BrainlessLabs.com
25-Dec-11 11:33am
View
I agree. This book is not very suited for beginners. Better learn C++ through some examples.
BrainlessLabs.com
25-Dec-11 11:26am
View
Thanks.
BrainlessLabs.com
24-Dec-11 3:20am
View
For what purpose you need the comparison? If you let in detail, people can provide better solution.
BrainlessLabs.com
24-Dec-11 3:06am
View
Please try them your self, you will get solution faster.
BrainlessLabs.com
24-Dec-11 3:00am
View
I disagree that C# is a safe version of C++. C# is a different language influenced by C++ and Java. All people some how do not realize that "With great Power comes great Responsibility." This is what C++ dictates. It gives the programmer more freedom and power, but all the bug that comes are due to unsafe practice of programmers. People do not use smart pointers because they just "Think" that they are heavy. Wrong design and coding leads to unsafe programs. This can happen with any language C++ or Java or C#.
BrainlessLabs.com
23-Dec-11 12:28pm
View
Please try it your self. Its a home work assignment I know of sure.
BrainlessLabs.com
23-Dec-11 9:54am
View
My 5 too.
BrainlessLabs.com
23-Dec-11 9:47am
View
What compiler are you using?
BrainlessLabs.com
18-Dec-11 12:28pm
View
I again disagree that you have to learn C to learn C++. Why I suggested him about learning C first is cause he already knows C#, so has the concept of objects, etc. So learning C will give him more insight into procedural programing. If he can learn C# first, without knowing C/C++ he will not need C to learn C++.
BrainlessLabs.com
18-Dec-11 12:25pm
View
I agree. And I also agree OOP is not a solution to everything. What I meant to say is people should not see C++ a better C. If they think this, then they try to use different models. Modeling should be simpler, and according to problem at hand. OOP should not be forced.
BrainlessLabs.com
18-Dec-11 9:53am
View
Well I disagree. C++ is not a better C, it just retains backward compatibility with C. C and C++ are different languages. C influenced C++, but after CFront I do not agree that C++ is C with classess. (For example try functional programing with C??)
C++ developers should learn to use STL at least, that makes their life easier.
I mostly would suggest people learn the programing techniques first rather than a programing language. Be it C/C++/Java. A language is just a tool to communicate with the machine in a particular fashion and get your work done.
BrainlessLabs.com
14-Dec-11 1:17am
View
What parser you are using?
You basically have to fetch the node, remove it, and add a comment in the xml stream.
BrainlessLabs.com
14-Dec-11 1:16am
View
What is the exception you are getting?
May be this
http://en.highscore.de/cpp/boost/asio.html
will help.
BrainlessLabs.com
14-Dec-11 1:11am
View
No homeworks. I didn't do my home works, why you think we should do yours?
BrainlessLabs.com
14-Dec-11 1:10am
View
I think this should not be under C++. This should move to appropriate forum, so that you can get better help.
BrainlessLabs.com
12-Dec-11 3:08am
View
Besides assignments should be completed by your self.
BrainlessLabs.com
7-Dec-11 2:49am
View
Well referring to a standard C++ text will be more useful to you.
BrainlessLabs.com
1-Dec-11 11:33am
View
Well I interpreted the question differently, I thought he wanted something like a just in time. My bad.
BrainlessLabs.com
1-Dec-11 9:55am
View
Deleted
If you want an API to do it, you can use a just in time API.
https://developer.mozilla.org/En/Nanojit
http://code.google.com/p/asmjit/
http://code.google.com/p/blitjit/
These are a few examples of the program.
BrainlessLabs.com
27-Nov-11 23:48pm
View
I agree. Memory leaks are tricky. Go and check for char* pointer in your code to determine how this is handled. You can use a smart pointer instead of it. But before using a smart pointer be clear of the ownership issue.
BrainlessLabs.com
27-Nov-11 23:44pm
View
The main thing about writing an SRS is to understand what the customer wants. If this project is for marks or grades then you have to understand what the teachers want. They may want to see that you have learned certain techniques in class, etc. If this is for your own satisfaction then you have to think why you want a new compiler.
1. You want to learn compiler writing? Then you can go through any book and do the assignments, that will be better than writing your own srs at this stage.
2. If you want to have a improved compiler, then first go through the downfalls of other compilers you want to improve on.
BrainlessLabs.com
25-Nov-11 12:19pm
View
I second this. Another thing is as Stefan told, preallocate the vector with the amount of space it needs. You never know how the vector grows itself. So allocate the size for the stack and try again. You have to know that the total vector holds about:
Total value your vector stores = 16000000*32 (int = 32 bit) = 512000000 bits = 64,000,000 bytes (Thks enhzflep) or 488.28125 MB
If its a recursive algorithm you can imagine the load itself.
BrainlessLabs.com
24-Nov-11 13:50pm
View
Can you please tell what Client server and what errors?
BrainlessLabs.com
24-Nov-11 13:48pm
View
At what point are you confused? Can you point out?
BrainlessLabs.com
24-Nov-11 13:47pm
View
I agree with Richard.
BrainlessLabs.com
24-Nov-11 13:44pm
View
Well object does nothing in calling a function. Its the compilers job. Compiler puts your function at certain location, and he know where to find it. The location of member function is fixed through out the program no matter where a object is created. When your write p->foo(). Your compiler goes and searches its symbol table to find out the function matching the type SampleCode::foo(SampleCode* const this). You can think it as the compiler rewrites your code as . Then it replaces the call something like
p->foo() <=> SampleCode::foo(p)
BrainlessLabs.com
23-Nov-11 11:26am
View
Do you want to know how to compare two programs and find out if they are same?
BrainlessLabs.com
18-Nov-11 12:56pm
View
I agree with Richard. Let us know if you get some problem with it.
BrainlessLabs.com
18-Nov-11 0:41am
View
Well thanks for your suggestions. I have 2 parts to the solution, one is the first part and then the assembly. If some one doesn't want he can omit looking at it. I gave it here so if some one again asks this question I need not write it again.
There is no guarantee that he know assembly, but there is chance. I learned ASM, C first and then C++. Knowing in details help. I gave it cause I learned it that way.
Beside Solution 1 and Solution 2 answer the question that was asked in simpler way, so I didn't want to answer the same thing just for sake of earning points. I appended the answer with more details. So now a beginner can understand (Just looking at 1 and 2 solution) and also some one who know assembly can also understand.
BrainlessLabs.com
17-Nov-11 14:00pm
View
Ya I guess so. Next time I will be more careful.
Show More