Computer Science Canada All Bases to All bases |
Author: | hez [ Tue May 20, 2003 6:33 pm ] |
Post subject: | All Bases to All bases |
Gr 11 turing is hell, ecpecially when you toke it in gr 10 with gr 11 engeering here is the prog i made for midterm which converts bases binary, decimal, hex, and octal to any of the binary, decimal, hex, and octal bases of course there are rules like error checking and stuff..... this is probably the most frustrating prog to make.... (as you can see i am not the GUI type lol) took hard work..... see attachment.... |
Author: | nate [ Tue May 20, 2003 6:44 pm ] |
Post subject: | pretty good |
its pretty good, but who wan't 2 play it? the conversion is usefull though cause i am doing like conversion from binary, octal or decimal. But i think it might have some bugs if u enter a large number? |
Author: | hez [ Tue May 20, 2003 6:53 pm ] |
Post subject: | |
yep, thats the turing engine itself cause there is a max of how much a string can handle...... other then that you can also spllit it into diffrent varaibles but that is alll i can do |
Author: | Tony [ Tue May 20, 2003 8:20 pm ] |
Post subject: | |
hez... I dont want to be the one to break the bad news to you... but there is intstr() and strint() that basically do whatever your program does... but works for ANY base you specify. |
Author: | hez [ Tue May 20, 2003 10:38 pm ] |
Post subject: | |
true very true , but this is another way to make your own predefined functions (it was the teacher , don't blame me ) |
Author: | Corpy [ Fri May 23, 2003 7:04 pm ] |
Post subject: | |
man u have it easy, in my grade 9 class its so much more challenging. We have do that as like 4 day home work aasignment and our projects are soo long, it sucks. |
Author: | Tony [ Fri May 23, 2003 7:27 pm ] |
Post subject: | |
lol, speaking of easy... in my school, final project for grade 11s is VB tic-tac-toe (2 player one only, no AI).. That is soo pathetic how most of them have no idea what to do... Lol, tic-tac-toe was my first VB program just to familiarize myself with how buttons work and such. In contrast though, grade 12s (myself, though I'm in grade 11) are doing some kickass database managment applications that school will actually use to maintain student data next year. 8) |