Thanks.
:) :) :) :) :) :) :)...
User Profile
Collapse
-
I have been recommended to read a lot of C++ books, I think these are good:
Scott Meyers "Effective C++"
"More Effective C++"
Andrei Alexandrescu "Modern C++ Design"Leave a comment:
-
help?
how should you solve this problem?
Code:// from a header file #ifndef LONG_AND_UNIQUE_NAME #define LONG_AND_UNIQUE_NAME namespace name_of_package { class A { public: A(B *); ... private: B *p_b; } class B { ... private: A *p_a; } } -
-
Hard code refers to the software development practice of embedding output or configuration data directly into the source code of a program, or fixed formatting of the data, instead of obtaining that data from external sources or generating data or formatting in the program itself with the given input.
Any help?...Leave a comment:
-
This should be
...Code:if (conditional) // only this statement is done // this one is always done, its outside the scopeLeave a comment:
-
Correct me if I'm wrong, but the destructor isn't virtual by default,.. you have to specify virtual before the destructor....Leave a comment:
-
The volatile-keyword is used on variables that may be modified simultaneously by other threads, (or communication).
This force the compiler to fetch them fresh each time, instead of caching them in registers, or remove it in the optimizing-phase.Leave a comment:
-
I recommend Opengl. It's free and can be used with different OS.Leave a comment:
-
-
-
Hi Vasuki
If you speak hindi, I suggest:
Bas Itna Sa Khawab Hai...Leave a comment:
-
-
Write a class, and overload the operators ++ (prefix and infix) and+= (or buy a good book and read), look at the code and figure it out....Leave a comment:
-
Most of the computers (more than 99%) are small, cheap embedded computers with limited memory and speed.
In the case of ++ with a primitive type, it does not make a big difference, but you should use it for convention. (someday you will do ++ for your own class).
Just imagine you have a class that stores a lot of information, say 1MB, create a copy of this will take much longer time than just sending a reference....Leave a comment:
-
-
If the if-statement is true, you will be stucked forever - you call the same method with the same parameters again, again... (if you dont modify any of them - but you dont show much code)
Post the whole method to get better help,... and perhaps the problem is not in the method, it might be where you call the method.Leave a comment:
-
Listen to incoming traffic
Hi
I would like to do a little application that shows the information that is sent over the internet between two programs (server and client). The client is .exe, but I know the IP and ports that is used.
Any recommendation how to start? (where should I start and look in the API)
Is it even possible using java? or should i use C++? -
-
Hi,
I just took a quick glance at your code, but the problem seems to be in this row:
In C++ you can“t write "+/-", replace the line with the following two linesCode:dRoot = (- dValueb +/- sqrt(pow(dValueb, 2) - 4 * dValuea * dValuec))/ 2 * dValuea;
...Code:dRoot1 = (- dValueb + sqrt(pow(dValueb, 2) - 4 * dValuea * dValuec))/ 2 * dValuea; dRoot2 = (- dValueb - sqrt(pow(dValueb, 2) - 4 * dValuea
Leave a comment:
No activity results to display
Show More
Leave a comment: