Chuyển đến nội dung chính

Trình duyệt này không còn được hỗ trợ nữa.

Hãy nâng cấp lên Microsoft Edge để tận dụng các tính năng mới nhất, bản cập nhật bảo mật và hỗ trợ kỹ thuật.

Tải xuống Microsoft Edge Xem thêm thông tin về Internet Explorer và Microsoft Edge
Đọc bằng tiếng Anh
Đọc bằng tiếng Anh Chỉnh sửa

Chia sẻ qua

Facebook x.com LinkedIn Email

C language documentation

Learn to use C and the C runtime library.

Get started with C in Visual Studio

Download

  • Download Visual Studio for Windows
  • Install C/C++ support in Visual Studio
  • Download only the command-line build tools

Tutorial

  • Compile a C program on the command line

Use the compiler and tools

Reference

  • C/C++ build reference
  • Projects and build systems
  • Compiler reference
  • Linker reference
  • Additional build tools
  • Errors and warnings

C language

Reference

  • C language reference
  • Elements of C
  • Program structure
  • Declarations and types
  • Expressions and assignments
  • Statements
  • Functions
  • C language syntax summary
  • Implementation-defined behavior
  • C/C++ preprocessor reference

C runtime library (CRT)

Reference

  • CRT library features
  • Alphabetical function reference
  • C runtime routines by category
  • Global variables and standard types
  • Global constants
  • Global state
  • Generic-text mappings
Lựa chọn quyền riêng tư của bạn
  • AI Disclaimer
  • Các phiên bản trước
  • Blog
  • Đóng góp
  • Quyền riêng tư
  • Điều khoản sử dụng
  • Thương hiệu
  • © Microsoft 2025
Lựa chọn quyền riêng tư của bạn
  • AI Disclaimer
  • Các phiên bản trước
  • Blog
  • Đóng góp
  • Quyền riêng tư
  • Điều khoản sử dụng
  • Thương hiệu
  • © Microsoft 2025