Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Where can I learn C/C++?  (Read 7818 times)

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Where can I learn C/C++?
« on: September 21, 2007, 04:47:00 pm »

I already know a few things(I wrote a few DLLs for Mcell, but it was copy/paste then fill in with a custom set of ifs) and I am looking for a good place to learn about graphics. any suggestions?
Logged
Eh?
Eh!

Tormy

  • Bay Watcher
  • I shall not pass?
    • View Profile
Re: Where can I learn C/C++?
« Reply #1 on: September 21, 2007, 04:57:00 pm »

what about...in a school?   :D
Logged

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: Where can I learn C/C++?
« Reply #2 on: September 21, 2007, 05:24:00 pm »

what about..... school is not into C, only turing. And if they were into C, I would be ahead of them.
Logged
Eh?
Eh!

Gaulgath

  • Bay Watcher
  • ♪ Gold gold gold gold ♪
    • View Profile
Re: Where can I learn C/C++?
« Reply #3 on: September 21, 2007, 09:58:00 pm »

Check the library - they usually have all sorts of books about getting into all sorts of programming languages.
Logged

Sappho

  • Bay Watcher
  • AKA Aira; Legendary Female Gamer
    • View Profile
    • Aira Plays Games
Re: Where can I learn C/C++?
« Reply #4 on: September 21, 2007, 10:04:00 pm »

Community/Junior colleges generally have classes for this sort of thing, but since you said "the school" I'm assuming you're still in middle or high school and not yet college aged.  Still, if you check your local community college you might find that they will let you take a class - of course, you'd have to pay for that.

If college isn't an option, then your best bet is probably books.  Libraries always have them for free - if not in your school, then in your public library for sure.  If you live far enough out into the middle of nowhere that your library doesn't have computer books, then I am very sorry for you indeed.

If self-teaching works for you, you can also just try internet tutorials.  I've heard there's a web site called Google where you can search for things like that.

Good luck!  Hope you find a solution.

Fourth Triad

  • Bay Watcher
    • View Profile
    • http://www.bay12games.com
Re: Where can I learn C/C++?
« Reply #5 on: September 22, 2007, 01:10:00 am »

Try searching university websites for textbooks, sometimes they'll have free ones you can download that profs have written.    :) Oh and wikipedia has a computer programming section. Not sure if any of that helps, but good luck!

[ September 22, 2007: Message edited by: Fourth Triad ]

Logged

Grue

  • Bay Watcher
  • Fucked Up
    • View Profile
Re: Where can I learn C/C++?
« Reply #6 on: September 22, 2007, 03:49:00 am »

Don't. It's an ugly language, choose something better.
Logged

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: Where can I learn C/C++?
« Reply #7 on: September 22, 2007, 05:18:00 am »

"Don't learn C/C++" is bad advice to give without caveats. For example, in the games industry, if you don't know C or C++, you'll be stuck making cell phone games and Bejeweled. I've never seen a decent finished ASCII console game that I knew to be coded in another language than C or C++. Roguelikes are almost all, if not all written in C or C++. Want to learn the tricks that went into Nethack or Angband? You need to know know C to dissect the beast. Want to see what the Liberal Crime Squad source is like? You'll want to know C++ if you want to know what you're looking it. You may not like C and C++, but from Mario to Dwarf Fortress to the very operating systems you work on, Java ain't exactly the lingua franca of software.
Logged

4bh0r53n

  • Bay Watcher
    • View Profile
    • http://www.phpbber.com/phpbb/index.php?c=1&mforum=abhorsengames
Re: Where can I learn C/C++?
« Reply #8 on: September 22, 2007, 05:40:00 am »

quote:
I've never seen a decent finished ASCII console game that I knew to be coded in another language than C or C++.

try Mazecrawl, its coded in Pascal/Delphi, its not yet finished, but its in alpha atm

Logged
.B.H.O.R.S.E.N.: Abhorrent, Bloodthirsty, Hitchhiker-Obliterating Ravager from the Sunless Enchanted Necropolis

I dont explode Cats, its way to hard to coax them into the microwave...

Tormy

  • Bay Watcher
  • I shall not pass?
    • View Profile
Re: Where can I learn C/C++?
« Reply #9 on: September 22, 2007, 05:50:00 am »

quote:
Originally posted by Sappho:
<STRONG>Community/Junior colleges generally have classes for this sort of thing, but since you said "the school" I'm assuming you're still in middle or high school and not yet college aged.  </STRONG>

Wrong I am not in school but I am not working either. I am a poker player.
 :D

Logged

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: Where can I learn C/C++?
« Reply #10 on: September 22, 2007, 05:57:00 am »

I tried google, but the tutorials there are either too simple or too complicated.
What I really want, is a good game/graphics tutorial.
Hmm.... maybe I could look over the nethack source code... I already have it, but its a huge mess.

Oh wait... compiler has windows examples too.

[ September 22, 2007: Message edited by: qwertyuiopas ]

Logged
Eh?
Eh!

Karnaugh

  • Escaped Lunatic
    • View Profile
Re: Where can I learn C/C++?
« Reply #11 on: September 22, 2007, 07:28:00 am »

Lippman's C++ primer is a very good introduction to C++. You can probably get it from a lot of libraries, but a used one costs 3.45USD on amazon...

I hate to be this dull, but before you start thinking about graphics you should learn many other things. Just as an example, try to figure out how you would make a character intelligently move from one spot to another - and I'm not talking about animation now. (Try this http://www.policyalmanac.org/games/aStarTutorial.htm).

Once you have a good hang of programming (and game design), you can get a ready made graphics middle ware so there's no need to do everything from scratch. Garagegames sells a decent, but cheap engine. There are free ones as well, but there is less support (and more bugs, inferior performance).

Logged

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: Where can I learn C/C++?
« Reply #12 on: September 22, 2007, 08:47:00 am »

What I want, is a good way to draw to a windows window.
I have a small program modification, I am using as a debugging version, but it uses.....
console text to render a raycasted picture XD
and the console does not support real time.
I found a few examples, so I may use those....
Logged
Eh?
Eh!

kuro_suna

  • Bay Watcher
    • View Profile
Re: Where can I learn C/C++?
« Reply #13 on: September 22, 2007, 12:09:00 pm »

quote:
Originally posted by qwertyuiopas:
[QB]What I want, is a good way to draw to a windows window.
/QB]


sdl tutorial

Logged

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: Where can I learn C/C++?
« Reply #14 on: September 22, 2007, 12:24:00 pm »

quote:
Originally posted by 4bh0r53n:
<STRONG>

try Mazecrawl, its coded in Pascal/Delphi, its not yet finished, but its in alpha atm</STRONG>


Okay, that's close enough for me.  ;)

Logged
Pages: [1] 2