G
grinder
first off, i am an extreme newbie to C. i am an undergrad research
assistant and i have been shifted to a project that involves building a
fairly involved c program. The part that i am stuck on now is as
follows:
- i am trying to write code that will take any number of text inputs
(names of other text files) and put them into a file line-by-line at
the users request. meaning, i want the user to be able to type the
strings and enter them subsequently into a file. this file will then be
read line-by-line by another program which will intern use the lines as
references to data files.
so, i am trying to figure out a way to prompt the user to enter the
text(s) one after another and have them store in a file.
i have been building the bigger program for a while now and really want
to move off of the software and on to the hardware, and i cant do taht
until i finish this program in its entirety.
i have tried various method to write to a file line-by-line but cant
get it to work the way i have described above.
if anyone can help me i will owe you the world.
assistant and i have been shifted to a project that involves building a
fairly involved c program. The part that i am stuck on now is as
follows:
- i am trying to write code that will take any number of text inputs
(names of other text files) and put them into a file line-by-line at
the users request. meaning, i want the user to be able to type the
strings and enter them subsequently into a file. this file will then be
read line-by-line by another program which will intern use the lines as
references to data files.
so, i am trying to figure out a way to prompt the user to enter the
text(s) one after another and have them store in a file.
i have been building the bigger program for a while now and really want
to move off of the software and on to the hardware, and i cant do taht
until i finish this program in its entirety.
i have tried various method to write to a file line-by-line but cant
get it to work the way i have described above.
if anyone can help me i will owe you the world.