Skip to content

Instantly share code, notes, and snippets.

@thiagomg thiagomg/main_window.cpp
Last active Nov 4, 2015

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
You can’t perform that action at this time.