I have source code including a data type FILE*. But my compiler won work with it and I don't know where to find info about it. Is it in a library or is it special for some compilers?
Type: Posts; User: sanu
I have source code including a data type FILE*. But my compiler won work with it and I don't know where to find info about it. Is it in a library or is it special for some compilers?
thx guys and gals. I had to put in a counter which i increased every time i increased the size of the dynamic array.
What should i do to make this code return the size of my dynamic allocated array. it just says that its 4 bytes, but I want all of the array
floatarray = new float[7];
for (k=0;k<7;k++)...
What new size should I assign my array when using realloc if i have an array of floats and want to increase it by one cell.
which function returns the existence of the empty line?
if I have a file which i am using for indata, can i be told that the read an empty row? (ASCII)
I have files with data that I want to use as input. Now heres the problem. The input files are built like this:
1
2
1.1
2.2
I need to set the size of some arrays in the header file. Is it possible. The thing is that i'm programming SystemC, which is C++ with a twist, and i don't really know that much about C++ and headers.