Is there a way to open a file.........for example
Your .exe file is in:
C:\blah\exefile\blah.exe
and u want a .txt file in
C:\blah\txtfiles\blah.txt
is there a way to open blah.txt.... or do they both have to be in the same directory?
Is there a way to open a file.........for example
Your .exe file is in:
C:\blah\exefile\blah.exe
and u want a .txt file in
C:\blah\txtfiles\blah.txt
is there a way to open blah.txt.... or do they both have to be in the same directory?
Code:#if _emo #define stereo_type_i_dislike #endif
How can i make it so the .txt file or my information file isn't editable by notepad?
Code:#if _emo #define stereo_type_i_dislike #endif
Either use an exact path like "C:\blah\exefile\blah.exe" or do a relative path like "..\exefile\blah.exe"
(the .. goes "backwards" in the folder tree one step)
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
All files are editable by notepad (even binary files, though it can be hard to do it ). To make a text file unreadable you have to use some kind of encryption.Originally posted by bluehead
How can i make it so the .txt file or my information file isn't editable by notepad?
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
uhhhhh i hope thats not hard to do....... how do i do it?
Code:#if _emo #define stereo_type_i_dislike #endif
I'm no expert on encryption, sorry.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
o, well, ne1 else here know?
FILE *textfile = fopen ("..\\txtfiles\\blah.txt", "rt");Originally posted by bluehead
Is there a way to open a file.........for example
Your .exe file is in:
C:\blah\exefile\blah.exe
and u want a .txt file in
C:\blah\txtfiles\blah.txt
is there a way to open blah.txt.... or do they both have to be in the same directory?
hello, internet!
Originally posted by Bluehead69
o, well, ne1 else here know?
You could do a very simple encryption, like moving the ASCII values of the characters two steps to the right (A turns to C, B turns to D etc...). Hello world turns to Jgnnq yqtnf. These are easy to solve though...
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Dont use a text file......record the data in the registry if its not too muchOriginally posted by bluehead
How can i make it so the .txt file or my information file isn't editable by notepad?
Lots of people know how to edit the registry keys, so it won't be a perfect solution. Better than nothing though...Originally posted by Fordy
Dont use a text file......record the data in the registry if its not too much
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.