Forums

Topic: Programming

Posts 21 to 35 of 35

Slayer

I guess I'm using C++ over C. Honestly, there are tons of ways to learn C++ while C doesn't have many ways in PDF, website tutorial, or much for beginners...

I have nothing really to say about myself.

GuSolarFlare

I'm thinking of studying more programming by myself.... does anyone know where I can find a GOOD C++ or Java or any other good high level language online tutorial?(but not too high! dragging and dropping is lame!)

goodbyes are a sad part of life but for every end there's a new beggining so one must never stop looking forward to the next dawn
now working at IBM as helpdesk analyst
my Backloggery

3DS Friend Code: 3995-7085-4333 | Nintendo Network ID: GustavoSF

CorporalPegasus

Reading books about C++ for my (hopefully) future school currently. Its fairly long (800 pages), but i really like it so far.

IGOR!

KittenKoder

GuSilverFlame wrote:

I'm thinking of studying more programming by myself.... does anyone know where I can find a GOOD C++ or Java or any other good high level language online tutorial?(but not too high! dragging and dropping is lame!)

I recommend actually participating in the forums, instead of just a tutorial. There are a lot of resources you can Google for various task specific tutorials of all levels. The forums for programming will give you an insight as to what you need to know, giving you starting places, if you can ignore their arrogance well enough. Java is a picky language, it would be a great primer for c++, to give you experience in not only object oriented programming, but also things like memory management (making sure you don't waste it) and threading. You also can't really crash your computer with Java, as long as you don't override it's security. c++ is powerful, and don't pay any mind to the fankids of c or c++, or even Java depending on which you choose to focus on, they argue like playground gangs about nothing. For Java though, you have a ton of free resources available from Oracle, including tutorials and online reference manuals. c++ is a bit more difficult to filter the good from the out of date, thus you need the forums.

Friend list is full, I will be clearing room for Bravely Default soon though. Colors! 3D Gallery, My Blog
NNID: KittenKoder ..... what else would it be?

3DS Friend Code: 3497-0224-3414 | Nintendo Network ID: KittenKoder | Twitter:

GuSolarFlare

@KittenKoder thanks! I guess I"ll start with Java then(though I'll already have Java Classes at college next year)

goodbyes are a sad part of life but for every end there's a new beggining so one must never stop looking forward to the next dawn
now working at IBM as helpdesk analyst
my Backloggery

3DS Friend Code: 3995-7085-4333 | Nintendo Network ID: GustavoSF

KittenKoder

GuSilverFlame wrote:

@KittenKoder thanks! I guess I"ll start with Java then(though I'll already have Java Classes at college next year)

You are welcome.

My motto, there's always an excuse to learn more. Learning it on your own first gives you more time to learn it better in school.

Friend list is full, I will be clearing room for Bravely Default soon though. Colors! 3D Gallery, My Blog
NNID: KittenKoder ..... what else would it be?

3DS Friend Code: 3497-0224-3414 | Nintendo Network ID: KittenKoder | Twitter:

Slayer

GuSilverFlame wrote:

I'm thinking of studying more programming by myself.... does anyone know where I can find a GOOD C++ or Java or any other good high level language online tutorial?(but not too high! dragging and dropping is lame!)

http://www.cplusplus.com/doc/tutorial/
This is a PDF tutorial for beginners. I learned some important stuff from this.

I have nothing really to say about myself.

GuSolarFlare

so... can someone give me a few hints to manage my memory efficiently? you know since I'm only making small programs that make simple calculations and prints them any method works perfectly, but I wanted to know some tricks to do things better(you know what people say, if you get good habits early, things will be easier later)

Edited on by GuSolarFlare

goodbyes are a sad part of life but for every end there's a new beggining so one must never stop looking forward to the next dawn
now working at IBM as helpdesk analyst
my Backloggery

3DS Friend Code: 3995-7085-4333 | Nintendo Network ID: GustavoSF

Slayer

I'm thinking, if I'm going to make 3D games once I get a LOT better at C++, I might as well get game design software. I'm thinking Unity. Any objections?

I have nothing really to say about myself.

ramstrong

0Games wrote:

I'm thinking, if I'm going to make 3D games once I get a LOT better at C++, I might as well get game design software. I'm thinking Unity. Any objections?

If you want the bother to learn C++, better take up SDL, instead. SDL2 just came out, and it looks good!

Petit Computer Journal
Old site http://ramstrong.blogspot.com

Let's just call a spade, a spade.

3DS Friend Code: 1091-7596-4855

Raylax

GuSilverFlame wrote:

so... can someone give me a few hints to manage my memory efficiently? you know since I'm only making small programs that make simple calculations and prints them any method works perfectly, but I wanted to know some tricks to do things better(you know what people say, if you get good habits early, things will be easier later)

This is actually a very easy trap for beginners to fall into. To write good code: don't worry about optimization... yet. It sounds counter-intuitive, I know. You want your programs to run fast and smooth and by hyper-minimal and able to run on anything down to a fried egg with an electric current passed through it. And yes, writing hyper-performance code can feel pretty nice. But there is absolutely no reason to. Instead, do this:

  • Write your code as simply as possible. If it works, it works.
  • Run your code, test your code. Identify bottlenecks. And by bottlenecks, I mean things that are actually having a tangible effect on your code. If you've written some code that completes in 0.2 nanoseconds, but you've heard it's possible to make it run in 0.02 nanoseconds, don't worry about that. Worry about it when your customer / audience comes back and tells you that the thing hangs for five seconds every time they click it.
  • Optimize the bottlenecks. Only the bottlenecks.

Why? Two reasons. The main one: As soon as you want to write anything non-trivial, you do not have the time (and if you're in business, the money) to spend hours poring over every inch of code for nanosecond speed increases. It's just not practical. Fix only the bits that need fixing. Optimize only the bits that need optimizing. The second reason: To much optimization makes your code harder to read. Code that is hard to read is harder to maintain. Code that is hard to maintain quickly stops being optimal. Strive for readable code - even verbose code - rather than hyper-optimal code.

Simply put, if you're writing code that's readable, does exactly what it needs to do and just plain works, then congratulations. You're writing great code.

Edited on by Raylax

Raylax

3DS Friend Code: 0173-1400-0117 | Nintendo Network ID: RaylaxKai

GuSolarFlare

@Raylax thanks for the help! I'm no efficiency freak(I know one and I really dislike that guy, he thought I was clumsy and started bullying me but it's over so I won't talk deeper into this subject) but I was kind of afraid to do something so heavy that wouldn't work well(by well I mean no freezing or visible crazy slowdowns)

goodbyes are a sad part of life but for every end there's a new beggining so one must never stop looking forward to the next dawn
now working at IBM as helpdesk analyst
my Backloggery

3DS Friend Code: 3995-7085-4333 | Nintendo Network ID: GustavoSF

Raylax

GuSilverFlame wrote:

@Raylax thanks for the help! I'm no efficiency freak(I know one and I really dislike that guy, he thought I was clumsy and started bullying me but it's over so I won't talk deeper into this subject) but I was kind of afraid to do something so heavy that wouldn't work well(by well I mean no freezing or visible crazy slowdowns)

I find that people who write what they consider to be amazingly efficient programs invariably write horrendously unreadable source code. More people (and your future self) will thank you for code that's readable and maintainable, than for 'optimization' beyond the detection of mere mortals :3

Raylax

3DS Friend Code: 0173-1400-0117 | Nintendo Network ID: RaylaxKai

Slayer

ramstrong wrote:

0Games wrote:

I'm thinking, if I'm going to make 3D games once I get a LOT better at C++, I might as well get game design software. I'm thinking Unity. Any objections?

If you want the bother to learn C++, better take up SDL, instead. SDL2 just came out, and it looks good!

Huh. I'll check that out.
I'm working to keep this up. If it gets locked that's bad. I don't want it to get buried or anything XD

I have nothing really to say about myself.

GuSolarFlare

bump
I got Visual Studio 2010 ultimate(for free thanks to my college, I could get a more recent version but it'd be a waste on my weak PC) but I heard Microsoft Visual only makes bad programers, is it true?

goodbyes are a sad part of life but for every end there's a new beggining so one must never stop looking forward to the next dawn
now working at IBM as helpdesk analyst
my Backloggery

3DS Friend Code: 3995-7085-4333 | Nintendo Network ID: GustavoSF

This topic has been archived, no further posts can be added.