Visual studio cannot find my class header (win32)

Visual studio cannot find my class header (win32)
0
#1

after i create new class, i cannot include that header.

i create myclass.cpp and myclass.h . then myclass.cpp can include myclass.h . but other class (for example HelloWorldScene.cpp) cannot include “myclass.h”. Visual studio says “cannot open source file myclass.h”

am i forgot something? i remember that when i build for android, i should add the class in the Android.mk. but dont know when to build win32 application.

0 Likes

#2

SOLVED: my visual studio create my class in proj.win32 folder -_-

so, i should move the file to classes folder

========

why in the solution explorer, the file is in the same folder with the other (src) . it makes me confuse :confused:

0 Likes

closed #3

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

0 Likes