Author Topic: Day 1 of me learning C++  (Read 11669 times)

0 Members and 1 Guest are viewing this topic.

Offline str0be

  • Serf
  • *
  • Posts: 42
  • Cookies: 8
  • <!-- hi
    • View Profile
Re: Day 1 of me learning C++
« Reply #30 on: June 26, 2013, 06:36:08 am »
Quote
Oh lord, this is gonna be a pain to learn.


Yes, it will. And not even in a "trial by fire" sort of way. C++ is a language designed to be used by a team of professional developers per project. Judging from your earlier posts, you're a beginner to programming. Do yourself a favor and start with something simpler. I'd suggest going with pure C first, as waspxor hinted at. From there, you can move to C++ if you wanted to. No time wasted.
« Last Edit: June 26, 2013, 06:39:00 am by str0be »

Offline vezzy

  • Royal Highness
  • ****
  • Posts: 771
  • Cookies: 172
    • View Profile
Re: Day 1 of me learning C++
« Reply #31 on: June 26, 2013, 09:05:03 am »
Actually, I recommend he keep on going. Why should he be dissuaded from so early on? If he's able to grasp C++ to a passable level, then he'll have a very solid foundation for other declarative languages along the way. It's not going to be easy, and he'll have to deal with cryptic error messages, pointers, memory management, but it's worth it.
Quote from: Dippy hippy
Just brushing though. I will be semi active mainly came to find a HQ botnet, like THOR or just any p2p botnet

Offline IFailStuff

  • VIP
  • Knight
  • *
  • Posts: 338
  • Cookies: 25
  • Certified fuckup
    • View Profile
Re: Day 1 of me learning C++
« Reply #32 on: June 27, 2013, 01:54:27 am »
Use EZ as your diary if you like. Maybe not EVERY day tho. Depends how much work you put into each day I guess. :)

I agree so much :D

Offline Uriah

  • Sir
  • ***
  • Posts: 454
  • Cookies: 42
  • άξονας
    • View Profile
Re: Day 1 of me learning C++
« Reply #33 on: June 27, 2013, 07:59:01 am »

Yes, it will. And not even in a "trial by fire" sort of way. C++ is a language designed to be used by a team of professional developers per project. Judging from your earlier posts, you're a beginner to programming. Do yourself a favor and start with something simpler. I'd suggest going with pure C first, as waspxor hinted at. From there, you can move to C++ if you wanted to. No time wasted.
Whoa, what? I say keep going strong with c++. All that language changing and anxiety only makes you weaker.

Offline Chef

  • Peasant
  • *
  • Posts: 126
  • Cookies: 3
  • Corrupted Soul
    • View Profile
Re: Day 1 of me learning C++
« Reply #34 on: June 27, 2013, 05:31:14 pm »
Yeah I'm doing my best to stick w/ C++. It's really hard when working 50+ hours a week though...
"To find happiness is to not always laugh."

Offline str0be

  • Serf
  • *
  • Posts: 42
  • Cookies: 8
  • <!-- hi
    • View Profile
Re: Day 1 of me learning C++
« Reply #35 on: June 27, 2013, 09:11:17 pm »

I'm not saying "Don't learn C++".


Actually learning how to program before tackling a language designed for experienced programmers is the better path to take. You can learn something simpler in a fraction of the time. It would make you a better student of C++ and a better programmer overall. Multiple languages is not weakness.

Offline Chef

  • Peasant
  • *
  • Posts: 126
  • Cookies: 3
  • Corrupted Soul
    • View Profile
Re: Day 1 of me learning C++
« Reply #36 on: June 27, 2013, 09:37:01 pm »
What would you recommend me starting with?
"To find happiness is to not always laugh."

Offline str0be

  • Serf
  • *
  • Posts: 42
  • Cookies: 8
  • <!-- hi
    • View Profile
Re: Day 1 of me learning C++
« Reply #37 on: June 27, 2013, 10:02:19 pm »
I recommend plain C to any beginner. It is a small language with a big influence: http://en.wikipedia.org/wiki/Category:C_programming_language_family




Offline Chef

  • Peasant
  • *
  • Posts: 126
  • Cookies: 3
  • Corrupted Soul
    • View Profile
Re: Day 1 of me learning C++
« Reply #38 on: June 27, 2013, 10:28:37 pm »
I do want to eventually get into hacking, white hat and black hat. I want to have a vast knowledge around it all. After learning C, my route will head where?
"To find happiness is to not always laugh."

Offline theifyppl

  • Serf
  • *
  • Posts: 44
  • Cookies: 20
    • View Profile
Re: Day 1 of me learning C++
« Reply #39 on: June 27, 2013, 10:41:47 pm »
I do want to eventually get into hacking, white hat and black hat. I want to have a vast knowledge around it all. After learning C, my route will head where?


Well, wherever you want it to go.  There are a ton of different programming concepts you can use and apply to hacking/cracking/etc.  If you're interested in programming malware, you could look into socket programming in order to create client/server applications that communicate over the internet.  That way, if you can get one of the ends on the victim's computer, they can communicate and you can program it to do whatever you want.  You could also learn about hardware hooks, to use a keyboard hook to code a keylogger and email you back the logs.  You could learn about HTTP libraries in order to gather information from websites.  There's so many different ways to approach it. 
« Last Edit: June 28, 2013, 04:46:16 am by theifyppl »

Offline Chef

  • Peasant
  • *
  • Posts: 126
  • Cookies: 3
  • Corrupted Soul
    • View Profile
Re: Day 1 of me learning C++
« Reply #40 on: June 28, 2013, 05:18:26 pm »

Well, wherever you want it to go.  There are a ton of different programming concepts you can use and apply to hacking/cracking/etc.  If you're interested in programming malware, you could look into socket programming in order to create client/server applications that communicate over the internet.  That way, if you can get one of the ends on the victim's computer, they can communicate and you can program it to do whatever you want.  You could also learn about hardware hooks, to use a keyboard hook to code a keylogger and email you back the logs.  You could learn about HTTP libraries in order to gather information from websites.  There's so many different ways to approach it. 

Yeah I know there are so many different ways to approach it! It's causing me to feel lost on what to do!
I need guidance! Lol
"To find happiness is to not always laugh."

Offline theifyppl

  • Serf
  • *
  • Posts: 44
  • Cookies: 20
    • View Profile
Re: Day 1 of me learning C++
« Reply #41 on: June 29, 2013, 12:57:13 am »
Yeah I know there are so many different ways to approach it! It's causing me to feel lost on what to do!
I need guidance! Lol


My advice is to choose what you're most interested in.  You will have much more fun and learn faster if you're learning something you think is cool.  For example, I've always thought that socket client/server applications were especially cool.  So you can guarantee that when I'm learning a new language, programming a client/server application is at the top of my to-do list.  That being said, you don't even need to worry about this stuff until you're ready to move on from the basics of programming. 

Offline Neea

  • Peasant
  • *
  • Posts: 83
  • Cookies: 19
  • Laboris Gloria Ludi
    • View Profile
Re: Day 1 of me learning C++
« Reply #42 on: June 29, 2013, 06:13:47 pm »

Yeah I know there are so many different ways to approach it! It's causing me to feel lost on what to do!
I need guidance! Lol


C++  = C + oop extension and pretty makeup lol


Just get the basics done first ... like operators, basic types, functions, parameters, then hit arrays, matrix, lists, try learning basic algorithms (you need this in any programming language), learn a sorting method or 2, take a look on graphs for general knowledge, try out recursion, backtracking, learn about different approaches (basic C) ..... then if you have a thing for oop study objects, classes, containers, design patterns and such (and thats c++) or if you wanna have fun with network connections, ip addresses, sending packs etc learn about processes, fork(), zombies, daemons, threads, sockets, UDP, TCP , client/server apps, peer-to-peer appls etc etc ... So many possibilities lol


You're gonna find these in any programming language, master them in C/C++ and you're gonna master them anywhere. You definitely get a first hand encounter with the "behind the scenes" in C/C++ rather than using any other high level language.


Ofc if you wanna be more hands on (and probably somewhat masochistic for a newbie in programming), learn assembly  ;)
<!--Here be Cthulhu -->

Offline Chef

  • Peasant
  • *
  • Posts: 126
  • Cookies: 3
  • Corrupted Soul
    • View Profile
Re: Day 1 of me learning C++
« Reply #43 on: June 29, 2013, 06:57:31 pm »
That is quiet a lot and I am so interested in getting to learn all of that. Right now I am focused on learning C++. What all must I know to alter, attack, hack, edit, a website?
I currently have a website and I want to test out my abilities(future abilities) on it.
Thanks!
"To find happiness is to not always laugh."

Offline Uriah

  • Sir
  • ***
  • Posts: 454
  • Cookies: 42
  • άξονας
    • View Profile
Re: Day 1 of me learning C++
« Reply #44 on: July 01, 2013, 05:34:01 am »
When you say website im going to assume you really did mean website and not server stuff.

If your trying to attack a website, learn how to create one first. For that you will need to know at least php/sql and html, but also some javascript could help. C++ has little place there afiak but im probably wrong, since some of those languages are built on c++. But it would likely be pointless and overly complicated to use c++ for it.

What i do know you can use c++ to do as far as hacking websites go are things like vulnerability scanners, page phishing, ddos, and other tools. But not usually for direct hacking, i dont think. You need to know web languages for that.

If you do intend to learn those, some common vulnerabilities you might want to search include: sqli, lfi/rfi, csrf, and xss. However, any code can be exploited more easily when you actually understand how it potentially works.

Also, i think you need to learn the art of sticking to one thing at a time. Stick with c++ and dont worry about web programming languages, unless that's really what you intended to do in the first place. At most, use c++ to create tools like I wrote above.
« Last Edit: July 01, 2013, 05:35:06 am by Uriah »