typedef compilation error
Whenever I try to build my program, (code snip here):
1 2 3 4
|
using namespace std;
typedef vector<int> bignum;
|
I get this:
error: expected initializer before '<' token.
Does anyone know why this is and what I can do to fix it??
Did you #include <vector>?
yep, got it to work now, thanks :)
cool~
Topic archived. No new replies allowed.