Search:

Type: Posts; User: readerwhiz

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,552

    yep, here's the rasterfile initialization: ...

    yep, here's the rasterfile initialization:




    hader.ras_magic=059a66a95;
    header.ras_width=COL; //private member set by member
    ...
  2. Replies
    2
    Views
    1,552

    reinterpret_cast --- Help Please

    I am trying to open a .ras image in GIMP that was created in my program. I am able to open the file and view it in Photoshop as a .raw file, but the teacher requires that the grader/teacher view the...
  3. Replies
    3
    Views
    1,691

    Thanks Salem and Novacain! I got it working with...

    Thanks Salem and Novacain! I got it working with the help of both of you!

    I also took your advice novacain and declared the rows and columns as constant.

    Thanks again! :)
  4. Replies
    3
    Views
    1,691

    Parse Error that has me stumped

    I have written the following, and when I compile I get one recurring parse error that I cannot figure out what I have done. Would someone please take a look at it and see is they can find what I'm...
  5. Replies
    6
    Views
    2,403

    Page Fault in Visual C++

    Good evening all. I have a problem with the code I am trying to write that separates an expression into an array. I continually get a invalid page fault in Visual C++ (6). Although I didn't try it...
  6. Replies
    6
    Views
    21,902

    Parsing & Tokens

    Thanks Prelude. I did end up just using the space and the new line as the delimiter, because the tokenizing deletes the delimiter.

    I have tried the sccanf, but have only been able it to work on...
  7. Replies
    6
    Views
    21,902

    Here is the document that I didn't see attached....

    Here is the document that I didn't see attached. It shows the C program, the output and the original text file that was read. What I haven't been able to figure out was a way to print the tokens...
  8. Replies
    6
    Views
    21,902

    Parsing and Tokens (strtok)

    I am having difficulty correctly tokeninzing a file that is read in.

    I am taking an Assembler class, but we are to write a scanner program in C. Each terminal needs to be recoginized and printed...
  9. Replies
    3
    Views
    1,414

    Function call

    I have a question about calling a function from within an if statement.

    The prototype of the function is as follows:

    BOOKPTR BOOKSEARCH(BOOKPTR, int, int);

    The function call is as follows:
    ...
  10. Replies
    2
    Views
    888

    Structures and Ptr->next

    I have the following code that outputs a consistent address for the Head Pointer, but it also outputs a consistent address for the Ptr. The Ptr->next actually points to a new address each time, but...
  11. Replies
    1
    Views
    2,184

    Question about strcmp

    I have a question about the strcmp command and have not been able to locate an answer on any of the on-line reference areas. (including this board)

    Everything that I've read tells me that I should...
  12. Replies
    2
    Views
    2,153

    fgets in C Programming

    I am relatively new to C Programming and have been working for about a week to try and make the following code work.

    I have been able to open the file, but when I try to read a line with fgets, I...
Results 1 to 12 of 12