C/C++ Programming

c++
c

#1

Alright I’m a big fan of C.
I will post some C programming tutorials and books I’ve found here!

Books:

The C Programming Language - K & R

Pros:

  • Covers the entire syntax
  • Is a must-read
  • The best book about the C programming language
  • Very in-depth
    Cons:
  • Might be a bit hard for beginners (then again C is kinda hard).
  • ???

Hacking The Art of Exploitation 2nd Edition

Pros:

  • Goes in depth about debugging, and low level stuff
  • Explain pointers, structs and arrays really well
  • Has a lot of exercises
  • Is fun to do, because you learn some hacking at the same time
  • Covers the heap and the stack really well
  • Covers socket programming
    Cons:
  • It’s not really beginner friendly
  • Does not cover everything in depth
  • The low level stuff requires some knowledge of ASM

Beej’s Guide to Netwerk Programming - Brian “Beej Jorgensen” Hall

Pros:

  • Covers sockets
  • Just awesome
    Cons:
  • Doesn’t cover low level packet forging (I’ll write a guide on this soon).
  • ?

Learn C the hard way

http://c.learncodethehardway.org/book/
Pros:

  • Goes in depth
  • Doesn’t miss a thing
  • Interactive
  • Cover debugging
  • The hard way
    Cons:
  • The hard way
  • Could have some more exercises

Links:

Well that’s some stuff, obviously there is a lot more online!
Feel free to post more references.


(The Philosopher) #2

that’s really helpful ! 10x


(Merozey) #3

C is indeed an interesting language. I personally prefer C++ and I recommend it to anyone who hasnt tried it yet!


#4

C Language Issues -> https://trailofbits.github.io/ctf/vulnerabilities/references/Dowd_ch06.pdf

C Essentials -> https://trailofbits.github.io/ctf/vulnerabilities/references/EssentialC.pdf

Harverd CS50 Lectures -> https://www.youtube.com/watch?v=zFenJJtAEzE&list=PLhQjrBD2T383Xfn0zECHrOTpfOSlptPAB


(pico) #5

Mandatory reading for C coders

http://c-faq.com/


#6

This topic was automatically closed after 30 days. New replies are no longer allowed.