How do you learn to code? Tips tricks? Trying to learn c++.
1. Why C++
2. Learn C
>>61278040
Unity
>>61278030
just do it.
mainly find something interesting and make things around it.
try making a 4chan c++ interface and customise it for your browsing pleasure
>>61278057
Well I'm like fetus trying to skateboard new to coding.
https://isocpp.org/faq
>>61278075
There are tutorials for everything. stack overflow is your friend.
but for something simpler check out https://projecteuler.net/
it starts as simple math problems that are easy to code but get you to think about memory and datatypes
>>61278030
Get a few books. Lots of people will tell you not to get books. The real problem is finding good books on programming. What you're looking for is a book that tries to give you the syntax, and give you an understanding of the right words to use when describing doing things when programming. You need those words and the syntax so that you can google more specific problems and know if the code you're seeing in the answers actually answer your questions, because you're going to be horribly unoriginal for a very, very long time and people will have done what you're trying to do before. By the time you become less unoriginal, you'll have a much better understanding of how to "code" and you'll be able to come up with unique stuff yourself.
>>61278030
>>61278155
Here's some to get you started.
https://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list
>>61278155
This
Also remember to exercise, searching for some C++ problems on Internet
>>61278030
Read a book
Do the exercises
Read a Data Structures book
Do the exercises
Implement all the algorithms
Don't start with C++. Start with Python, Java or C.
>>61278057
>>61278075
DON'T do this if you're new to programming. If you want to learn networking you definitely don't want to try learning it with C++, especially if you are new to programming in general, because you will give up real quick.
>>61278056
don't you mean unreal?
>>61278056
unity uses c# you utter mong
>>61278900
Fuck you right
>>61279929
Kek, if you're that retarded learn JavaScript, you can use JavaScript instead of C# in Unity.
>>61278040
Even tho unity uses c# it is written mostly in c++, so learn game programming and go work in unity
>>61280428
Dont, leave js to to normies, no one programs games in js and becomes successful
>>61280622
That's why I specifically stated that JS is for retards in my post.
Write x86 programs with a hex editor first. Then when you get that down you can use an assembler. After that use C, and then whatever.
>>61278030
Learn C first.
>>61278057
>4chan c++ interface
Would you put that in your resume?
The same way you learn any language. Learn it while you're very young or don't learn it ever in your life.
>>61281259
Who wouldn't? 4chan is the greatest hacker of all time. It shows you know your stuff if you frequent his homepage.
>>61278295
This.
Also, do the exercises
C++ is a very hard language. If you try to learn that as a first language you will, understandably, lose your patience. What I suggest you do before you embark on this journey is: install Arch Linux only using their wiki. Now this might seem like an impossible task, and it very well might be. But, through this adventure, you will gain the patience and resilience of a Buddhist monk. You can do it, just always remember: Check yourself before you wreck yourself.
Is this a "/g/ helps C++ babbies to their assignments for their class" thread?
Needing some serious help understanding something with strings and pointers.
Need to write a code that determines the lenght of a char string and a code that finds index of a character in a string. Honestly got not clue what to do. Any help?
>>61281389
https://www.youtube.com/watch?v=atuFSv2bLa8
>>61282881
Use pointer arithmetic.int strlen(char *str)
{
for(char *strend = str; *strend; strend++);
return strend - str;
}
>>61278109
Not OP, but looks like an extremely helpful site.
Thanks cob.
>>61278862
>shit workflow
>shit macro based reflection in c++
>terrible UI
You are stupid.
>>61280428
Literally retarded, C# >>>>>>> JavaScript >>>>>>>>>>>> UnityScript.
protip: unity doesn't actually have javascript support.
/g/ is so retarded about programming.
>>61286227
>You are stupid.
you can't read 3 short posts without completely missing their point
>>61286292
Are you sure you didn't miss the point of my post?
>>61278030
Step one: Learn a better language
>>61281295
Anonymous is the greatest hacker of all time you uninformed slut.
Where to download a .pdf of Principles and Practice Using C++ (2nd Edition)?
>>61286661
http://ptgmedia.pearsoncmg.com/images/9780321992789/samplepages/9780321992789.pdf
literally googled it
>>61286661
>>61286773
oops i think that's some sample or something sorry
go peek around on some torrent sites for it or whatever