#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 just the standard notation for a relative path - same as you'd type on a command line.

    The question is, of course, relative to what...?

    "ive only seen headers included like #include lpc_types.h"

    That is also a relative path - it doesn't state what folder and drive to look in.

Reply
  • It's just the standard notation for a relative path - same as you'd type on a command line.

    The question is, of course, relative to what...?

    "ive only seen headers included like #include lpc_types.h"

    That is also a relative path - it doesn't state what folder and drive to look in.

Children
More questions in this forum