I just started programming in C and I'm having a problem with this excersise. Please reply if you have any suggested solutions.
N.B
The text file is attached.
I just started programming in C and I'm having a problem with this excersise. Please reply if you have any suggested solutions.
N.B
The text file is attached.
Welcome to the boards. If you haven't already done so then please take some time to familiarise yourself with the faq:
http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
Make sure you have a look at the the posting guidelines:
http://cboard.cprogramming.com/annou...ouncementid=51
Following the rules will ensure you get a prompt answer to your question.
Remember, too, that the board has a search facility, a link is at the top of your screen:
http://cboard.cprogramming.com/search.php
It will often get you a quicker answer to your questions than waiting for a response to one you have posted.
If you have any questions about this you may ask or you can contact one of our forum leaders:
http://cboard.cprogramming.com/showgroups.php
-----------------------------------------
If your program really is in C, it should probably go in the C sub-forum. As is noted in the homework announcement make sure you show some effort. For example, what are your thoughts on how to solve these problems? Have you started on any of them? What have you tried?
Not a good sign when there's an error on the first page:
There's a missing ".Code:fscanf(fptr,%19s %lf %39[^\n]”, fuel,&amount,description);
[edit] It seems like you have posted this question elsewhere: http://www.codeguru.com/forum/showthread.php?t=424250 [/edit]
Last edited by dwks; 05-24-2007 at 12:18 PM.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.