General Discussion Forum

Topic: Programming

Showing 21 to 35 of 35

AuthorMessage
Avatar

Slayer

21. Posted:

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...

"Hello sir, may I take your order?"
"Yes, I'll have a cheeseburger and fries..."
"I AM the cheeseburger and fries!"
Things you need to know about me:
I hate Texas.

AuthorMessage
Avatar

GuSolarFlare

22. Posted:

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 was once a fighter in spirit alone, but not long ago I found something that was missing and became a fighter in body and mind too.
looking forward to Codename S.T.E.A.M.
salty tears tenderize true beef
my Backloggery
my Banner made by Dark-Luigi!
My Galaxy Bio also by Dark-Luigi!

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

AuthorMessage
Avatar

CorporalPegasus

23. Posted:

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

Catbugloggery

AuthorMessage
Avatar

KittenKoder

24. Posted:

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: KittenKoder

AuthorMessage
Avatar

GuSolarFlare

25. Posted:

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

I was once a fighter in spirit alone, but not long ago I found something that was missing and became a fighter in body and mind too.
looking forward to Codename S.T.E.A.M.
salty tears tenderize true beef
my Backloggery
my Banner made by Dark-Luigi!
My Galaxy Bio also by Dark-Luigi!

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

AuthorMessage
Avatar

KittenKoder

26. Posted:

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: KittenKoder

AuthorMessage
Avatar

Slayer

27. Posted:

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.

"Hello sir, may I take your order?"
"Yes, I'll have a cheeseburger and fries..."
"I AM the cheeseburger and fries!"
Things you need to know about me:
I hate Texas.

AuthorMessage
Avatar

GuSolarFlare

28. Posted:

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

I was once a fighter in spirit alone, but not long ago I found something that was missing and became a fighter in body and mind too.
looking forward to Codename S.T.E.A.M.
salty tears tenderize true beef
my Backloggery
my Banner made by Dark-Luigi!
My Galaxy Bio also by Dark-Luigi!

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

AuthorMessage
Avatar

Slayer

29. Posted:

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?

"Hello sir, may I take your order?"
"Yes, I'll have a cheeseburger and fries..."
"I AM the cheeseburger and fries!"
Things you need to know about me:
I hate Texas.

AuthorMessage
Avatar

ramstrong

30. Posted:

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

AuthorMessage
AvatarStaff

Raylax

31. Posted:

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

ACNF: Visit Somni! DC: 7000 3442 7110
theblackdragon: ahaha perfect response to that thread, raylax
theblackdragon: eff your other responses, though
theblackdragon: all of them
theblackdragon: in the entire history of ever >:[
theblackdragon: they've all sucked

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

AuthorMessage
Avatar

GuSolarFlare

32. Posted:

@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 was once a fighter in spirit alone, but not long ago I found something that was missing and became a fighter in body and mind too.
looking forward to Codename S.T.E.A.M.
salty tears tenderize true beef
my Backloggery
my Banner made by Dark-Luigi!
My Galaxy Bio also by Dark-Luigi!

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

AuthorMessage
AvatarStaff

Raylax

33. Posted:

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

ACNF: Visit Somni! DC: 7000 3442 7110
theblackdragon: ahaha perfect response to that thread, raylax
theblackdragon: eff your other responses, though
theblackdragon: all of them
theblackdragon: in the entire history of ever >:[
theblackdragon: they've all sucked

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

AuthorMessage
Avatar

Slayer

34. Posted:

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

"Hello sir, may I take your order?"
"Yes, I'll have a cheeseburger and fries..."
"I AM the cheeseburger and fries!"
Things you need to know about me:
I hate Texas.

AuthorMessage
Avatar

GuSolarFlare

35. Posted:

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?

I was once a fighter in spirit alone, but not long ago I found something that was missing and became a fighter in body and mind too.
looking forward to Codename S.T.E.A.M.
salty tears tenderize true beef
my Backloggery
my Banner made by Dark-Luigi!
My Galaxy Bio also by Dark-Luigi!

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