|
-
Jun 22nd, 2002, 10:46 PM
#1
Thread Starter
Frenzied Member
projects
School is now over, I have no idea what to code...thats why I liked programming class...it gave me things to make, now I'm clueless. Does anyone have any ideas? Preferably windows programming. THanks everyone!
-
Jun 23rd, 2002, 12:22 PM
#2
Fanatic Member
Look at sourceforge.net for some open-source projects. It's mostly *nix stuff, but you should be able to find some Windows ones on there.
Alcohol & calculus don't mix.
Never drink & derive.
-
Jun 23rd, 2002, 05:56 PM
#3
Monday Morning Lunatic
Intriguing why people want to make Windows programs...
I'm getting great developer satisfaction out of my current project (I got bored doing my report at work which isn't even part of my job, but I have to do it as part of my placement, and even my supervisor thinks it's bollocks).
But back to my point...
I'm writing a little adventure game (you know, the text ones). Rather than having the logic coded into the .exe, it's supplied in macro form....therefore I must write a macro parser and interpreter I decided to mangle PostScript a bit and use that, so just to point out that you don't need to have a GUI for it to be an educational project!
PS: For anyone interested, this code currently runs in my parser:
Code:
/inc {
1 add
} def
/counter 0 def
1 5 1 {
/counter counter inc def
counter print endl pop
} for
50.3523 print endl inc
endl
(Should print 51.2523: ) print pop
print endl pop
%/thingie 1 def
%{(Not one!\n)} {(Is one!\n)} thingie eq 1 ifelse print pop endl
1 0 eq print pop endl
(b) (h) gt print endl not print pop endl
50 50.000000000000001 eq print pop endl
It produces:
Code:
1
2
3
4
5
50.3523
Should print 51.2523: 51.3523
false
true
false
true
Note that PS is a stack-based language, so if you wanted to add two numbers you'd use 1 2 add, which would push 1 and 2 onto the stack, then add them and replace the top of the stack with the result.
There are plenty of resources on it if you want to know more
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jun 23rd, 2002, 07:04 PM
#4
Script interpreters are a blast to write (its so cool to see the output you expect =).
Text based stuff is probably more fun in my opinion to write, since you dont have to work so hard at getting the output correct, so you can concentrate more on the central focus of your application (thats probably why I enjoy wrting DLLs so much...).
Z.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|