Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Include files [modified]

Include files [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
question
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jay03
    wrote on last edited by
    #1

    #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 :)

    T 1 Reply Last reply
    0
    • J Jay03

      #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 :)

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      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.

      J 1 Reply Last reply
      0
      • T toxcct

        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.

        J Offline
        J Offline
        Jay03
        wrote on last edited by
        #3

        what's character escapment

        T D 2 Replies Last reply
        0
        • J Jay03

          what's character escapment

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • J Jay03

            what's character escapment

            T Offline
            T Offline
            toxcct
            wrote on last edited by
            #5

            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...

            J 1 Reply Last reply
            0
            • T toxcct

              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...

              J Offline
              J Offline
              Jay03
              wrote on last edited by
              #6

              im a beginner........ not used to some of the terms yet forgive me :doh: ...... imma a geek wannabee

              T 1 Reply Last reply
              0
              • J Jay03

                im a beginner........ not used to some of the terms yet forgive me :doh: ...... imma a geek wannabee

                T Offline
                T Offline
                toxcct
                wrote on last edited by
                #7

                Jay03 wrote:

                im a beginner........

                ...still on your RTI stuff ? ;)


                TOXCCT >>> GEII power

                [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                J 1 Reply Last reply
                0
                • T toxcct

                  Jay03 wrote:

                  im a beginner........

                  ...still on your RTI stuff ? ;)


                  TOXCCT >>> GEII power

                  [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

                  J Offline
                  J Offline
                  Jay03
                  wrote on last edited by
                  #8

                  sure;P

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups