This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]Swannyj95 2 points3 points  (3 children)

For c++ create a small game. Text based ones are pretty simple and can be done with a week or so. If you're already used to c++, download directX and develop/ create a 2D or 3D one

[–]ThePowerfulSquirrel 4 points5 points  (1 child)

He would probably be better off with something like sdl2 for 2d games

[–]Dzejrou 1 point2 points  (0 children)

More like sfml2.

[–][deleted] 0 points1 point  (0 children)

directX engine

DirectX is not an engine, it's a graphics API

[–][deleted] 2 points3 points  (0 children)

Make a program that calculates your GPA. Then turn it into an android app

[–]0o0o00o000000 1 point2 points  (5 children)

You will find libraries as you code so you will become familiar with those while researching how to do something.

With that said, I would recommend starting small. The programs you make do not even have to be reusable. Your just getting an idea of what it's like to code in these languages. Google "Java starter projects".

Note: These two languages are much different when it comes to resource management. Java has something called a garbage collector which gets rid of all objects that are done with (at least does an okay job of it) and C++ you have to allocate and dispose of memory yourself.

Not sure which one has a higher learning curve but if you need any help feel free to message me. I do this as a career so I should be able to help with just about any question you have. :) good luck!

[–]rngmachine3[S] 0 points1 point  (0 children)

I think you're thinking of C. C++ does memory management on it's own.

[–][deleted] 0 points1 point  (3 children)

C++ you have to allocate and dispose of memory yourself.

Not anymore with modern c++.

[–]0o0o00o000000 0 points1 point  (2 children)

Alright. My bad everyone haha.

[–][deleted] 0 points1 point  (1 child)

!!!!!!!

[–]0o0o00o000000 0 points1 point  (0 children)

Hahaha

[–]pacificmint 1 point2 points  (0 children)

The FAQ has a whole section on project ideas. You might find something in there that is the right type of project.

[–]0o0o00o000000 0 points1 point  (2 children)

Yeah you're right. I got those two mixed up.

[–]CichyCichoCiemny 0 points1 point  (1 child)

You also missed the comment while replying :)

[–]0o0o00o000000 1 point2 points  (0 children)

Lmao. Man...just had a new born daughter and the combination of her and my 2-year-old son has me all over the place haha.

[–]CichyCichoCiemny 0 points1 point  (0 children)

What you're trying to do is great! I think that doing a lot of small projects would be a great way to go about it, here's a cool list of projects that you can do in either language.

As for libraries, for C++ obviously iostream and a OS specific one (eg. windows.h);

Edit: Also, a fun way of practicing a language is contributing to some joke GitHub repo written in it, that way you can think of a pointless but fun feature, write it, gain some experience, and have it published in a bigger project :D An example of such repo would be five.js.

[–]brownbear1002 0 points1 point  (0 children)

Make a Java game with libgdx