29

Me always:
*starts coding in C/C++*
*M so gonna use raw pointers... Raw pointers ftw!*
*Spends 2 hours to code*
*Spends next 4-6 hrs trying to find why it is crashing/giving segmentation fault*
*Finally finds the solution and feels like winning a boss in Dark souls*
*Totally worth using raw pointers* 😎😎😂😂

Comments
  • 1
    Just practice and looking at other codes really... I randomly drop across new stuff in C++ and then I dive into it. If you look at existing codes, you can come across a lot of new terms and features. Simply dive into them...
    You can start with the implementation of various data structures and their algorithms (from stacks, queues, to graphs, and dijkstra's algorithm) that should give u some sample code to look at... And these are always good to know 😊
  • 1
    @joshumax why do you specify the bit architecture, but not the language standard?

    And why don't you have -Wall? Or optimization flags?
  • 1
    *raw pointers for no reason* <= Spotted the masochist.
Add Comment