EvilZone

Programming and Scripting => C - C++ => : LieksMudkipz July 26, 2011, 01:23:44 AM

: Where did you learn C++?
: LieksMudkipz July 26, 2011, 01:23:44 AM
Ok so I've been trying to break into programming, and I chose C++ as my first language. I use the Code::Blocks compiler and I've been using the cprogramming.com tutorials, but I'm not exactly loving it. Any suggestions?
: Re: Where did you learn C++?
: Kulverstukas July 26, 2011, 01:41:53 AM
One suggestion: choose a simple language, for the first language. Go for Python or Delphi. Really easy and specially python is a must know language (for me <3 python). Then when you will understand the basics of programming, how code flows, algorithms, syntax etc. then you can move to C.
: Re: Where did you learn C++?
: LieksMudkipz July 26, 2011, 02:36:44 AM
sounds good... any suggestions for a compler/tutorial in Python? I am a rank beginner unless you count some VERY limited Visual Basic knowledge so I would appreciate any and all help. Thank you for taking the time to help!
: Re: Where did you learn C++?
: Stackprotector July 26, 2011, 02:50:07 AM
sounds good... any suggestions for a compler/tutorial in Python? I am a rank beginner unless you count some VERY limited Visual Basic knowledge so I would appreciate any and all help. Thank you for taking the time to help!
the http://docs.python.org/library/ (http://docs.python.org/library/) is very good.
and u can just run it with python installed
: Re: Where did you learn C++?
: xzid July 26, 2011, 02:52:52 AM
Start with scripting. I agree python. On linux learn bash, on windows powershell(batch is dead). When you start C(++), use GNU(MinGW).

Keep in mind once you learn C you will no longer have API's to depend on. RFC's will be your source of information, not a place for a rookies. Say you want to use FTP, here is your info:

http://www.faqs.org/rfcs/rfc959.html (http://www.faqs.org/rfcs/rfc959.html)

Fun, huh? Take your time in learning, otherwise you'll learn 1/4 of 500 languages... And know nothing about using them. Alot of newbies say: "I can code C#, C, C++, asm, VB, fortran, java, delphi, perl, ruby, python, brainfuck, etc...", but the most they are capable of doing is copy/pasting a hello world program.

Go with scripting, but don't forget to come back to C later... It'll make you elite. If for hacking, drop the ++.
: Re: Where did you learn C++?
: LieksMudkipz July 26, 2011, 03:04:58 AM
Thank God for Google! I really didn't understand most of what you said back there but I got the gist: Learn a few basic languages well, really well, and then go back to C for hacking, right? Also what's wrong with C++? And on the topic of hacking, although I'm not there yet, I like the idea of learning to hack. But I don't like the idea of ripping of people, or jail. Is this a problem?
: Re: Where did you learn C++?
: xzid July 26, 2011, 03:33:54 AM
go back to C for hacking, right?

Not exactly, for hacking you will need several languages. And knowing the languages will not be sufficient, if all programmers knew these things... Hacking wouldn't be an issue, or we'd have way too many hackers. C will help you learn specific things that will help alot. Forgive me if I'm being vague, but researching is now your job.

Also what's wrong with C++?

C++ isn't low-level, with a knowledge of C & asm you will understand everything about what your program is doing.

The internet & your OS are both designed around C. C was created to write UNIX. Most network protocols(IP, for example) are C structures sent over networks, with C code handling it locally.

But I don't like the idea of ripping of people, or jail. Is this a problem?

I'm not sure what you mean, ripping off people like code, servers, money? I'm assuming you know nothing, jail is not a problem.
: Re: Where did you learn C++?
: Stackprotector July 26, 2011, 03:41:00 AM
But I don't like the idea of ripping of people, or jail. Is this a problem?
The information is free, do with it what you like.
You can help people, help the world, getting a little more safe.
Or you can rip of old lady's, its the same as fighting you can slap old lady's, or you can protect them against harm ;)
: Re: Where did you learn C++?
: LieksMudkipz July 26, 2011, 04:06:05 AM
Yeah I don't want to rip people off but i'm also very curious and would love to go after secure systems just for the challenge. I mean I know there are plenty of hackers who do "illegal" things for the sake of the hack. What are your opinions on this?
: Re: Where did you learn C++?
: Kulverstukas July 26, 2011, 04:25:35 AM
This topic is going a little off-topic :(

On topic: don't rely on tutorials and books how to code. They are useless. Instead make up a project and start coding it. You will learn shittons on the way. Read read read. Take an existing project and rip it apart, see how it works.
It is the only way to learn a language really - it's how I do it.
: Re: Where did you learn C++?
: Huntondoom July 26, 2011, 11:23:00 AM
I first learned VB.net then I learned Visual C# (since they're are quite alike)
and now im learning C++
: Re: Where did you learn C++?
: recursion April 22, 2012, 03:39:14 AM
I began learning C++ from http://www.cplusplus.com, first.
I also took a course in college using C++ which helped master it.
: Re: Where did you learn C++?
: daedalus May 02, 2012, 03:55:35 AM
C++ Primer and The C++ Programming Language

The C++ Programming Language is pretty dry, though.