dimanche 4 septembre 2016

Header with memory size definitions

Is there standard C/C++ header with definitions of byte, kilobyte, megabyte, ... ? I dont want to make own defines. It's dirty in my opinion.

Example:

if (size > MEGABYTE)
{ ... }

Aucun commentaire:

Enregistrer un commentaire