How To Take Input From Keyboard In C++ - MeraForum Community.No 1 Pakistani Forum Community

MeraForum Community.No 1 Pakistani Forum Community

link| link| link| link| link| link| link| link| link| link| link| link| link | link | link | link | link | link | link | link | link | link | link | link | link | link | link | link | link | link | link | link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link| link|
MeraForum Community.No 1 Pakistani Forum Community » The World of Information » Computer and Information Technology » C++ » How To Take Input From Keyboard In C++
C++ All Programs of C++ Languages

Advertisement
 
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
(#1)
Old
Morash's Avatar
Morash Morash is offline
 


Posts: 17,781
My Photos: ()
Country:
Star Sign:
Join Date: Jul 2010
Location: ▌║█║▌│█│║▌║
Gender: Male
?? CLASS 2: How To Take Input From Keyboard In C++ - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   04-06-2014, 12:00 PM

A Simple Program Used For Taking Input From The Keyboard/User.









A Program Used For Taking Input From The Keyboard/User. I Have Declared Two Variables char And int Type Which Store The Value Entered By The User And Display It On Screen. For Input We Use cin>>variable_name; And For Output We Use cout<<"Output Message ";

char a[20]; Is Character Type Variable Which Stores 20 Characters

int b; Is Integer Type Variable Which Stores A Number

endl Is Used For End Of Line

\n Is Used For New Line







Output
















 





bE driveN wiTh puRpOse, Be r313n71355 in your alιgnмenт;
with excellence.
pAy n0 mInd to the ∂ιsιмραssισηε∂ เ๓ק๏tєภt ђคtєгร

.. нoolιgan

Last edited by Morash; 04-07-2014 at 11:18 PM.. Reason: Updated Title
Reply With Quote Share on facebook
Sponsored Links
 

Bookmarks

Tags
input, keyboard


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Job in Public Sector Org Job, Data Input Operator, Assistant, Junior Clerk, driver AYAZ Jobs & Career 3 07-30-2013 07:03 PM
~ChOcOLate KeyBoard~ ~Pr!nCe$s UrOoJ~ Pics And Images 13 03-25-2013 05:35 PM
Use of old input pc device AYAZ Pics And Images 9 12-02-2011 09:31 PM
All KeyBoard Shortcuts (¯*♥¤»ƙɧՄՏɧՅԾԾ«¤♥*¯) Computer and Information Technology 13 04-20-2011 06:21 PM
100 keyboard shortcut DI@ Computer and Information Technology 7 01-28-2011 11:34 AM


All times are GMT +5. The time now is 08:44 AM.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.

All the logos and copyrights are the property of their respective owners. All stuff found on this site is posted by members / users and displayed here as they are believed to be in the "public domain". If you are the rightful owner of any content posted here, and object to them being displayed, please contact us and it will be removed promptly.

Nav Item BG