Begineer projects.

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
Rhys
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 25
Joined: Mon Mar 09, 2009 12:08 am
Current Project: Learning from my C++ book.
Favorite Gaming Platforms: PC. Lurv it.
Programming Language of Choice: C++.
Location: Melbourne, Australia.

Begineer projects.

Post by Rhys »

Hello,

I'm a beginner programmer learning C++, I bought a book a few months ago but haven't really made much progress, the problem is; I really, really want to. The book I'm learning from; "C++ Without Fear" is a pretty good book, it takes a while to explain some of the things but that's probably a good thing. The only problem with the book is that it really does tell you how it is. It show's me perfectly how to do something, but not what to do with it. I've learnt a fair bit, by my standards, but I don't know what to do with this knowledge. It's great knowing how to use the programming, and doing some of the activities from the book, but that's all I can do. I don't know if I should learn more first or if my imagination just isn't wide enough, but I can't come up with anything to program. The most complicated application I've written so far is a console app. that takes a number input and checks to see whether the number is prime.

What I'm asking is basically some good project idea's for a beginner that will give me some motivation to keep learning and even enjoy doing so. Thanks.
User avatar
Moosader
Game Developer
Game Developer
Posts: 1081
Joined: Wed May 07, 2008 12:29 am
Current Project: Find out at: http://www.youtube.com/coderrach
Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
Programming Language of Choice: C++
Location: Kansas City
Contact:

Re: Begineer projects.

Post by Moosader »

Mad libs :D
(too easy)

How far into C++ have you gotten? Have you learned about classes yet? (functions? pointers?)
If you've messed with classes, you might think of doing a basic text adventure.

By that I mainly mean starting off with navigating around some maps, where you'd have an "Area" class (I'm not sure what a good name for it would be) that holds stuff like the description and the- say- index of the map to the North, South, East, and West.
So basically start off with an array of areas that you can move between, and figure out how all that works.
Rhys
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 25
Joined: Mon Mar 09, 2009 12:08 am
Current Project: Learning from my C++ book.
Favorite Gaming Platforms: PC. Lurv it.
Programming Language of Choice: C++.
Location: Melbourne, Australia.

Re: Begineer projects.

Post by Rhys »

I'm up to creating my own functions. Not sure how much I can do with that.
User avatar
Moosader
Game Developer
Game Developer
Posts: 1081
Joined: Wed May 07, 2008 12:29 am
Current Project: Find out at: http://www.youtube.com/coderrach
Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
Programming Language of Choice: C++
Location: Kansas City
Contact:

Re: Begineer projects.

Post by Moosader »

I'd definitely suggest learning about classes. They're not that difficult (at least, not in my opinion?), and they're extremely useful.
fingerfry
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Tue Sep 01, 2009 6:31 pm
Favorite Gaming Platforms: Xbox 360, PC, Gameboy Advance SP
Location: Palm Desert, California
Contact:

Re: Begineer projects.

Post by fingerfry »

I'm in the same dilemma as you,Rhys. I don't know how to put the knowledge that I have absorbed to use. I want to be able to SEE the progress I have made. :/
Suggestion on simple projects would be appreciated :)
Image
User avatar
Moosader
Game Developer
Game Developer
Posts: 1081
Joined: Wed May 07, 2008 12:29 am
Current Project: Find out at: http://www.youtube.com/coderrach
Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
Programming Language of Choice: C++
Location: Kansas City
Contact:

Re: Begineer projects.

Post by Moosader »

Write something to solve polynomials using the quadratic equation?
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Begineer projects.

Post by MarauderIIC »

Beware of floating point subtraction (and division)!
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
Moosader
Game Developer
Game Developer
Posts: 1081
Joined: Wed May 07, 2008 12:29 am
Current Project: Find out at: http://www.youtube.com/coderrach
Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
Programming Language of Choice: C++
Location: Kansas City
Contact:

Re: Begineer projects.

Post by Moosader »

MarauderIIC wrote:Beware of floating point subtraction (and division)!
Aye! So also have it choose between

[-b +/- sqrt( b^2 - 4ac )] / 2a

and

2c / [-b -/+ sqrt( b^2 - 4ac ) ]

For maximum accuracy... :o

Though you (OP) probably have no idea what I'm talking about.
User avatar
Pickzell
Chaos Rift Junior
Chaos Rift Junior
Posts: 233
Joined: Sat May 16, 2009 10:21 am

Re: Begineer projects.

Post by Pickzell »

Moosader wrote:I'd definitely suggest learning about classes. They're not that difficult (at least, not in my opinion?), and they're extremely useful.
I don't know they were hard for me to understand at first. I caught by really thinking hard about them and really analyzing every line of code in the examples I found. Then again, they were never explained to me, I was left with an incomplete example and shitload of free time.
I'm an altogether bad-natured Cupid.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Begineer projects.

Post by Falco Girgis »

If the direct learning approach isn't working very well, find an open-source game or project and screw with it.
fingerfry
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Tue Sep 01, 2009 6:31 pm
Favorite Gaming Platforms: Xbox 360, PC, Gameboy Advance SP
Location: Palm Desert, California
Contact:

Re: Begineer projects.

Post by fingerfry »

I was thinking of making a program that would solve quadratic equations. I made a program that would take the two co-ordinates you entered and give you the slope, Point Slope equation, Standard Form equation, and General Form. It was fun to do. Now that you suggest quadratics, I'm thinking about extending it. :)
Image
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Begineer projects.

Post by Falco Girgis »

I think that making a program that takes a linear system of n equations and determines n variables is sooo much more impressive. (Use reduced row echelon form)
fingerfry
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Tue Sep 01, 2009 6:31 pm
Favorite Gaming Platforms: Xbox 360, PC, Gameboy Advance SP
Location: Palm Desert, California
Contact:

Re: Begineer projects.

Post by fingerfry »

What you just said went WAYYYYYYY over my head, Gyro. I have only been learning to program for a little over a month. I am a total noob and not afraid to admit it :mrgreen:

I just tried to take my program to quadratics but it was too complicated. I hadn't realized that I was programming in C and I have switched over to C++ since then. First, I had to translate Everything to C++. Then I tried to expand it, but I received a lot of errors (120 of them). I am frustrated because it worked perfectly in C. I'll submit it if I can get it to calculate quadratics :) Until then, don't count on me being able to do it :(
Image
Rhys
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 25
Joined: Mon Mar 09, 2009 12:08 am
Current Project: Learning from my C++ book.
Favorite Gaming Platforms: PC. Lurv it.
Programming Language of Choice: C++.
Location: Melbourne, Australia.

Re: Begineer projects.

Post by Rhys »

Solving linear graphs would be a nice one to program, it would help me with about a month of homework, heh.
Post Reply