Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 896 Bytes

character-sequences.md

File metadata and controls

35 lines (29 loc) · 896 Bytes
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs ms.assetid caps.latest.revision author ms.author manager
Character Sequences | Microsoft Docs
11/04/2016
cpp-language
article
C++
1e6961a9-150e-4c13-b427-9af4b6a1fb7a
7
mikeblome
mblome
ghogen

Character Sequences

ANSI 3.8.2 The mapping of source file character sequences

Preprocessor statements use the same character set as source file statements with the exception that escape sequences are not supported.

Thus, to specify a path for an include file, use only one backslash:

#include "path1\path2\myfile"  

Within source code, two backslashes are necessary:

fil = fopen( "path1\\path2\\myfile", "rt" );  

See Also

Preprocessing Directives