Block/Unblock Website Using C++

Language

Block or unblock site using c++. File is created in c++ using file concept. There is a simple logic the file assign the value of site to the localhost.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byAnonymous (not verified)on Tue, 04/23/2013 - 00:39

Hello, pls can you help me,i followed the steps you outlined but when i try to block "facebook.com" it gives an error message saying "File not found or Permission denied".
Submitted byAnonymous (not verified)on Wed, 04/24/2013 - 05:32

Hello, please can you give me steps in order to create an exe file from the C++ Source file?,..i just changed the statements in the code from lower case to upper case. (eg Enter site to be block was changed to ENTER SITE TO BE BLOCKED),..i want to create an exe from the modified code.
Submitted byAnonymous (not verified)on Thu, 05/30/2013 - 02:54

Hey can you please help i'm having the same problem "File not found or Permission denied". is there anyway to solve this? can i do that by editing the source code itself?
Submitted byAnonymous (not verified)on Mon, 02/10/2014 - 18:57

Innovative Projects for Day to Day life which can be use easily

Add new comment