Archived

This topic is now archived and is closed to further replies.

Drevay

Getting the hang of C++......so far

Recommended Posts

Drevay    100
Yah, i''ve covered variables, the basic functions of constants, communication with the console (cout, cin etc...), all types of variables (float, int, char, etc..), and i''m soon going on to lesson 2 :D So I thought up a little joke Here it is :D #include <thisisajoke.h> { int run; int giveup; int attack; if (mugged = true) { cout<

Share this post


Link to post
Share on other sites
Matsen    132
I think your punch lines disappeared.

Try these tags when posting code
[_code_] few lines of code [_/code_]
[_source_] many lines of code [_/source_]

but without the underscores.

quote:
yah, it''s not THAT funny


I agree Try the Lounge.

Regards Mats

Share this post


Link to post
Share on other sites
Sneftel    1788
It does. It also shows, however, that you confuse the assignment (=) and equality (==) operators. This is a common mistake of beginning programmers, and one that leads to hours of fruitless debugging. Something to keep in mind.


But... but that''s what HITLER would say!!

Share this post


Link to post
Share on other sites