Switch to full style
For C/C++ coders discussions and solutions
Post a reply

c program - command line prompt - need help

Sun Mar 01, 2009 11:54 pm

Hello guys,

i urgently need your help :cray:

I have to write a C program that reads a series of strings and prints only those that end with the letters “ed.” To enter the string i should use the command line prompt and when i press the return key, the program should print the string if it ends in "ed" and prompt for another string if it doesn't.

My problem is that, even after reading from Dietel book and searching in internet, I didn't get how to use the command line prompt... :banghead:

Could you be so kind to give me some hints to start from? :beg:

Thanks in advance for your help,

Saphira



Re: c program - command line prompt - need help

Mon Mar 02, 2009 10:22 pm

when you compile your c code and it is running perfectly then obviously you see a comand promp window with the questions and the actions your code is asking to you to do so post to us your c code what you ve done so far and we ll help you to correct your mistakes ..
and read about the homework assingments that we wont do for you your homework..

Post a reply
  Related Posts  to : c program - command line prompt - need help
 program to run shell command line functions     -  
 read from command line     -  
 Command Line Parser Code Using C++     -  
 Command line chat (client and server)     -  
 How to implement Command Line Parser in C++ Code     -  
 Reading a File Line by Line in php     -  
 Line Translation 2D     -  
 Line Rotation 2D     -  
 Line Styles in java     -  
 DDA Line Drawing Algorithm     -