... Are you wanting the performance-friendly solution or the quick-n-dirty solution? Performance-friendly is to precalculate exactly how much RAM you need and...
... Or wxWidgets, which has a GUI designer integrated into the wxDev C++ compiler suite. I recommend any of those. That way you aren't necessarily tied to a ...
Hi Friends I know following topics in C - language array, pointer,function, data structure,graphics and basics of C++ classes, inheritance, polymorphism and...
Hi All, Manny languages like C++ provides a way to generate random numbers. Like C++ provides a rand(); function to do this. But (it might be silly to ask) the...
Hi All, While dealing with functions in C++ . Generally, the C++ convention is the call-by-value. An exception is where arrays are passed as arguments, Arrays...
... As far as I know, InstallShield is not included with Visual Studio. And InstallShield is a terrible installer technology. You are better off making an...
... Functions like srand() and rand() are almost always PRNGs: http://en.wikipedia.org/wiki/Pseudorandom_number_generator These only generate sequences that...
... Templates can be passed by value. Using std::vector<> or Block<> would do the trick. However, depending on use, you may also consider doing a 'const &', ...
... You can also cheat by enclosing the array in a structure, and passing the structure by value. Eg. (sorry, in C) instead of: void processValues(int v[]); ...
... No, they aren't. It's possible to pass by reference in C++ by using the reference operator. It is hence possible to pass an array by reference, but only...
Hey all so yes basically the subject title gives it away really. Im just creating a multidimensional array made up of my own particle structure using visual...
You have many options Particle *p = createParticle(); So to access to X and Y element you can access with index = y*Width + x Or you can use an unitary array...
Can somebody explain me why nesting functions are not allowed in C? Regrads Sumant Now, send attachments up to 25MB with Yahoo! India Mail. Learn how....
... Can you explain why that level of language abstraction would be needed or useful in writing OS kernals? If not, then I think you have your answer. But when...
because the C philosophy maybe... but you can use a class hierarchy, or multiple source code files, and declare the required and general functions like...
Here is a nice tutorial in pdf format from where you can easily learn it . It is downloadable pdf file so that you can downlaod it on your computer ...
Hi All, I am very much excited on joining this group. This is my first query (hopes will over load the group in future :)) Question: long i = 2000L; why 'L'...
... It isn't in that instance. ... The conversion is done before the assignment. ... Think about leaving off L in... long secs_per_day = 24 * 60 * 60L; ...on a...