Re: Help with newb's project
From: Vladimir Kadychevski (lutin511_at_altern.org)
Date: 10/24/04
- Next message: Artie Gold: "Re: simple question??"
- Previous message: sj: "simple question??"
- In reply to: The_Kingpin: "Help with newb's project"
- Next in thread: Malcolm: "Re: Help with newb's project"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 24 Oct 2004 00:58:59 +0200
On Sat, 23 Oct 2004 18:33:50 -0400
"The_Kingpin" <the_kingpin_@hotmail.com> wrote:
hi there
i think it will be better for you to take a good C - programming book and try doing things by yourself. I don't think it would be very difficult for you to write this program. But if you want to become a programmer you have to learn how to find solutions by yourself ;) This is enen more true when the program to write is a part of your homework.
for a manual i think K&R is not a bad choice (have a look there is a thread in this group about the subject)
BTW i don't think comp.lang.c is here to do you your homework ;)
i think other people in this group will agree with my point of view ;)
try doing your exercise (write some algorithms and stuff) and if there is something you don't understand give me a sign :)
Vladimir
PS: The only advice i can give you at the moment is to start thinking by yourself :-) and _understand_ what's the purpose of each line of code you are writing.
> Hi all,
>
> I'm new to C programming and looking for some help. I have a homework
> project to do
> and could use every tips, advises, code sample and references I can get.
>
> Here's what I need to do. I have a file named books.txt that contains all
> the informations
> on the books. Each book is a struc containing 6 fields written on
> separated line in the
> folder. I need to use the fgetc command to read the info of this file.
>
> The program must create 2 alphabetical order sorted by book's subject and
> for a
> same subject, the other info must be grouped by autor's name.
>
> The second list must be created sorted in decreasing order of the book's
> release date, and
> for each year, the info must be grouped by subject.
>
> Nos these two lists must also be created in another file named
> booksort.txt. Each autor's
> first and last name must be uniform (all lowercase except for the first
> character). Also,
> if a first name contains only 1 character, a '.' must follow (ie. Smith
> Marc L.). If a
> non-character is found ('-', ',', '.', etc.), we must replace it by a "/"
> and add the
> correct number of spaces (ie. Marc*Smith is now Marc / Smith)
>
> Finaly, we must change the date's format from the current file (m/d/yyyy)
> to (yyyy/mm/dd)
>
>
> Looks like a lot of job to me so as I said, I'm tking anything that can
> help me.
> Thanks for your time and for helping a newb finding his way !
>
> Frank
>
-- Un*x is Sexy: who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep
- Next message: Artie Gold: "Re: simple question??"
- Previous message: sj: "simple question??"
- In reply to: The_Kingpin: "Help with newb's project"
- Next in thread: Malcolm: "Re: Help with newb's project"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|