>well it needs to be made in a combination of C and c++ really
Why? Unless you're familiar with C, the only possible result of trying to mix the two is a lot of compilation and run-time errors.
>void main()
This is neither C nor C++. main always returns int.
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Offline 11,807 posts
since Sep 2004