User: ghantauke

  • Public profile

User profile: ghantauke

User info
User name:ghantauke
History
Joined:
Number of posts:5
Latest posts:

Question about short-circuit evaluation in C++
Consider the following line of code. [code] if ( a || b || c ) //other bits don't matter [/code] M...

How to exit program immediately if an exception occurs (without executing the rest of the statements)
[code] try { cin >> foo; } catch ( exception& e ) { cerr << "Exception occured." << e.wha...

C++ regular expression
Hi, I am writing a program which takes as input, a sentence (string), and my program performs var...

Checking whether the input is of type int
Cubbi's answer was very clear. Thank you.

Checking whether the input is of type int
This is my code. [code] void exercise1() { int number_of_lines; // Initialising variable to store...

This user does not accept Private Messages