Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SongController.h:
- #ifndef CONFIG_H
- #define CONFIG_H
- #include "Song.h"
- class SongController
- {
- public:
- Song song;
- SongController();
- };
- Song.h:
- #ifndef CONFIG_H
- #define CONFIG_H
- class Song
- {
- public:
- Song();
- };
- The cpp files simply include their respective header file and define blank functions.
- Despite this, I am getting:
- SongController.h error: 'Song' does not name a type
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement