yep, here's the rasterfile initialization:
hader.ras_magic=059a66a95;
header.ras_width=COL; //private member set by member
...
Type: Posts; User: readerwhiz
yep, here's the rasterfile initialization:
hader.ras_magic=059a66a95;
header.ras_width=COL; //private member set by member
...
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...
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! :)
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...
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...
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...
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...
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...
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:
...
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...
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...
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...