Thread: Help me in c
View Single Post
  #2  
Old 10th November 2009, 07:14
pinguinito pinguinito is offline
Member
 
Join Date: Apr 2009
Posts: 87
Thanks: 21
Thanked 1 Time in 1 Post
Lightbulb 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
Reply With Quote