I was trying to link those file but it occur the compiling error
anyhellp would be appriciated

Recommended Answers

All 2 Replies

Don't put function definitions in a header file.
You can only have one main() function.

that was the file from the lab
and this is the error
15 C:\Users\se7olutionyg\Desktop\New Folder (2)\udst_monitor.cpp udst_monitor.h: No such file or directory.
although i included the .h file into the cpp file at the same folder

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.