Search:

Type: Posts; User: sanu

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    936

    FILE*: what and where is this

    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?
  2. Thread: sizeof on arrays

    by sanu
    Replies
    10
    Views
    2,400

    thx guys and gals. I had to put in a counter...

    thx guys and gals. I had to put in a counter which i increased every time i increased the size of the dynamic array.
  3. Thread: sizeof on arrays

    by sanu
    Replies
    10
    Views
    2,400

    sizeof on arrays

    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++)...
  4. Replies
    8
    Views
    1,904

    establishing new size using realloc

    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.
  5. which function returns the existence of the empty...

    which function returns the existence of the empty line?
  6. Replies
    1
    Views
    752

    reading blank rows in files

    if I have a file which i am using for indata, can i be told that the read an empty row? (ASCII)
  7. reading input files with different types of data

    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
  8. can i use file input to set array sizes in headers?

    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.
Results 1 to 8 of 8