User profile: Peter87

User info
User name:Peter87
Number of posts:8379
Latest posts:

Why am I getting this error
It's not in the code but the error message seems to suggest that you are including clockType.h from ...

deprecated conversion from string constant to 'char*'
The characters are stored somewhere in memory. When you assign a string literal to a pointer all tha...

deprecated conversion from string constant to 'char*'
You are not allowed to modify the string. That's why you should not use char*. Using const char* on ...

Example program from the textbook does not compile
[quote]16 10 C:\Dev-Cpp\Functions\beeptest.cpp [Error] ISO C++ forbids declaration of 'twobeep' with...

Cannot bind error while overloading operator
Non-const references can't bind to temporary objects. This should work:[code] friend ostream& opera...

This user does not accept Private Messages

User: Peter87

  • Public profile