C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28629
Number of posts: 94611

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Converting Input to Output without using File.. Posted by freakylinux on 8 Sept 2006 at 1:55 PM
hi guys,

i have a problem in which i need to enter some text & then output the same one-word/line, without using Files...!!


Report
Re: Converting Input to Output without using File.. Posted by IDK on 9 Sept 2006 at 2:29 AM
: hi guys,
:
: i have a problem in which i need to enter some text & then output the same one-word/line, without using Files...!!
:
:
:

OK, here's some psuedo:
read to string
output string


LOL
Report
Re: Converting Input to Output without using File.. Posted by freakylinux on 10 Sept 2006 at 7:31 AM
wat if i have to enter a complete paragraph & then output the same??


" Using Windows is Like Using an AC:: As long As The Windows are Open, it Won't work for U "

Report
Re: Converting Input to Output without using File.. Posted by IDK on 10 Sept 2006 at 8:04 AM
: wat if i have to enter a complete paragraph & then output the same??
:
:
: " Using Windows is Like Using an AC:: As long As The Windows are Open, it Won't work for U "
:
:

The same.
Just make sure you allocate a big enough buffer for the string.

Happy coding wishes
the one and only
Niklas Ulvinge aka IDK

Report
Re: Converting Input to Output without using File.. Posted by freakylinux on 10 Sept 2006 at 12:43 PM
Thanx dude
" Using Windows is Like Using an AC:: As long As The Windows are Open, it Won't work for U "

Report
Re: Converting Input to Output without using File.. Posted by Lundin on 11 Sept 2006 at 4:58 AM
: Thanx dude
: " Using Windows is Like Using an AC:: As long As The Windows are Open, it Won't work for U "
:
:


Yep, really helpful pseudo code there. And it is also good to know that the buffer must be large enough to hold the data. Yay!
Report
Re: Converting Input to Output without using File.. Posted by IDK on 11 Sept 2006 at 8:42 AM
: : Thanx dude
: : " Using Windows is Like Using an AC:: As long As The Windows are Open, it Won't work for U "
: :
: :
:
:
: Yep, really helpful pseudo code there. And it is also good to know that the buffer must be large enough to hold the data. Yay!
:

Yeah I know, but I told him what he wanted to know.

And it seems to work for him now.

ROFL



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.