0
How about: void main()
I usually use void main() in the computer c++, though it didn't really work here, it seems that it is only work when it is int main () , isn't this app like the actual c++ program but for cell phones?!
3 Answers
+ 14
void main() is slowly being deprecated. Use int main().
+ 11
I don't know... That should be valid. Maybe the compiler used on this site is more strict. Not sure which one it is, though.
0
it's acceptable but not standard. Some older compilers are OK with it but some may give warnings.