I wanted to know that how to can i a c++ program that can check for an active internet connection.
This should help.
*stackoverflow.com/questions/965921...ction-or-check-internet-connection-constantly
These results relate to a mac computer. I use a computer PC. Anyways, i don't know c++ very well, it would very helpful if someone can give me a coding from start to end of the program because i have tried many programs but errors occur about something or the other is not declared and i am not able to find which header or function, etc. i should use.
In that case Learn C++ first.
I can understand. But no one will write the program for you here.
If you can post your attempt, everyone would be happy to correct it. But if you simply ask to write the program for you, everyone will avoid the thread as you can see yourself.