![]() |
Help me in c
Hi Everyone,
Can you give me some good Example? This Example will print the Hello without using printf. It is possible. Can you help me? |
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 |
If u find the answer say me
I think it is not possible to print without printf statement :eek:
|
#include <stdio.h>
main() { putchar('h'); putchar('e'); putchar('l'); putchar('l'); putchar('o'); putchar('\n'); } ~ |
| All times are GMT +2. The time now is 02:04. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.