Chat on IRC |
Programming Exercises
Posted by metamorphic [send private reply] at April 18, 2002, 08:39:01 AM
I want to program some basic console apps to futher my skill, but i have no creativity and cannot think of anything to program on my own. can someone throw some ideas out?
Posted by taubz [send private reply] at April 18, 2002, 09:49:41 AM
Write a shell, like a replacement for the DOS prompt.
Posted by metamorphic [send private reply] at April 18, 2002, 09:51:07 AM
thats not basic :)
Posted by Sord [send private reply] at April 18, 2002, 01:54:55 PM
You could write a Unix to DOS file converter. I wrote mine in 32 lines.
Posted by slipknotclown [send private reply] at April 18, 2002, 04:15:54 PM
I also never know what to make
oh well i'll make another conversion program
Posted by taubz [send private reply] at April 18, 2002, 07:10:14 PM
It doesn't have to be as good as the DOS command prompt. You could make a simple version that inputs commands and run them... and then add features.
Posted by webdesign11 [send private reply] at April 20, 2002, 08:09:11 AM
How would you go about writing a shell, taubz? Sounds very complex.
Posted by taubz [send private reply] at April 20, 2002, 09:37:22 AM
The most basic shell looks like this (pseudocode):
do forever { readline $commandname; execute $commandname; } From there you just add little bells and whistles. - taubz
Posted by metamorphic [send private reply] at April 20, 2002, 10:07:03 AM
ah thanks taubz, i'll try it
Posted by Psion [send private reply] at April 20, 2002, 11:16:19 AM
taubz, running tasks that take user input is already beyond what most people know....
Posted by buzgub [send private reply] at April 20, 2002, 11:44:12 PM
Psion, in that case, it's a good way of getting people to learn more.
Posted by unknown_lamer [send private reply] at April 22, 2002, 03:31:22 PM
/me notes how easy it is to make a shell that is better than the dos command shell
Write your own dialect of Lisp :-) All the cool kids are doing it.
Posted by Razvan [send private reply] at April 25, 2002, 09:07:14 AM
Copying the dos shell is to easy. I did it myself. I also modified it, so that if you would write ugly things... K-BOOM! :) I think making a sort of copy of norton comander would be cool and possible.
Posted by unknown_lamer [send private reply] at April 25, 2002, 01:47:01 PM
I still support the Lisp dialect. Why not make a Lisp shell (like SCSH)...
Posted by gian [send private reply] at April 25, 2002, 03:48:36 PM
Or you could hang me now and save me the trouble later :-)
Register as a new user | |||||||||||||||||