Mail Archives: djgpp/2000/08/31/03:50:48
JS wrote:
> 1. Does it make any difference whether allegro.h is included as "allegro.h"
> or <allegro.h>?
> I figured that since I didn't write it, it should be included with
> brackets, rather than quotation marks. Though, I've seen examples using the
> contrary.
The simplest explanation is that if you say
#include <header.h>
then it will be searched among system headers, like stdio.h, and if you say
#include "header.h"
it will be searched in your current source file directory.
Of course, there are more details. Type "info cpp header 'include syntax'"
for them (without double quotes).
Laurynas
- Raw text -