|is trigonometry and calculus needed for programming? I know it is if your going to be creating like your own graphics engine but would you really need to know anything more then lets say sin, cos, tan and their inverses?|
It really depends like you said on what type of programming you will be doing. But generally production level programming will be pretty maths intensive and it is good to have a great grounding in maths.
Though with that said we are in a Game Development thread so I will point out that YES you will need to know trig and calculus for game development. Even if you don't touch a single line of code in the graphics engine portion you will still need to know them because they come into play a lot in games.
A quick example would be knowing how to find the angle between two vectors (For example you want to turn and face the enemy so you can fire a rocket to blast him to hell). With trig this is easy all we need is the dot product and we are set.
You will get especially maths heavy when you get into AI portions of games. Stuff like using physics to do autonomous movement using steering behaviors, graph theory for path finding, behavior trees and more advanced subjects like neural nets all are greatly simplified if you have a good understanding of basics and advanced maths subjects.
So to try and give a short answer to your questions no not all aspects of programming do you necessarily need to know advanced trig and calculus to progress in programming. Though with that said it will not knowing will make it much more of a chanllenge when you do run into something that needs that knowledge. So while you don't need
to know advanced maths they still definitely do help to know.
|Ty so much for all the replies, not only you but everyone! :) C++ is just intimidating, programming is intimidating. I just looked at a program someone I met online created after a month and I didn't understand anything! It was a console program and I still didn't understand anything. It makes me feel really bad at c++ even though I know in a month you can learn a lot, heck I learn something new about c++ every day. It just feels impossible sometimes... I hope I can do it, though. I've never been confident in myself sadly t.t|
If you truly want to learn how to program in C++ remember that it will take time. It is not something that you can learn in a week, a month or even a year.
Programming is not something that you can ever fully learn, there will always be something you don't know and something new to learn. This is what makes it so exciting and fun for so many, it gives us a chance to constantly keep evolving our skills and have fun figuring out solutions to tough problems you will most likely never see in any other profession.
I will be blunt and say that programming is not for people who don't like a challenge and don't like problem solving. Because that is exactly what programming is, figuring out how to solve problems.
But don't be discouraged by the time it takes to learn it and how tough it can get. If you stick with it and have the determination and drive you will have no problem at all. Also after a month or so it will start to get easier because you will start to get the hang of it. Anyways best of luck with your learning I'm sure you will do fine.
Also I too have a love for game development and have been programming games in C++ for awhile now, so if you have any questions or need help with anything please feel free to PM me or even just post on this forum there are plenty of us here with plenty of game programming experience.