DaniWeb Forum Index
>
Search Forums
Search Results
•
•
•
•
Showing results 1 to 1 of 1
Search took
0.01
seconds.
Search:
Posts Made By:
brown_ma
Save these search results for 24 hours
Forum:
C
Apr 13th, 2006
Replies:
2
Read in a string from a text file
Views:
12,229
Posted By
brown_ma
Re: Read in a string from a text file
void read_file(char string[60])
{
FILE *fp;
char filename[20];
printf("File to open: \n", &filename );
gets(filename);
fp = fopen(filename, "r"); /* open file for input */
if...
Showing results 1 to 1 of 1
Latest Posts
Today's Posts
All Forums
Unanswered Threads
All Forums
Related Forum Features
DaniWeb News Stories
DaniWeb Code Snippets
DaniWeb Tutorials
DaniWeb Product Reviews
DaniWeb White Papers
Forum Search
About Us
|
Contact Us
|
Advertise
|
DaniWeb
|
Acceptable Use Policy
|
©2003 - 2009 DaniWeb® LLC