what compilers are you using???...coz when i type in
#include <string>
using namespace std;
........
........
........
string message;
there are still errors....:-(
what compilers are you using???...coz when i type in
#include <string>
using namespace std;
........
........
........
string message;
there are still errors....:-(
This thread was moved from variable type string to undo thread necromancy.
Post the smallest and simplest program that demonstrates those errors. Post also the exact error messages that were reported.Originally Posted by welou~*
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
What errors?
What is the full code producing errors? For example - I do not see int main()
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
My guess is the OP is using some ancient fossil like TurboC++ (which pre dates things like namespaces, the Roman Empire etc etc).
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.