• C++ Advice for Newbie?
    18 replies, posted
Hello! So i've ALWAYS wanted to program... I've ALWAYS wanted to learn HOW to program.. But the problem is i always have trouble making it all the way through and i NEVER know where exactly i'm supposed to start to pursue this! Well this time i wanna make that change! So all i'm asking from you guys who are experienced in this is to help maybe lead me in the right direction? Whether it be a series of books, a video tutorial series or anything else! I Don't need to know JUST and ONLY the syntax for the language but i also need to know how to PROGRAM! What i mean by that is i don't only want to know what the syntax is to actually write something but also why i would WANT or NEED to write it that way or how to Utilize it... (Hopefully you know what i mean by that.) So yeah obviously i can't ask you guys to get me ALL the way through this journey but all i want to know is how and where do i actually start! Thanks. (I Know C++ is a very complicated language and i hear that its not the best language to actually start with. Well from what i've heard C++ is one of the most powerful languages out there and can be used for almost anything! So this is what i want to start with. And i feel i can get through it, maybe not but i guess i'll find out and if i do fail i'll start with another language but untill then i want to focus on C++)
[url]https://www.reddit.com/r/cpp[/url] Theres a sidebar on that subreddit.
Obviously i still need to learn the syntax too i'm just saying to learn actual PROGRAMMING aswell learning the syntax seems useless if i don't actually know what to do with it or how to utilize it. [editline]2nd February 2016[/editline] [QUOTE=Proclivitas;49662809][url]https://www.reddit.com/r/cpp[/url] Theres a sidebar on that subreddit.[/QUOTE] Oh thank you! :)
leaVE WHILE YOU STILL CAn [editline]2nd February 2016[/editline] if you want to try to make videogames with C++ or something, you can try [url]http://lazyfoo.net/tutorials/SDL/index.php[/url] its how i learned personally, tho i did it with the old SDL 1.2 tutorial set. whatever you do, whatever language, if you really want to learn how to program, imo, just make a bunch of stuff on your own accord. experiment, have fun. make pong or something.
[QUOTE=awcmon;49662838]leaVE WHILE YOU STILL CAn [editline]2nd February 2016[/editline] if you want to try to make videogames with C++ or something, you can try [url]http://lazyfoo.net/tutorials/SDL/index.php[/url] its how i learned personally, tho i did it with the old SDL 1.2 tutorial set. whatever you do, whatever language, if you really want to learn how to program, imo, just make a bunch of stuff on your own accord. experiment, have fun. make pong or something.[/QUOTE] Thanks for the advice man will do! :)
[QUOTE=awcmon;49662838]leaVE WHILE YOU STILL CAn [editline]2nd February 2016[/editline] if you want to try to make videogames with C++ or something, you can try [url]http://lazyfoo.net/tutorials/SDL/index.php[/url][/QUOTE] They are so wrong, I wouldn't even touch them with a stick. As a good start with [B]C/C++[/B] you'd better check Philip Buuck's Handmade Quake: [url]https://www.youtube.com/playlist?list=PLBKDuv-qJpTbCsXHsxcoSSsMarnfyNhHF[/url]
MY advice to you is to not use lazyfoo.
Okay so you've asked us like twice already [URL="https://facepunch.com/showthread.php?t=1491992&p=49026160#post49026160"]Here[/URL] and [URL="https://facepunch.com/showthread.php?t=1484720&p=48637962#post48637962"]Here[/URL]. Seems like your main issue is that you simply don't have the ability to learn or gain knowledge. I don't know. Motivational problems maybe? What is your goal? I did a quick google search of your username and I see that you are really into counter strike cheats. Do you want to make these or do you want to make video games? The Internet is a powerful resource. Using google should get you started, and using youtube should get you started with some video tutorials. Googling "How do I learn to program" will get you the answers you want. It all really comes down to if you're serious about learning it. It is not an easy thing to learn.
[QUOTE=soda105;49662767](I Know C++ is a very complicated language and i hear that its not the best language to actually start with. Well from what i've heard C++ is one of the most powerful languages out there and can be used for almost anything! So this is what i want to start with. And i feel i can get through it, maybe not but i guess i'll find out and if i do fail i'll start with another language but untill then i want to focus on C++)[/QUOTE] Don't listen to people saying C++ is too complicated for beginners. Until you come to some advanced topics and language specific stuff, a while loop and other basic stuff will be the same shit in any language you pick. You seem to write how you want to learn to program, but you never write what have you done so far. Did you go trough some tutorials, have you made some basic programs yourself ? Codeacademy.com has a nice friendly Python tutorial which ends with a small project where you make a simple "Batleship" console game at the end. It shows how basic things like text input and loops can be used to make a basic game. It's funny since a console version of Battleship was the first "big" project and the first game I ever made in C++, though it was a bit more advanced. Then you can check out C and C++ tutorials on tutorialspoint.com. The examples there are not the most interesting, but they go deeper into basic theory(which codeacademy doesn't), and it is better made than C and C++ courses I had at college. Really the best way to actually learn to program is to set up a goal, a game or something, and stick with it until you make it. You can read about swimming techniques as much as you want, but the only way to learn how to swim is to get wet. Personally I learned more about programming while making my game projects, then I had at college.
C++ really isn't that hard. I learned most of the features when I was 15. My best advice is just to dick around with the language and make basic projects until you understand what is going on, that's what I did. It will take a while to fully grasp all of C++'s "features", but it is worth it (stackoverflow is your friend). What do you want to make with C++? [QUOTE]Personally I learned more about programming while making my game projects, then I had at college.[/QUOTE] I completely agree, college hasn't taught me shit.
I like SFML. it has a much easier learning curve than SDL in my opinion, and the documentation and tutorials are better
Thank you all so much for the helpful replies! I Really really do appreciate it! I was gone all day i'm sorry i couldnt reply to you guys earlier but i will go over each and every one of these replies and get started and hopefully make it through and accomplish this finally! Thanks again for all the replies this helped a lot!
C++ is really easy once you get the hang of it and understand what most stuff does and all that. [url]http://www.cplusplus.com/[/url] Has some great tutorials and is a great reference to use. Its helped me a lot. There are also many youtube tutorials on C++.
[QUOTE=Verideth;49667462]C++ is really easy once you get the hang of it and understand what most stuff does and all that. [url]http://www.cplusplus.com/[/url] Has some great tutorials and is a great reference to use. Its helped me a lot. There are also many youtube tutorials on C++.[/QUOTE] Thank you very much Verideth i will definitely look into this! Although it's not gonna be easy i'm glad to know that C++ isnt as hard as what i hear. :) [editline]3rd February 2016[/editline] [QUOTE=AntonioR;49664422]Don't listen to people saying C++ is too complicated for beginners. Until you come to some advanced topics and language specific stuff, a while loop and other basic stuff will be the same shit in any language you pick. You seem to write how you want to learn to program, but you never write what have you done so far. Did you go trough some tutorials, have you made some basic programs yourself ? Codeacademy.com has a nice friendly Python tutorial which ends with a small project where you make a simple "Batleship" console game at the end. It shows how basic things like text input and loops can be used to make a basic game. It's funny since a console version of Battleship was the first "big" project and the first game I ever made in C++, though it was a bit more advanced. Then you can check out C and C++ tutorials on tutorialspoint.com. The examples there are not the most interesting, but they go deeper into basic theory(which codeacademy doesn't), and it is better made than C and C++ courses I had at college. Really the best way to actually learn to program is to set up a goal, a game or something, and stick with it until you make it. You can read about swimming techniques as much as you want, but the only way to learn how to swim is to get wet. Personally I learned more about programming while making my game projects, then I had at college.[/QUOTE] Wow okay! Glad to hear that, thanks so much man!
[QUOTE=Verideth;49667462]C++ is really easy once you get the hang of it and understand what most stuff does and all that. [url]http://www.cplusplus.com/[/url] Has some great tutorials and is a great reference to use. Its helped me a lot. There are also many youtube tutorials on C++.[/QUOTE] Funny enough, cplusplus.com uses the c library as first reference, even though you shouldn't mix C and C++
[QUOTE=Leystryku;49671049]Funny enough, cplusplus.com uses the c library as first reference, even though you shouldn't mix C and C++[/QUOTE] Wow, I didn't know that. Guess you learn something everyday haha
Always remember that this community is full of people willing to help, be it spot a compile error or help you understand something
Aside from toying around a bit with BASIC and Pascal when I was younger, I didn't really get into programming until about a year ago. I'm still a total newbie but I can say that I've learn a lot over the past year. A site that REALLY helped me is Codewars ( [url]http://www.codewars.com/[/url] ) It has a cool approach to learning key programming concepts that cross many programming languages. You're given a problem to solve, called a Kata, and if your code solution work you get points and can browse all the other code submitted by others. Code comparison is the best aspect of Codewars, as you can see multiple ways of solving the same program using different logic. Solutions get ranked as 'Best Practice' or 'Clever' by others and you can see how close your solution is. Really helps to learn what 'best practices' are and why they are seen as such. I still have SO much to learn. It took me such a long time to get a point where I felt familiar enough with what is out there to pick a language to focus on. I took a deep dive into javascript/ECMAscript for a few months, played with python and ruby, but really, I want to make games, so C# is the language I'm focusing on now.
My starting ground was making an addon for WoW that i kepth expanding and adding new features. My personal advice is to pick a game you like, see if it's easy to mod, think of something small you'll lile to make/add/improve in said game. And if you're learning a new coding language, or learning your first code language, focus on syntax. Try to understand how things work and [B]why[/B] they work like that. And don't start with a big project, it's better to start with something small and fun you find interesting because it won't take to long to make and you'll see results faster.
Sorry, you need to Log In to post a reply to this thread.