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

Assignment Help:

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<

                 }

   }

 

 


Related Discussions:- Program is to read the characters from keyboard

Area under curve, Write a program to find the area under the curve y = f(x)...

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.   #include float start_poin

Standard template library , The STL details are described in many places on...

The STL details are described in many places online (see the CS377 webpage for some links), and there's a very quick introduction in Section A.14. Here are just a few additional no

Loop, wap to count the numof string present in a word

wap to count the numof string present in a word

C program to demonstrate pointer to string, C program to demonstrate Pointe...

C program to demonstrate Pointer to string: void main() {                 int a;                 char str[]="hello how are you?",*ptr_str;                 ptr_str=&

Car rental project, I need a project on car rental system using c programmi...

I need a project on car rental system using c programming only of college level

Can inline functions contain a recursion?, A: No. Syntax wise it is permitt...

A: No. Syntax wise it is permitted. But then the function is no longer Inline. Since the compiler will never know how deep the recursion is at compilation time.

Write a c program as text layout, Your task in this project is to write a C...

Your task in this project is to write a C program named layout.c which does text layout. This is a staged project, complete the stages in order. The maximum mark if you nish each

Recursion, Given a string, print all possible palindromic partitions using ...

Given a string, print all possible palindromic partitions using recursion

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd