I need to find a way to know my own IP and to find the IP of another computer that is attached to another app through a socket connection. I am using MFC and VC++ 5.0. I have used sockets in many ways, but have never been able to find out the local machines IP with C++.
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
What is C++ STL?:
STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector.