#1  
Old 7th November 2009, 11:59
Abigail Abigail is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?
__________________
webcam

Last edited by Abigail; 11th November 2009 at 09:53.
Reply With Quote
Sponsored Links
  #2  
Old 10th November 2009, 06: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
  #3  
Old 10th December 2009, 02:22
vinopavit vinopavit is offline
Junior Member
 
Join Date: Dec 2009
Location: Chennai
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vinopavit Send a message via Skype™ to vinopavit
Default If u find the answer say me

I think it is not possible to print without printf statement
Reply With Quote
  #4  
Old 14th December 2009, 17:28
bfasula bfasula is offline
Junior Member
 
Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

#include <stdio.h>
main()
{
putchar('h');
putchar('e');
putchar('l');
putchar('l');
putchar('o');
putchar('\n');
}
~
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.