i'm sorry if this sounds very n00bish..
i've recently begun c++ programming in linux.i'm using debian sarge (stable) and gcc 3.3.
the problem is that i cant use string variables in my program. whenever i declare a string variable with
string *variablename*
the compiler returns an error "variable string not defined"..
i've tried using both
#include <string> and
#include <string.h>
but none works..
help...
i've recently begun c++ programming in linux.i'm using debian sarge (stable) and gcc 3.3.
the problem is that i cant use string variables in my program. whenever i declare a string variable with
string *variablename*
the compiler returns an error "variable string not defined"..
i've tried using both
#include <string> and
#include <string.h>
but none works..
help...