I wrote "edit" at the C promt,this opened up my editor,then I wrote my program.
But I do know how to save this file in DOS.
Sorry for this stupid question, would be very obliged for the help,
humbly,
Csick
I wrote "edit" at the C promt,this opened up my editor,then I wrote my program.
But I do know how to save this file in DOS.
Sorry for this stupid question, would be very obliged for the help,
humbly,
Csick
Last edited by csick; 01-24-2002 at 09:05 AM.
im intrigued to know why you are writing it in dos anyway but
.... your editor should have the save command, press ALT then F to bring up the file menu - on there you should see save
Monday - what a way to spend a seventh of your life
A little off-topic, but I feel your pain
Try pressing ALT-F (for file menu), and then press A (for Save As). You will then be given the opportunity to name your new file.
Jason Deckard
Thanks for your comments,I have saved my file.Though I have another problem at hand.Once I am back at the C promt,I am having problem compiling my file.Pls advise how I could compile,link and execute this file(test.c)
To IAIN:Sir thanks for your question,I am very new to computers,so I do not know what is right and wrong.I have a linux compiler ,a windows compiler(Miracle C-I down loaded it from CNET) and on my Win2000 computer I just loaded a DGJPP compiler-I could only find DGJPP on the DOS promt(when I did DIR) but I could not find it on my win2000-Is it possible to run DGJPP compiler in Win2000?Pls advise.
Thanks in advance.
csick
Most compilers should also link the file for you. The way you get it to compile is dependant on the compiler you want to use.
-Govtcheez
[email protected]
ok - if you have a windows 2000 machine i suggest coding with that at first. go to www.bloodshed.net and download devc++
version 5 ( i think) this has a basic editor and you can compile and link by pushing a menu button
if you cant find that url (it is an old one_ go to www.cnet.com and search for devC++
hope this helps amd welcome to the board
Monday - what a way to spend a seventh of your life