C "hello.c"
#include <stdio.h> /* this is C */
main()
{
printf("Hello, Word!\n");
return 0;
}
// Now in C++.
#include <iostream>
int
main()
{
std:: cout<<"!Bienvenido a C++!\n";
return 0;
}
I hope this help Editor "vi" then gcc for C g++ for C++ for compiler
|