Instantly share code, notes, and snippets.

What would you like to do?
Ciclic dependency problem
// ---- main_window.cpp ----
#include "main_window.h"
#include "window.h"
//My main window class
main_window mw;
//I have a close child that I want to close
// ---- window.cpp ----
#include "window.h"
void window::close() {
//Closing window stuff...
cout << "Closing window" << endl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment