App.cpp file
#include "App.h" #include <iostream> using namespace std; void App::HelloWorld(){ cout << "Hello World"; }
In addition to #include <iostream> preprocessor directive, insertion of "using namespace std" helps to compile successfully.
#include "App.h" #include <iostream> using namespace std; void App::HelloWorld(){ cout << "Hello World"; }
No comments:
Post a Comment