YoSoyFreeman,
@YoSoyFreeman@mastodon.gamedev.place avatar

Spent the day TRYING to understand how to work with C++. Step by step, i guess, but i feel like is my first day ever using a computer.

I don't know if I'm in a stage of improvement or i'm stuck. It is a scary feeling.

Haijo7,
@Haijo7@snac.haijo.eu avatar

i recommend starting with C.
actually, i recommend sticking with C. C++ just adds clutter

beeoproblem,
@beeoproblem@mastodon.gamedev.place avatar

@Haijo7 @YoSoyFreeman c++ can provide some useful stuff if you limit the features you use.

RAII (resource acquisition is initialization) with exceptions is a really handy way to handle stuff like memory allocation, locks, files etc more safely than in C for example. It makes avoiding leaks, double free etc easier

Getting into the weeds with metaprogramming, boost etc gets very complicated very fast though.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines