Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdio.h>
- #include <windows.h>
- #include <Intshcut.h>
- int main()
- {
- std::cout << "Hit enter to check for internet" << std::endl;
- getchar();
- std::cout << "Internet Connection " << (!InetIsOffline(0) ? "[ON]" : "[OFF]") << std::endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement