You are browsing as a guest. Sign up (or log in) to start making projects!

7h 39m 25s logged

First devlog, lots of progress

I learned about stardance midway through this, so this is really long.
Basically, I have never touched Linux, C, or C++ before this, and I am going to learn the language while using Linux (wsl2), and make a hopefully good game by the end of it

Everything I’ve made so far, in chronological order, and what i learned:

Calculator

  • strings aren’t real??
  • how to receive arguments
  • & (address of) operator
  • string formatting
  • long vs long long

Rock Paper Scissors

  • how to use enums
  • how pointers work
  • * (pointer dereference) operator
  • printf
  • random number generation

String Library

  • void pointers
  • string operations
  • loop through a string
  • creating a header file

Vector (c++ std::vector/dynamic array)

  • bools also aren’t real????
  • memory allocation/reallocation and freeing
  • more pointer practice, starting to get it
  • what size_t is

Linked List

  • structs
  • more complex memory allocation and freeing
  • how to make a ton of memory leaks
  • more pointer practice, I think I understand itnow

HashMap

  • output pointers (void double pointers??)
  • hash function
  • more complex logic
  • moving every value safely when resizing the hashmap
0
38

Comments 0

No comments yet. Be the first!