Share via


Command Line (How Do I in Visual C++ Express) 

This page links to help on tasks related to command line development using Visual C++. To view other categories of popular tasks covered in Help, see How Do I in Visual C++ Express.

Visual C++ on the Command Line

  • Compiler Options
    Introduces cl.exe, a tool that controls the Microsoft C and C++ compilers and linker.
  • Linker Options
    Introduces LINK, a tool that links Common Object File Format (COFF) object files and libraries to create an executable (.exe) file or dynamic-link library (DLL).
  • NMAKE Reference
    Introduces the Microsoft Program Maintenance Utility (NMAKE.EXE), a tool that builds projects based on commands contained in a description file.
  • VCBUILD Reference
    Describes how you can use VCBUILD.exe to build Visual C++ projects and Visual Studio solutions from the command line.

Visual C++ Examples

Arrays

  • How to: Sort Arrays
    Demonstrates how to use the Sort method to sort the elements of an array.

Boxing and Casting

Data Types and Interfaces

Enumerations

Events and Delegates

Exceptions

  • finally
    Discusses the CLR exception handling finally clause.

For Each

Generics

  • Generic Functions
    Discusses generic functions, a function that is declared with type parameters.
  • Constraints
    Describes that constraints are a requirement that types used as type arguments must satisfy.

Pointers

Properties

  • How to: Use Simple Properties
    Demonstrates that for simple properties—those that merely assign and retrieve a private data member—it is not necessary to explicitly define the get and set accessor functions.

Tracking References

File Handling with Visual C++

  • How to: Retrieve File Information
    Demonstrates the FileInfo class. When you have the name of a file, you can use this class to retrieve information about the file such as the file size, directory, full name, and date and time of creation and of the last modification.

Windows Operations with Visual C++

See Also

Concepts

How Do I in Visual C++ Express