User profile: JLBorges

User info
User name:JLBorges
History
Joined:
Number of posts:9909
Latest posts:

Palindrome, no spaces
> Isn't stating that only for gcount enough? With [tt]std::istream::getline()[/tt], the terminating...

find substring & replace string
Yes. (Assuming that the type of [tt]prevLine[/tt] is [tt]std::string[/tt])

find substring & replace string
> This will not stop the debugger but it will send SIGSEGV signal > [code]sprintf(iStr, "%s", line.c...

Palindrome, no spaces
this is not allowed: [tt]return main();[/tt] see: http://en.cppreference.com/w/cpp/language/main_fun...

find substring & replace string
Enable C++11 : see: http://www.cplusplus.com/doc/tutorial/introduction/codeblocks/ In addition to [b...