Search found 3 matches
- Thu Jul 12, 2007 1:01 pm
- Forum: C++
- Topic: C++ string usage: compile error
- Replies: 4
- Views: 2994
- Wed Jul 11, 2007 9:56 pm
- Forum: C++
- Topic: C++ string usage: compile error
- Replies: 4
- Views: 2994
C++ string usage: compile error
Whenever I try to use std::string I always get compile error.
Here is the example:
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <cctype>
#include <stack>
using namespace std;
const int inf = 1000000000;
string num; //here it says Syntax error before ; token ...
Here is the example:
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <cctype>
#include <stack>
using namespace std;
const int inf = 1000000000;
string num; //here it says Syntax error before ; token ...
- Mon Jul 09, 2007 11:53 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10801 - Lift Hopping
- Replies: 56
- Views: 37295