PDA

View Full Version : char arrays..??



chign
04-03-2010, 02:52 AM
hello.. i am new to opengl and i have a few questions..

what i want to do is the following..
i want to read a char array and draw some drawings, depending on the character i've read.. if i have read the char "a" draw for istance a rectangle etc.. my question is this:

is that statement of the array correct??

char x[6][14]={{'1','a' etc}} (as in C)

and the next question:
i get those errors-warnings..
error C2381: 'exit' : redefinition; __declspec(noreturn) differs
see declaration of 'exit
warning C4985: 'exit': attributes not present on previous declaration.
see declaration of 'exit'

any suggestions?? thanks..

chign
04-03-2010, 09:33 AM
problem solved..