Friday, October 19, 2007

CTrader

MinGW ("Minimalistic GNU for Windows") is a command-line C/C++ compiler
- Install this worked exactly mentioned at this url http://csjava.occ.cccd.edu/~gilberts/mingw/
- http://gd.tuwien.ac.at/gnu/mingw/?fisel=mM -- installed MinGW-5.0.0.exe from this url
- path was set by itself after install else do it : PATH=C:\MinGW\bin;

modifications to code
a) removed last line str SUB from files
b) main() return int instead void , changed exit(0) to return 0; in main
c) add "int" to const MAXT = 1500;" in trdsim2.cpp
d) compilation: g++ examp1.cpp trdsim2.cpp -o a.exe

C++ tutorial

No comments: