+ 3
Can we change the name of main function to any other name ..like start() ,begin() ? Is it poosible ?
7 Respostas
+ 5
you would have to write an equivalent code to the method because it a predefined method
+ 2
How about this?
#define start() main()
start() //Will be replaced by main after preprocessing...
{
//Code Here...
}
+ 2
@Martin Taylor
Mine is just a cheap trick to make both the user and the compiler satisfied. 😅
Its tried and tested...
+ 1
If your compiler supports it, you can