Trad
New Member
Posts: 1,122
|
Post by Trad on Jun 15, 2003 12:46:53 GMT -5
cout, prints text to the console screen,
'cout <<'
is the same as
printf()
cout << "Hi"; printf("Hi");
do the same thing.
|
|
Ro0t
New Member
bla bla
Posts: 50
|
Post by Ro0t on Jun 15, 2003 12:51:30 GMT -5
cout << "Test";
Doesn't want to work 4 me
|
|
z00ey
New Member
return is the movement of sense..
Posts: 2,309
|
Post by z00ey on Jun 15, 2003 12:54:19 GMT -5
cout is for output in c++.. ..but it is not supported in c.
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on Jun 15, 2003 12:55:31 GMT -5
you need #include <iostream> at the top of your file.
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on Jun 15, 2003 12:57:51 GMT -5
but z00ey he is compiling under Dev-C++, a C++ compiler, that will allow cout << "Test";
|
|
z00ey
New Member
return is the movement of sense..
Posts: 2,309
|
Post by z00ey on Jun 15, 2003 13:05:07 GMT -5
oh , yes, right then
i was confused cause i just read in other thread that he wanted to stay with c, lol.. ..all this c and c++ is getting confusing a bit, lol ;D
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on Jun 15, 2003 13:54:40 GMT -5
Yeah, lets just stick with one or the other.
|
|
|
Post by Freak on Jun 18, 2003 7:50:29 GMT -5
could easily add a few things to this code to make it remove certain parts of a webpage. such as for a webchat room joiner program that took the crap such as banners out? ;D
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on Jun 18, 2003 7:58:29 GMT -5
Hmmm, yeah but it would be longer, cos you would have to save, edit and display the html instead of just putting it on a screen
or could you just not add some, thats a VERY good idea, i will deffinatly make a note of that.
|
|