[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/prog/ - Programming

Programming board

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
A message from @CodeMonkeyZ, 2ch lead developer: "How Hiroyuki Nishimura will sell 4chan data"
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


aa74e5 No.2077

Is it possible for me to learn c++, even if i majorly suck at math?
Also any tutorials that help me to understand code and what can i do with it? Like what can i type and such.

000000 No.2087

do some online programming tutorial on codecademy or whatever to find out if you enjoy it.
if you do, just google for some c++ tutorials. if you can't do that then you're too young or too old and should try again when your understanding of computers and how they work has increased.

don't try programming on windows, it's easy to set up visual studio and get started but as soon as you need external libraries to do something more advanced it will be complicated as fuck and when you figure out how to do it it will still be annoying as fuck.

i sucked at math too when i started programming but when i had a math problem that i needed to solve to continue coding i was able to learn that stuff because i was a lot more motivated than at school.
if something just doesn't work then just go for a walk and let your mind wander and maybe sleep over it and your subconsciousness will sort the information into logical groupings and next time you try to work on that task it will be much easier.

you probably should start with python or writing your own lua scripts for Minetest before moving to c++, but starting with it right away will work too as long as you actually enjoy logical problem solving.

sage because there is no right way, just do whatever you enjoy most, fgt.

aa74e5 No.2089

>>2087
Thanks anon

ee3a29 No.2434

C++ and other imperative languages are far less mathematical in nature than, say, functional languages.

Just be careful when searching for C++ tutorials. The vast majority of the ones floating around are awful and outdated.


9fca98 No.2442

In my opinion, it's very possible to learn C++ without being good at math. I mean, what do you mean by math? Math to me means algebra more than logical thinking. You'll definitely need logical thinking, but other than a grasp on how the math works, there's no real need to be *good* at it…


1397d7 No.2497

Sort of.

You may think that you suck at maths, and be mistaken. See: https://www.maa.org/external_archive/devlin/LockhartsLament.pdf

tl;dr: most mathematicians agree that maths is grossly misrepresented in school, with the wrong things emphasized. Yes, what you do is important for 'real maths', but most teachers up until university won't tell you how something works, or how it was discovered, or why we know it's true. They'll just give you a formula or a rule.

Coding is logic and problem solving. So is maths. You can be mathematically mediocre, but still be a great programmer. You can write lots of code and barely encounter anything above basic highschool maths. But people who are good at programming tend to be the sort of people who could be good at maths.

I used to think I was shit at maths until I started coding. It made me look at maths a different way, and then I went to university to study maths, and they actually taught the beauty behind it.


4492cf No.2501

>>2497

What are the things that you did when you started coding?

Like did you read some books or started by doing some tutorials?

Also that pdf is interesting, thanks.


c87239 No.2509

Don't confuse computation with mathematics, fool.


2450df No.2525

>>2501

I just started with tutorials, but I was just fucking around at the time. If you're just wanting to see if you like it, then use some tutorials and write some toys. Simple, logical increments.

Dice roller

higher/lower guess the number game (user guesses computer's)

Magic 8 ball

higher/lower guess the number game (computer guesses user's)

etc.

When you're ready to get serious, use books, but be careful - many programming books are shit. After you finish a few little mini challenges, you should have a bit of an idea if this is the sort of stuff you might like, or if you don't enjoy it at all. Try to avoid googling except for syntax stuff, and small parts of the problem - the key is to be able to break problems down into smaller problems that you can either solve by yourself, or find a simple solution online, then piece them together.

SICP is a solid choice for a beginner. Not the language you wanted, but it's more about learning to program, rather than learning a particular language. There's most likely other good books for beginners, but I couldn't tell you them.

It's good to know how the common data structures work, along with their advantages, disadvantages, and use cases.

Learn about pointers before learning about these.

Arrays

Linked Lists

Doubly Linked Lists

Trees

Binary Trees

Binary Search Trees

Self-Balancing Binary Search Trees

Stacks

Queues

And some typical sorting and searching algorithms.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]