Re: [Dev-C++] passing the content of a string to a variable from
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: jose i. c. <ji...@fr...> - 2003-04-11 02:26:04
|
Yes I was... Thanks Ioannis. thanks. > > Per, > > > > > // Need to return a pointer to text, not just a single character. > > > char* FileContent(char *file) > > > > this worked! Thanks! I had the code correct, but I was > > returning a string > > instead of a string pointer. > > > > For accuracy you were returning a char. |