Joke Collection Website - Joke collection - How to use API in C++

How to use API in C++

first

# include & ltwindows.h & gt

This header file

You need to download Microsoft's knowledge base msdn, which contains some prototypes of windows common functions (api).

Then you can use them to complete your function just like calling your own function.

==============================

As for how to check the library where the relevant api is located, there are some on msdn, so it's best to download one. This is a necessary reference for writing win32 applications.

The corresponding version of vc6 is msdn2001oct.

The general api only needs to contain windows.h Windows.h is a collection of many header files, and most operations can be completed by directly including it.