APIs and sdks in Visual C ++ Programming

Source: Internet
Author: User
APIs and sdks in Visual C ++ programming when writing standard C Programs, we often call various library functions to help complete some functions; the C library functions most used by beginners are printf, which are provided by the compiler vendors you use. On Windows, similar functions are available for calling. The difference is that these functions are provided by the Windows operating system itself.

Windows provides a variety of functions to facilitate the development of Windows applications. These functions are the application programming interface provided by the Windows operating system for application programming. The API function we call when writing a Windows program is the function provided by the system. All major Windows functions are declared in the windows. h header file.

Windows provides more than 1000 types of API functions. As developers, it is almost impossible to remember the syntax of these function calls. So how can we better use and master these functions? API functions provided by Microsoft are mostly meaningful combinations of words. Each word is capitalized, for example, createwindow. You can guess from the function name, this function is used to create a window for the program. Others, such as showwindow, loadicon, sendmessage, etc, the exact spelling and calling Syntax of these functions can be found in msdn.

You can understand msdn as a help system provided by Microsoft to developers, which contains a large number of development documents, technical articles, and sample code. Msdn contains comprehensive information. programmers can not only use msdn to assist development, but also use msdn to learn and improve themselves. For beginners, learning to use msdn and learning from it is a required skill.

During program development, there is no need to memorize the call syntax and parameter information of the function, as long as we can quickly find the required information from msdn, and so on, these functions will naturally be remembered.

We often hear about Win32 SDK development. What is the SDK. The full name of the SDK is the Software Development Kit. If we want to develop a call center now, the manufacturer will provide the voice card SDK while purchasing the voice card, so that we can program the voice card. This development kit usually contains the API function library, help documentation, user manual, auxiliary tools, and other resources of the voice card. That is to say, the SDK is actually a collection of resources required for development. Now, you should understand the meaning of the Win32 SDK, that is, the software development kit under the Windows 32-bit platform, including API functions, help documents, and some auxiliary development tools provided by Microsoft.

Tip: API and SDK are widely used terms and do not specifically refer to a specific API or SDK, for example, voice card API, voice card SDK, Java API, Java SDK, etc.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.