I just worked with a program in which I used struct:
struct 2dpt {
int x;
int y;
};
And the visual studio gave me an error about the syntax of using "2dpt" as the name of the structure. I looked through all the headers and tried to use it as a standard visual studio and could not find it. I don’t know why it spit me out. Does anyone know where this error came from?
source
share