I am not able to test and run the sample exemplary code of IP adapter address or for that reason any other exemplary sample codes of Windows functions. How can I independently test and check if this code helps me to get all the required information which I want?
Or is there any online compiler or environment where I could directly run and check the below sample code and its behavior and output?
https://learn.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getadaptersaddresses#examples
Pardon me for my questions as I have recently started to explore and work on Windows functions and windows applications.
- I am trying to work on Visual Studio 2013, which template should I choose in Visual Studio to create a new project and then how do I setup the development environment for working with the above sample codes. How to add a source file of C++ after creating a new project/solution as by default it opens a Module1.vb file.
- When creating new project and adding a source file of C++ to add the above sample code, how do I make sure to link required libraries?
- Also please tell me how can I debug the code to increase my skills of debugging and identifying the issues in much better way.