Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » Well, Got banned on KoG, IGN, WGZ, etc. So I decided to come here.
Re: Well, Got banned on KoG, IGN, WGZ, etc. So I decided to come here. [message #230587 is a reply to message #230528] Wed, 15 November 2006 06:49 Go to previous messageGo to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma:
General (5 Stars)
bandie63 wrote on Wed, 15 November 2006 01:36

help-linux wrote on Tue, 14 November 2006 18:46

..



haha

#include <iostream.h>

int increment(int n);

int increment(int n)
{
if (n != n++)
n += 1;
return n;
}

int main()
{
int postcount, incrementedpostcount;

incrementedpostcount = increment(postcount);

cout << incrementedpostcount;

return 0;
}


Rocked Over



Your code would fail to compile because you used cout, but did not declare that you were 'using namespace std;' ^^


http://steamsignature.com/card/1/76561197975867233.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Music Collections
Next Topic: i need to talk to a mod please in private
Goto Forum:
  


Current Time: Tue Nov 26 18:14:17 MST 2024

Total time taken to generate the page: 0.00839 seconds