F
frankb.mail
Ok i'm new to C++ and am teaching myself i've hit a small block that I
can't seem to get around
I am trying to convert an array like std::string load[10]; into a
float array.
The code looks like this:
float flaod[10];
int u;
for(u=0; u < vertCount * 2; u++){
fload = atoi(load.c_str());
}
I keep getting an "undeclared identifier" error when I compile the code
can any one help me figure out why?
can't seem to get around
I am trying to convert an array like std::string load[10]; into a
float array.
The code looks like this:
float flaod[10];
int u;
for(u=0; u < vertCount * 2; u++){
fload = atoi(load.c_str());
}
I keep getting an "undeclared identifier" error when I compile the code
can any one help me figure out why?