-
#include "apstring.h"
i was wondering if there was anyway that i could make it so i dont have to use quotations around apstring.h and instead use <apstring.h>....
the reason is that you have to go to directories and include it and open the cpp file and include that JUST so you can use apstring... why didnt microsoft include it in MSVS :mad:
-
apstring is not a standard header, that's why its not included. You can still put it in the compiler include directory and use the <> rather than "".
-
>why didnt microsoft include it in MSVS
Because it's not part of the standard. People like me have never heard from apstring. Neither have I missed it.
If you need your code to be portable, or have other people sharing your code, please leave it as it is. If you change the way the standard works, others who only know the standard, but not your interpretation of it, will be quite confused.
-
so, according to the first reply... if i throw apstring.h and apstring.cpp in the include directory it will become standard? that would be really helpful and save me time :D
and to the moderator, there is only one C++ class and we use the same computers everyday, and i think if i told everyone how to shove apstring into the standard directory they would bow down and call me C++ god :D im dreamin :rolleyes:
-
Putting it in the include directory doesn't make it standard by any means.
If a header's in the include directory, you can include it with <>
If it's in the same directory as the souce code, then you use ""
How would this save you any time?
-
maybe it wont, but right now at the present moment...
i have to open the cpp file and comile it within my program... its annoying :D