![]() |
C without main()!!!
Some days ago, I have started to think about " Is it possible to construct a C programmre without a main() func?"
Then think ing about it during somedays i have find out its solutions as Code: CPP
|
Re: C without main()!!!
I could not compile that in VC 6. It gave an error regarding unresolved external symbol _main.
|
Re: C without main()!!!
@Tango
Your code still has main. Anyways, if you still want to use macro then why not do simply this Code:
#define begin mainVC6 sucks. Use a better compiler. |
| All times are GMT +5.5. The time now is 22:00. |