I have seen a few distinct include sintax :
#include <QtGui/QApplication>
#include <QApplication>
#include "QtGui/QApplication"
All of them are valid ? Any explanation?
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.
Does not look for A in the source directory first, but in the directories known by the compiler.
Looks for A/B in the know directories.
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.
Last edited by tbscope; 21st September 2010 at 18:36.
Bookmarks