Urho3D Wiki
Edit Page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
   
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
#include <iostream>
+
#include <iosteam>
   
 
class TestClass {
using namespace std;
 
 
class TestClass
 
{
 
 
public:
 
public:
 
int testVar_;
 
int testVar_;
Line 14: Line 11:
 
int main() // "void main" is, and was always, wrong
 
int main() // "void main" is, and was always, wrong
 
{
 
{
 
std::cout<<"C++ code!"<<std::endl;
int success;
 
cout<<"Enter return success number, please."<<endl;
+
return 0;
cin>>success;
 
cout<<"C++ code!"<<endl;
 
return success;
 
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
Please note that all contributions to the Urho3D Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)