I am new to programming and am lost 
Author Message
 I am new to programming and am lost

I am new to programming and am lost. I have read a couple of
books on 'C' but I need help in putting the pieces together.

I need help in writing a simple C progam which reads 600 text
files, all with unique file names - file1.txt, file2.txt,
file3.txt.....
Every file has 10 fields but I only want to write four of them to
a disk file.
I need to read every file and write the data as a record in a
file called Cuslist.
So every text file I read will become a record in a file.

Would someone help me write the code for my very first 'C'
program. It may sound too simple but for a person
writing his very first program, it is not easy.

I will appreciate your help.

Peter Effiong



Sun, 31 May 1998 03:00:00 GMT  
 I am new to programming and am lost

Quote:
>I am new to programming and am lost. I have read a couple of
>books on 'C' but I need help in putting the pieces together.
>I need help in writing a simple C progam which reads 600 text
>files, all with unique file names - file1.txt, file2.txt,
>file3.txt.....
>Every file has 10 fields but I only want to write four of them to
>a disk file.
>I need to read every file and write the data as a record in a
>file called Cuslist.
>So every text file I read will become a record in a file.

This sounds like doing someones homework.
Have you ever looked into AWK ?

It's  a too l to work with text files.
UNIX and DOS versions anywhere.
Erik



Wed, 03 Jun 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. I am New to MFC : program structure question

2. HELP with C, I am losing it fast....

3. I am totally lost today?

4. I am totally lost today?

5. I am puzzled: __nogc new = LNK2001

6. Am I creating new threads or ultra waste???

7. I am a new comer.

8. PLEASE HELP: I AM NEW TO DEBUGGER (Turbo Debugger 3.0)

9. I am new!

10. Help, I am new to cprograming ...

11. I am new!

12. I am looking to build a team of computer professionals in Northern New Jersey or NYC

 

 
Powered by phpBB® Forum Software