| | |
How to stop a program from accessing the file system
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2008
Posts: 8
Reputation:
Solved Threads: 0
•
•
•
•
Then don't do thatDon't put any code in the program that accesses the file system. Simple.
any ways i can make some changes to the code before compiling.
i use windows xp but i can migrate to ubuntu if u want me to use linux.
>>i use windows xp but i can migrate to ubuntu if u want me to use linux.
why would I care if you use *nix or Windows ?
Since you have the source code then change it to comment out all the file i/o stuff. Start by commenting out
That could amount to a huge chore, depending on the program. What are you going to do with the section(s) of the code that depend on the data that is read and/or written to the file system?
why would I care if you use *nix or Windows ?
Since you have the source code then change it to comment out all the file i/o stuff. Start by commenting out
#include <fstream> . When you compile you might get a whole bunch of errors. Go through the error messages one at a time and comment out or delete the offending line(s).That could amount to a huge chore, depending on the program. What are you going to do with the section(s) of the code that depend on the data that is read and/or written to the file system?
Last edited by Ancient Dragon; May 19th, 2008 at 2:44 pm.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Similar Threads
- DVD/CD Drive doesn't recognize inserted discs (Windows NT / 2000 / XP)
- Calling external files (C++)
- pop ups are back (Viruses, Spyware and other Nasties)
- Cannot find server or DNS Error - please help! (Viruses, Spyware and other Nasties)
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- HACKTOOL.ROOT KIT (hijackthis and sysclean log) (Viruses, Spyware and other Nasties)
- Search assitant/Shopping Wizard Search Extender (Viruses, Spyware and other Nasties)
- Tutorials for Linux (*nix Software)
Other Threads in the C++ Forum
- Previous Thread: Order Tracking sytem. Please help assp. I have no idea how to do!!!!!!!!!!!!!!!!!!
- Next Thread: Makefile for C++ one file programs
| Thread Tools | Search this Thread |
api array arrays based beginner binary c++ c/c++ calculator char class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game getline givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news number output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets







Don't put any code in the program that accesses the file system. Simple.