I have seen a few distinct include sintax :
#include <QtGui/QApplication>
#include <QApplication>
#include "QtGui/QApplication"
All of them are valid ? Any explanation?
Printable View
I have seen a few distinct include sintax :
#include <QtGui/QApplication>
#include <QApplication>
#include "QtGui/QApplication"
All of them are valid ? Any explanation?
Looks for A in the source directory first, then in the other directories known by the compiler.Code:
#include "A"
Does not look for A in the source directory first, but in the directories known by the compiler.Code:
#include <A>
Looks for A/B in the know directories.Code:
#include <A/B>
Edit: this is basic C++ by the way. If you look this up in google or any good book store you find tons of information about it.