Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Trying to learn programming, please help!!!!

Trying to learn programming, please help!!!!

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutoriallearning
10 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kyleiscool2004
    wrote on last edited by
    #1

    I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer (There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know. K.G.

    D J T J 4 Replies Last reply
    0
    • K kyleiscool2004

      I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer (There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know. K.G.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      kyleiscool2004 wrote: I am trying to learn C and c++.I am okay at both. That's a broad request. What do you want to know about specifically? kyleiscool2004 wrote: I would like to know where to go to get started... Didn't you earlier state that you were okay at both? It sounds like you've already started. Do you know how to declare variables and assign values to them? Do you know how to get input from the user? Do you know how to output (formatted) data to the screen? Do you know how to open/close files? Do you know how to create a function and have it return a value? Do you know how to create a for/while loop?


      "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

      K 1 Reply Last reply
      0
      • K kyleiscool2004

        I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer (There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know. K.G.

        J Offline
        J Offline
        jmkhael
        wrote on last edited by
        #3

        A good site would be www.gamedev.net[^] Check the Resources (for beginners) Papa while (TRUE) Papa.WillLove ( Bebe ) ;

        N K 2 Replies Last reply
        0
        • J jmkhael

          A good site would be www.gamedev.net[^] Check the Resources (for beginners) Papa while (TRUE) Papa.WillLove ( Bebe ) ;

          N Offline
          N Offline
          Ni m
          wrote on last edited by
          #4

          http://nehe.gamedev.net/ - openGL

          1 Reply Last reply
          0
          • K kyleiscool2004

            I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer (There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know. K.G.

            T Offline
            T Offline
            Taha Elsayed
            wrote on last edited by
            #5

            hi there, you must first learn how to be a programer 1]get some stuuf in computer scince a)http://computer.howstuffworks.com/ ( to learn how computer hardware works) b)get some free books in programming from (http://www.maththinking.com/boat/computerbooks.html) to learn about how to write a good algorith. 2]learn visual c++ 3]get microsoft directx sdk,opengl sdk & some modern game design book. after doing that you will be a great games programmer

            1 Reply Last reply
            0
            • K kyleiscool2004

              I am trying to learn C and c++.I am okay at both.I am 13 and want to be a programmer for games but I do not know how to get started plus I am not that great of a programmer (There are some things about programming you can't get from a book).I would like to know where to go to get started and where to get tutorials for programming.So if anybody knows any good sites I'd be hap[py to know. K.G.

              J Offline
              J Offline
              John R Shaw
              wrote on last edited by
              #6

              kyleiscool2004 wrote: There are some things about programming you can't get from a book You are right! You have to learn to think like a programer, and that comes with understanding plus experience. There are some totorials at codeproject that may help, such as pointers. One of the best ways I know of (when starting) is to take a look at the C library functions (strlen,strcpy,strtok,etc...) and try to write your own versions. Example:

              int MyStrLen(const char* pStr)
              {
              int i;
              if( !pStr )
              return 0;
              for( i=0; pStr[i]; ++i ) {}
              return i;
              }

              // OR

              int MyStrLen(const char* pStr)
              {
              int i = 0;
              if( pStr )
              for( i=0; pStr[i]; ++i ) {}
              return i;
              }

              // OR

              int MyStrLen(const char* pStr)
              {
              char* pStart = pStr;
              if( pStr )
              for( ; pStr; ++pStr ) {}
              return (pStr - pStart) / sizeof(char);
              }

              If you know why each of the above works, then you are well on your way! As for game programming there are lots of sights where you can look, but none of them will do you any good unless you understand the language. Also, game programming is very math intensive; so you will need to be very good at mathmatics. Well, have fun and learn all you can! INTP

              1 Reply Last reply
              0
              • D David Crow

                kyleiscool2004 wrote: I am trying to learn C and c++.I am okay at both. That's a broad request. What do you want to know about specifically? kyleiscool2004 wrote: I would like to know where to go to get started... Didn't you earlier state that you were okay at both? It sounds like you've already started. Do you know how to declare variables and assign values to them? Do you know how to get input from the user? Do you know how to output (formatted) data to the screen? Do you know how to open/close files? Do you know how to create a function and have it return a value? Do you know how to create a for/while loop?


                "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

                K Offline
                K Offline
                kyleiscool2004
                wrote on last edited by
                #7

                DavidCrow wrote: Didn't you earlier state that you were okay at both? It sounds like you've already started. Do you know how to declare variables and assign values to them? Do you know how to get input from the user? Do you know how to output (formatted) data to the screen? Do you know how to open/close files? Do you know how to create a function and have it return a value? Do you know how to create a for/while loop? When I said: I would like to know where to go to get started... I meant learning techniques in game programming? I am okay at programming,Yes,But i want to know some advanced techniques.Such as how to change the way an image looks and how to make the charachters look as if they are alive.thanks. kyle

                D 1 Reply Last reply
                0
                • J jmkhael

                  A good site would be www.gamedev.net[^] Check the Resources (for beginners) Papa while (TRUE) Papa.WillLove ( Bebe ) ;

                  K Offline
                  K Offline
                  kyleiscool2004
                  wrote on last edited by
                  #8

                  Thankd for showing me this website.It helped alot.

                  J 1 Reply Last reply
                  0
                  • K kyleiscool2004

                    Thankd for showing me this website.It helped alot.

                    J Offline
                    J Offline
                    jmkhael
                    wrote on last edited by
                    #9

                    Glad to help Papa while (TRUE) Papa.WillLove ( Bebe ) ;

                    1 Reply Last reply
                    0
                    • K kyleiscool2004

                      DavidCrow wrote: Didn't you earlier state that you were okay at both? It sounds like you've already started. Do you know how to declare variables and assign values to them? Do you know how to get input from the user? Do you know how to output (formatted) data to the screen? Do you know how to open/close files? Do you know how to create a function and have it return a value? Do you know how to create a for/while loop? When I said: I would like to know where to go to get started... I meant learning techniques in game programming? I am okay at programming,Yes,But i want to know some advanced techniques.Such as how to change the way an image looks and how to make the charachters look as if they are alive.thanks. kyle

                      D Offline
                      D Offline
                      David Crow
                      wrote on last edited by
                      #10

                      kyleiscool2004 wrote: I would like to know where to go to get started... I meant learning techniques in game programming? Understood. I should have read a bit closer. As I've never programmed games, I'm not much help. Maybe a walk-through of DirectX would prove useful.


                      "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups