That would be string type.
string adr;
cout << "Enter your address"<<endl;
cin >> adr;
cout <<"The address you typed is:"<< adr;
Goodluck.
Type: Posts; User: agilman
That would be string type.
string adr;
cout << "Enter your address"<<endl;
cin >> adr;
cout <<"The address you typed is:"<< adr;
Goodluck.
Hello,
I usually use dev-cpp on windows, then I simply hit "compiler & execute" and it generates .exe.
Now Im getting into linux stuff, and Im trying to use anjuta. I wrote a simple hello world...
Thanks swoopy!
Thats exactly what I was looking for!
C++ is not fun, its about as fun as ... well, I dont know... something thats not fun.
Try python, now thats fun!
Also try doing interesting projects, not ones that solv a boring problem that...
Howdy,
I have two ints:
int sizeX;
int sizeY;
I assign them values...
and then I want to make a multidimensional vector that size.
vector<vector<char > > maze;
That was a fun one :)
http://www.agilman.org/crap/code/line.zip
basically there are two cases when you want to print *...
when x or y =0 (first row and column) or when x=width or y=height...