Search:

Type: Posts; User: Duck-billed Pla

Search: Search took 0.00 seconds.

  1. Its useful when you don't know for sure what type...

    Its useful when you don't know for sure what type of data that pointer will be pointing to. For example, the fwrite function takes a void* argument so you will be able to write anything to the file:...
  2. Replies
    1
    Views
    1,100

    you might want to use the function member...

    you might want to use the function member function 'get(char *, int)', (or since you seem to be inputting a single character at a time, 'get(char &ch)') to read in data.



    while(!cfile.eof())
    {...
  3. Replies
    5
    Views
    1,264

    lol

    lol
  4. Replies
    1
    Views
    1,245

    SOME_TYPE *myDynamicArray; int t; . . ....

    SOME_TYPE *myDynamicArray;
    int t;
    .
    .
    .
    myDynamicArray = new SOME_TYPE[t];
    .
    .
    .
    .
  5. Replies
    2
    Views
    808

    make sure you have "i.h" #include-d in your...

    make sure you have "i.h" #include-d in your "2.cpp"
  6. Replies
    2
    Views
    921

    hint: use an array of long's, 256 elements...

    hint: use an array of long's, 256 elements long...



    long t[256] = {0};
    int ch;
    .
    .
    .
    t[ch]++;
Results 1 to 6 of 6