Program MeNampilkan String- Pemrograman C++

Program Menampilkan String:
Berikut ini contoh program C++ untuk menampilkan string ke layar monitor :


#include
#include
main ( )
{
/* say hello to the world with handy */
printf("Hello World!\n");
getch();
return(0);

}

Jika source code di atas di-compile dan dieksekusi, akan menghasilkan tampilan seperti berikut ini pada layar monitor:
Hello World!




tag=Contoh Program C

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment