QuestionTomorrow

1) i can not compile the assignment sucessfully on mac

It is said the shader file is corrupted: The vertex and fragment files can not be opend 

and I think it might be related to cpuProgram.cpp file as there are some warnings

I can not figure out how to make it complie successfully

So i wonder if there is any way to modify the cpuProgram.cpp file so that it can run on mac

details:

can not change from string to pointer

and i found one solution for that

add 'const' after char *, but compile it again, it has new errors-> fread() function is not in stdio.h?!

and which type of data i can change so that i can assign the value of char

i can only run demo1 succesfully QwQ

 

2) for a1 q2, is the destination related to x axis?

any hint to a3?

上一篇:经典英文歌


下一篇:poj-2234 Matches Game Nim