Difference between revisions of "User:Ciferkey"
Jump to navigation
Jump to search
(New page: //Self Conscience Code #include <iostream> using namespace std; bool is_running(){ return true; } int main(){ if( is_running() ) cout << "I am running"; else ...) |
|||
Line 1: | Line 1: | ||
+ | <source lang=cpp> | ||
//Self Conscience Code | //Self Conscience Code | ||
#include <iostream> | #include <iostream> | ||
Line 17: | Line 18: | ||
return 0; | return 0; | ||
} | } | ||
+ | </source> |
Revision as of 16:22, 20 April 2009
//Self Conscience Code
#include <iostream>
using namespace std;
bool is_running(){
return true;
}
int main(){
if( is_running() )
cout << "I am running";
else
cout << "I am not running";
char t = getchar();
return 0;
}