Jump to content
Banner by ~ Kyoshi Frost Wolf

mega thread Last Poster Wins


Discord!

Recommended Posts

  On 2012-09-18 at 8:50 PM, 'Jalaton' said:

#include <iostream>

 

using mainspace std;

 

int main ()

{

cout << "Last Post" << endl;

 

return 0

}

 

#include <iostream>

 

using mainspace std;

 

int main( int argc, char** argv )

{

while( true )

{

if( !lastPost() ) cout << "Last Post" << endl;

}

 

return 0;

}

Link to comment
Share on other sites

  On 2012-09-19 at 3:11 PM, 'Gekoncze' said:

#include <iostream>

 

using mainspace std;

 

int main( int argc, char** argv )

{

while( true )

{

if( !lastPost() ) cout << "Last Post" << endl;

}

 

return 0;

}

 

Okay you beat me. I just learned about 'while' yesterday and I have no clue about some of that other stuff.


Legless

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Join the herd!

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...