Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 program ideas
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
yodu123




PostPosted: Thu Mar 19, 2009 10:50 am   Post subject: program ideas

i have to make a program for a final school project but i don`t know what to make
can you give me some program ideas other than games?
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Thu Mar 19, 2009 11:12 am   Post subject: RE:program ideas

A program that inputs an equation and solves it via bedmas.
mono-1-rulz




PostPosted: Thu Mar 19, 2009 11:58 am   Post subject: RE:program ideas

I once made a calculator....it had like 13 functions ......u could do a bit more.....i used the Java Math Class.......
DemonWasp




PostPosted: Thu Mar 19, 2009 12:14 pm   Post subject: RE:program ideas

Suggestions depend - how advanced are you in programming?

If you're only moderately advanced, I'd second insectoid's suggestion. You can make an equation solver relatively simply. If you want to make it fancier, you can include further functionality (after you have the basic BEDMAS). Below are some examples of user-input for consideration; the > means "prompt" and precedes what the user enters, while the lines without the > are the response from the program.

Basic:
code:

> 4 * 4 + 12 / 3
20
> 2 * 3 ^ 2
18
> 4 * ( 3 + 7 )
40


More advanced - variables:
code:

> x = 5
x = 5
> ( x - 1 ) ^ 2 - 4
12


Even more advanced - include math functions:
code:

> x = 90
x = 90
> sin ( x ) + cos ( x )
1
saltpro15




PostPosted: Thu Mar 19, 2009 1:24 pm   Post subject: RE:program ideas

You can make a simple OS if you're really ambitious, I think I saw someone's project on here that was an Etch a Sketch, you could do that too. If you're really just getting started, make Paint XD
DemonWasp




PostPosted: Thu Mar 19, 2009 1:46 pm   Post subject: RE:program ideas

If you think you're up to it, make Notepad - or better yet, vim. Vim may prove somewhat more difficult (but it's a much better editor, and you're going to learn it at some point or other).
Insectoid




PostPosted: Thu Mar 19, 2009 1:58 pm   Post subject: RE:program ideas

Notepad could be a challenge. Not impossible, but a challenge. You'd have to find away around the maximum string size.
saltpro15




PostPosted: Thu Mar 19, 2009 2:27 pm   Post subject: RE:program ideas

I don't think Notepad would be possible in Turing, since there isn't really a way of getting around the max string size, as insectoid said
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Thu Mar 19, 2009 2:29 pm   Post subject: RE:program ideas

the trick is to not load it as a single string.
DemonWasp




PostPosted: Thu Mar 19, 2009 2:36 pm   Post subject: RE:program ideas

Err...I already fixed that issue.
saltpro15




PostPosted: Thu Mar 19, 2009 3:05 pm   Post subject: RE:program ideas

oh Embarassed cool DemonWasp, how did you do that?
DemonWasp




PostPosted: Fri Mar 20, 2009 1:16 am   Post subject: RE:program ideas

A string is just an array of characters. Turing supports arbitrary-length arrays, so really it's just a wrapper around a "flexible array 1..0 of char" that gets automatically expanded (though it won't automatically shrink) when it exceeds its given size. The code is self-explanatory if you look at it.

On further examination, it looks like a Notepad-type app could be done with the GUI components, but you'd be doing most of the slogging yourself - TextBoxes apparently don't support things like getting the text of a given line.
Tallguy




PostPosted: Mon Mar 23, 2009 9:13 am   Post subject: RE:program ideas

@yodu123, why don't you make a game? my friend made a memory game before using 2d arrays, or make a simple shooter game . . .
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 13 Posts ]
Jump to:   


Style:  
Search: