开始:

c:

#include    <errno.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>


int
main ( int argc, char *argv[] )
{
printf ("\nProgram %s\n\n", argv[0] );

return EXIT_SUCCESS;
} /* ---------- end of function main ---------- */


c++:

#include        <cstdlib>                                                    
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>

using namespace std;


int
main ( int argc, char *argv[] )
{
cout << "\nProgram " << argv[0] << endl << endl;

return EXIT_SUCCESS;
} // ---------- end of function main ----------

 

visual studio 

#include <iostream>
using namespace std;

int main()
{
cout<<"hello world!"<endl;
return 0;
}



 

相关文章:

  • 2022-01-11
  • 2021-12-21
  • 2022-12-23
  • 2021-10-22
  • 2021-07-27
  • 2021-08-07
  • 2022-01-14
  • 2022-12-23
猜你喜欢
  • 2021-05-07
  • 2021-10-08
  • 2021-11-29
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
  • 2021-04-07
相关资源
相似解决方案