User profile: writetonsharma

User info
User name:writetonsharma
Name:Naveen Sharma
Location:Gurgaon, India
Statistical data
Number of posts:1443
Latest posts:

Need help with do-while/validation
let me do the if for you and you can do the same for do-while. [code]cin >> dowhileloop2; cout << "...

Questions about Error handling
I just said that the vector class is capable of throwing exceptions and other std library classes. I...

compiling with #define in multiple files
Yes, you can have as many defines as you want. so, file1.cpp #ifdef FOO1 file2.cpp #ifdef FOO2 ...

Questions about Error handling
yes, its capable of throwing. Exceptions are derived from std::exception class and they have a what(...

compiling with #define in multiple files
[quote]g++ [b]-DFOO[/b] file1.cpp file2.cpp file3.cpp -o file.o[/quote] this is going to define FOO...