Program is to read the characters from keyboard, C/C++ Programming

Program is to read the characters from keyboard:

Program is to read the characters from keyboard one by one stored in different files as upper constants, lower constants, others.txt

void main()

                  {

   clrscr();

   fstream fin1,fin2,fin3;

   fin1.open("lower.txt",ios::out);

   fin2.open("upper.txt",ios::out);

   fin3.open("others.txt",ios::out);

   char ch;

   cout<<" press enter to quit ";

  while ((ch=getche()) !=(char)13)

                {

                if (islower(ch))

                 fin1<

                else if(isupper(ch))

                 fin2<

                else

                 fin3<

                 }

   }

 

 

Posted Date: 10/19/2012 5:33:59 AM | Location : United States







Related Discussions:- Program is to read the characters from keyboard, Assignment Help, Ask Question on Program is to read the characters from keyboard, Get Answer, Expert's Help, Program is to read the characters from keyboard Discussions

Write discussion on Program is to read the characters from keyboard
Your posts are moderated
Related Questions
A: Memory that has no pointer pointing to it and there is no method to delete or reuse this memory(object), it causes Memory leak. { Base *b = new base(); } Out of this

#C Why don''t online compilers support the header file? What can I do to resolve this? PS. I have tried , does''nt work either. Thannk in advance.


- Create a program that uses at least two functions that will be called from your main. This program is a number game program that asks for parts of your phone and after manipulati

Write a C++ program that reads from keyboard 3 integers, with proper input prompt, and then displays the maximum sum of any pair of numbers from these three. If the 3 numbers are 5

What does it mean to declare a 1.      member function as a virtual A: (a) C++ virtual function is member function of any class, whose functionality may be over- ridden in

#include #include #include void* memorycopy (void *des, const void *src, size_t count) {   size_t n = (count + 7) / 8;   char* destination = (char *) des;   char* source =

C program to print R diagonal triangle: #define rows 3 #define cols 3 void main() {                 int i=0,j=0;                 int arr[rows][cols];

#padovan string   program in java // aakash , suraj , prem sasi kumar kamaraj college program 1 : package test.padovanstring; public class PadovanString {

Define the Conditional Operator in c language? The Simple conditional operator can be carried out with the conditional operators (? And :). An expression that makes use of the