User forums > Help

File path for header files

<< < (2/2)

killerbot:
yes, unless you specify the includes in your code, with subpaths starting from the point you added to the search paths (that is : relative to C:/Users/Alex/C++/ftlk).

H:
All right I got it. This isn't directly related to the compiler but I figured I would post it anyway. The compiler generates an error when trying to access certain functions in the cmath header such as..

using ::acos    //::acos has not been declared

Does anyone know where the functions in the cmath header come from? Because all of the functions in it generate compiler errors.

H:
Well I tried just running a normal input/output program, and the compiler can't find the iostream directory? What is up?

Edit: Saving new files as C files rather than C++ files.....?

MortenMacFly:
This is *not* a general development forums. Thus your post(s) violate our forum rules.

Please try a C::B book or a C/C++ dedicated forum. Topic locked.

Navigation

[0] Message Index

[*] Previous page

Go to full version