-6
有一些什麼guidlines改變INT主調用等功能於你的代碼,我被告知不要使用int main2(),int main3()等我也該如何聲明它們,以便編譯器調用它們並識別它們是否是
#include <iostream>
int main()
int main 2()
using namespace std;
int main()
code here ..... 1st function
int main2()
code here .... 2nd function
還是會
#include <iostream>
int anothername()
int seconddifferentname()
using namespace std;
int anothername()
code here ..... 1st function
int seconddifferentname()
code here .... 2nd function
你想知道如何命名除「主」本身之外的其他功能嗎? – 2012-04-27 06:20:50
是的cristian K我這樣做會很有幫助 – HK3008 2012-04-27 23:26:42