And I didnt modify code. For our assignment we were given the .h file and told to make about half a dozen functions from it.
Type: Posts; User: bgibs24
And I didnt modify code. For our assignment we were given the .h file and told to make about half a dozen functions from it.
Jimmy , I didn't mean to reply so hostile but it was the fist thing I saw when I woke up so it kinda ticked me off . And as for your comment , I have seen C before in my 101 class last semester with...
Thank you very much , this helped . I did have them equal to something and on their own lines I guess I just messed up copying it over
And Salem thanks for ALLLL THE GREAT help. Much appreciated major confidence boost as well. If you're going to be hostile why even reply? I came here for help not to be attacked.
Thank you GReaper. Ive edited my program a bit and only am getting an error on this line of code. If you look at my first post pix is a pointer to a drgb_t . Is this not how you access the r g b...
This was actually really helpful thank you! But now I know to put more code up Ill be sure to do that next time for sure
Youre good youre good! I was confused for a second. What if i was gonna make another vector pointer lets say called V1. And i wanted to call a function that takes in three vectors, V1 being the...
Yeah that was not my choice haha all just part of a project. So what exactly does the two dots do? And if i wanted to print it would i just do the following below? I get the same error as previously...
Cam is the pointer to the camera_t structure. Dont mean for this to be a hassle I apologize I am fairly new to programming and just trying to figure things out for my project as my professor does not...
Sorry forgot to add that info. But the error says request for member 'x' in something not a struct or union. scanf is just one part of my program. I need to print the x y and z of the viewpoint for...
Can someone explain to me what I am doing wrong here? Cam is a pointer to a structure and viewpoint is a vector located within the struct. I am trying to read in from a file the coordinates for the...
It actually is my code for a school assignment so dont jump to conclusions. Im not asking for someone to do my project. Just some good feedback would be appreciated because its something due soon and...
Can someone take a look at what I have and these errors to tell me what I am doing wrong? Sorry its a lot but i cant figure out what im doing wrong. Any help would be greatly appreciated Im new to...
thank you guys so much this all helped a lot
Anybody? I just need help figuring out why the image wont load. Am i using my getc functions right?
Can somebody help me understand how to do the mirror function? I have my other two working 100% but for some reason i cannot figure out how to do the mirror part. I want it to be like my flip...
int main (int argc, char *argv[]) {
// declarations here
// open input file
FILE *input;
Im new to the site so sorry if i posted this wrong. But can someone take a look at my parse file and tell me what I am doing wrong? The image will not open in vim and when i try to open the file I...