Author Topic: Where did you learn C++?  (Read 5417 times)

0 Members and 1 Guest are viewing this topic.

Offline LieksMudkipz

  • /dev/null
  • *
  • Posts: 14
  • Cookies: 0
    • View Profile
Where did you learn C++?
« on: 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?

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Where did you learn C++?
« Reply #1 on: 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.

Offline LieksMudkipz

  • /dev/null
  • *
  • Posts: 14
  • Cookies: 0
    • View Profile
Re: Where did you learn C++?
« Reply #2 on: 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!

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Where did you learn C++?
« Reply #3 on: 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/ is very good.
and u can just run it with python installed
~Factionwars

Offline xzid

  • Knight
  • **
  • Posts: 329
  • Cookies: 41
    • View Profile
Re: Where did you learn C++?
« Reply #4 on: 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

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 ++.

Offline LieksMudkipz

  • /dev/null
  • *
  • Posts: 14
  • Cookies: 0
    • View Profile
Re: Where did you learn C++?
« Reply #5 on: 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?

Offline xzid

  • Knight
  • **
  • Posts: 329
  • Cookies: 41
    • View Profile
Re: Where did you learn C++?
« Reply #6 on: 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.
« Last Edit: July 26, 2011, 03:34:10 am by xzid »

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Where did you learn C++?
« Reply #7 on: 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 ;)
~Factionwars

Offline LieksMudkipz

  • /dev/null
  • *
  • Posts: 14
  • Cookies: 0
    • View Profile
Re: Where did you learn C++?
« Reply #8 on: 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?

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Where did you learn C++?
« Reply #9 on: 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.

Offline Huntondoom

  • Baron
  • ****
  • Posts: 856
  • Cookies: 17
  • Visual C# programmer
    • View Profile
Re: Where did you learn C++?
« Reply #10 on: 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++
Aslong as you are connected to the internet, you'll have no privacy

Advanced Internet Search
Clean Up!

Offline recursion

  • NULL
  • Posts: 3
  • Cookies: 0
  • C++
    • View Profile
Re: Where did you learn C++?
« Reply #11 on: 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.

Offline daedalus

  • /dev/null
  • *
  • Posts: 13
  • Cookies: 2
    • View Profile
Re: Where did you learn C++?
« Reply #12 on: May 02, 2012, 03:55:35 am »
C++ Primer and The C++ Programming Language

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