| View previous topic :: View next topic |
| Author |
Message |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Jun 17, 2007 11:42 am Post subject: files? |
|
|
Ok, well I made an unfinished text editor (like notepad). But I wanted to know how I could make it so the program would save the file as some other file and then the file would open in my text editor? How would I do that. Btw, how do I set hotkeys on a program?
Edit:
It is in delphi
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
Last edited by oib111 on Sun Jun 17, 2007 12:59 pm; edited 1 time in total |
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Sun Jun 17, 2007 12:03 pm Post subject: |
|
|
in java you use buffered tokenizers
i can tell you how to do it in java but i guess you want c++
_________________
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Jun 17, 2007 12:59 pm Post subject: |
|
|
| blankrider wrote: | in java you use buffered tokenizers
i can tell you how to do it in java but i guess you want c++ |
I want in delphi...
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
DeltaFlyer Grandmaster Cheater
Reputation: 0
Joined: 22 Jul 2006 Posts: 666
|
Posted: Sun Jun 17, 2007 1:03 pm Post subject: |
|
|
| blankrider wrote: | in java you use buffered tokenizers
i can tell you how to do it in java but i guess you want c++ |
what buffered tokenizers?
BufferedWriter for writing files. StringTokenizer for splitting strings into tokens. Mixing the two doesn't do much.
In C/++, fprintf can be used to write to file.
Delphi:
http://www.google.com/search?q=delphi+write+file&btnI=I'm+Feeling+Lucky
_________________
Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for? |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Jun 17, 2007 1:08 pm Post subject: |
|
|
I WANT DELPHI NOT C++
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Sun Jun 17, 2007 1:08 pm Post subject: |
|
|
my bad i meant streams and tokenizers
my mind is on the run right now
_________________
|
|
| Back to top |
|
 |
|