C Run-Time Library Reference


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at C Run-Time Library Reference.

The Microsoft run-time library provides routines for programming for the Microsoft Windows operating system. These routines automate many common programming tasks that are not provided by the C and C++ languages.

Sample programs are included in the individual reference topics for most routines in the library.

In This Section

C Run-Time Libraries
Discusses the .lib files that comprise the C run-time libraries.

Run-Time Routines by Category
Provides links to the run-time library by category.

Global Variables and Standard Types
Provides links to the global variables and standard types provided by the run-time library.

Global Constants
Provides links to the global constants defined by the run-time library.

Alphabetical Function Reference
Provides a table of contents entry point into an alphabetical listing of all C run-time library functions.

Generic-Text Mappings
Provides links to the generic-text mappings defined in Tchar.h.

Language and Country/Region Strings
Describes how to use the setlocale function to set the language and Country/Region strings.

Debug Routines
Provides links to the debug versions of the run-time library routines.

Run-Time Error Checking
Provides links to functions that support run-time error checks.

Run-Time Library Behavior
Discusses the entry point into the CRT DLL.

Visual C++ Libraries
Provides links to the various libraries provided with Visual C++, including ATL, MFC, OLE DB Templates, the C run-time library, and the Standard C++ Library.

Provides links to using the Visual Studio debugger to correct logic errors in your application or stored procedures.

See Also

Visual C++ Libraries Reference