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?!

17th Mar 2017, 4:38 PM
Huda Zaher
Huda Zaher - avatar
3 odpowiedzi
+ 14
void main() is slowly being deprecated. Use int main().
18th Mar 2017, 8:43 AM
Hatsy Rei
Hatsy Rei - avatar
+ 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.
17th Mar 2017, 4:47 PM
Tamra
Tamra - avatar
0
it's acceptable but not standard. Some older compilers are OK with it but some may give warnings.
17th Mar 2017, 5:40 PM
hdo
hdo - avatar