User profile: DexterMorgan

User info
User name:DexterMorgan
History
Joined:
Number of posts:107
Latest posts:

Stroustrup's intro to programming doesn't seem to be theoretically driven. What am I looking for?
It cuts corners on what concepts?

Can I make global variables const in some functions?
Interesting solution MiiNiPaa. What did you mean by "encapsulation"? BTW, would this be legal: [cod...

Can I make global variables const in some functions?
Suppose I have some variables that are changed only in a couple of functions, but which need to be a...

How can I read and process data from a .txt file in c++ ?
[code]#include <string> #include <fstream> std::ifstream in("myfile.txt"); double input; while (i...

How to initialise Const global variables based on input?
If I understood your post right, I could define vars as consts, like the first way: [code] ... ... c...