Include files [modified]
-
#include < gl\glu.h >
Are we telling the compiler to look in the folder gl in the standard library to find glu.h? Why is is indicated using a backslash?#include < netinet/in.h >
Why are we using forward slash in this case? Thanks, Jay :)don't use backslashed... use forward slashes to avoid characters escapment problems... the fact is that one syntax is mostly for windows world, while the other is mostly for unix world. but as forward slashes work fine on every plateforms, i think it's the best way to go.
-
don't use backslashed... use forward slashes to avoid characters escapment problems... the fact is that one syntax is mostly for windows world, while the other is mostly for unix world. but as forward slashes work fine on every plateforms, i think it's the best way to go.
-
Jay03 wrote:
what's character escapment
Character combinations consisting of a backslash (\) followed by a letter or by a combination of digits are called “escape sequences.” Examples include, but are not limited to: \b backspace \f formfeed \n newline \r carriage return \t tab \\ backslash
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
don't you know that the '\' character in C/C++ is the escapment character ? \a : alarm \b : backspace \n : newline \t : tab \r : carriage return etc...
-
im a beginner........ not used to some of the terms yet forgive me :doh: ...... imma a geek wannabee
Jay03 wrote:
im a beginner........
...still on your RTI stuff ? ;)
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
Jay03 wrote:
im a beginner........
...still on your RTI stuff ? ;)
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]