Total members 11894 |It is currently Fri Nov 22, 2024 12:55 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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




Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time

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..


Author:
Moderator
User avatar Posts: 47
Have thanks: 1 time
Post new topic Reply to topic  [ 2 posts ] 

  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     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com