This is a discussion on Difference between#include< >and#include" " within the C and C++ Programming forums, part of the Software Development category; Hui Buddies can anyone explain the difference between#include<>and#include" "...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| include "" searches your local directories first, it's for files in your project. include <> searches your external include dirs first, it's for including library stuff like iostream, list, vector, etc. I believe either will work, but in theory you should get in the habit of using "" for local files and <> for library files. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Difference between "vector" and "array"? | Sabari | C and C++ Programming | 1 | 07-24-2007 04:33 AM |
| Difference between "printf" and "sprintf". | Sabari | C and C++ Programming | 1 | 07-23-2007 06:23 AM |
| What is the difference between "calloc" and "malloc"? | Sabari | C and C++ Programming | 1 | 07-23-2007 06:08 AM |
| Difference between "APPLET" and "APPLICATION" | prasath | Java Programming | 1 | 07-17-2007 07:51 AM |
| Difference between a "assignment operator" and a "copy constructor"? | vigneshgets | C and C++ Programming | 2 | 07-12-2007 05:30 AM |