Console INPUT/OUTPUT
  Console INPUT/OUTPUT - Hosted by Hostway
2D Graphics
Web Design & Development
Business Applications
Business Development
Desktop Programming
Operating Systems
Video Editing
Miscellaneous
Newsletter
User Login
  • Username
  • Password
Stats
  • Tutorials: 21,927
  • Categories: 572

C and Cpp Tutorials : Console INPUT/OUTPUT

To read some text from the command line you use the Console.Read or Console.ReadLine method implemented in the .net framework. The difference between them is that the Console.Read method reads the next character from the command line, whereas Console.ReadLine reads the next line of characters instead of just a simple character. The Console.Read method returns an integer and should be cast to a char during the input. There is also a special function called Console.ReadKey( Boolean display) which obtains the key that is pressed on the keyboard and if the display parameter is false it depicts it.  Console INPUT/OUTPUT  tutorial
    View Tutorial

Detailed Information

     Tutorial: Console INPUT/OUTPUT
     Date Listed: 2008-07-31
     Submitted By: Shiggigy
     Total Hits: 601
     Rating Tutorial Rating 2.48Tutorial Rating 2.48Tutorial Rating 2.48Tutorial Rating 2.48Tutorial Rating 2.48 (21 votes)

    Discuss Tutorial
    Comment On Tutorial
    View Tutorial
    Report Broken Link






© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT