This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

#include paths

Im new to uvision and programming and im looking at a project that has some headers as,
#include "..\..\..\swim\lpc_types.h". How do i give it the correct path to the file?..how is "..\..\..\" supposed to define a path?, ive only seen headers included like #include lpc_types.h

Parents
  • It's a Microsoft thing

    Yes, it is. But the article you are linking to contains some questionable information. Who knows what else is wrong there?

    Unix systems, on the other hand, use the forward slash to indicate folder names. Users commonly see this in web site addresses, since the vast majority of web servers run some form of Unix.

    Forward slashes in URL's are used because the standard (www.rfc-editor.org/.../rfc1738.txt and other RFC's that supersede it) mandates this. The fact that many web servers run on Unix is just a coincidence.

Reply
  • It's a Microsoft thing

    Yes, it is. But the article you are linking to contains some questionable information. Who knows what else is wrong there?

    Unix systems, on the other hand, use the forward slash to indicate folder names. Users commonly see this in web site addresses, since the vast majority of web servers run some form of Unix.

    Forward slashes in URL's are used because the standard (www.rfc-editor.org/.../rfc1738.txt and other RFC's that supersede it) mandates this. The fact that many web servers run on Unix is just a coincidence.

Children
  • But the article you are linking to contains some questionable information.

    That was just the first think that showed up on my google search as an example.

    Really, I was just suggesting that an application designed to operate under a Microsoft operating system (such as the Keil uVision suite) is likely to use the backslash and being surprised of that use is a surprise.

  • @Mike Kleshov
    To my limited knowledge, I think Keil toolchains can only run on Windows OS. I never try to run uVision on other OS, so I can't tell...
    As for backslashes in Dos/Windows, which have been used for years.