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! :D
Printable View
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! :D
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.
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:It produces: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
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.Code:1
2
3
4
5
50.3523
Should print 51.2523: 51.3523
false
true
false
true
There are plenty of resources on it if you want to know more :D
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.