source:
orxonox.OLD/orxonox/trunk/doc/program_examples/c++/orxonox.cc
@
2015
| Last change on this file since 2015 was 1803, checked in by patrick, 22 years ago | |
|---|---|
| File size: 340 bytes | |
| Line | |
|---|---|
| 1 | #include "orxonox.h" |
| 2 | |
| 3 | #include <iostream> |
| 4 | #include <cstdio> |
| 5 | |
| 6 | using namespace std; |
| 7 | |
| 8 | |
| 9 | Orxonox::Orxonox() { int x = 1; } |
| 10 | Orxonox::~Orxonox() { int x = 1; } |
| 11 | |
| 12 | |
| 13 | int Orxonox::getInfo() { } |
| 14 | int Orxonox::setInfo() { int z = 1; } |
| 15 | |
| 16 | |
| 17 | |
| 18 | int main( int argc, char** argv ) { |
| 19 | |
| 20 | Orxonox orx; |
| 21 | orx.getInfo(); |
| 22 | |
| 23 | cout << "test" << endl; |
| 24 | |
| 25 | |
| 26 | return 0; |
| 27 | } |
Note: See TracBrowser
for help on using the repository browser.










