did you use void main()? that now gets CE or RE, for the new server use int main(){ return 0; } for C++
songlj wrote: |
thx for ur reply but actually i did use int main() {...return 0;} and still got CE i'm now confused |
I've got some compilations errors too, but I managed to discover where. For example, this code gives CE (in C++):
Code: |
struct XXX { static const int YYY = 10; }; |
Instead, you have to do:
Code: |
struct XXX { static const int YYY; }; const int XXX::YYY = 10; |
Hope that helps.
沒有留言:
張貼留言