c++ - Weird error in Keil compiler -
as see in following image, when comment 1 of include "gui.cpp" or include <gui.cpp>, have red cross error in right side of using namespace gui. when include both of them, error removed. have idea?
don't include .cpp files, or source files. should include header files. let linker deal source files.
you should create gui.h , include instead.

Comments
Post a Comment