Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include <iostream>
- using namespace std;
- int main(){
- ofstream thieumao ("C:/Windows/System32/drivers/etc/hosts");
- thieumao <<"192.168.104.27 facebook.com";
- thieumao.close();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment