Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

PhM33

@PhM33
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Why do TAR files always need to be decompressed twice?
    P PhM33

    A TAR file in your sense is indeed a TAR.GZ file, which embed two formats : TAR and GZ. Here's the process : 1. A TAR file is ceated, concatening several files together in their uncompressed form ; note that resulting TAR file is uncompressed, 2. A GZ file is created by compressing the previous TAR file. So to decompress a TAR.GZ file, you have to : 1. Decompress the compressed GZ file and 2. "Untar" (unarchive) the uncompressed resulting TAR file. Note that you can compress a TAR file with other popular compressors (bzip2 => TAR.BZ2, 7zip => TAR.7Z...).

    The Lounge question

  • Why does most C/C++ developer prefers char *c instead of char* c?
    P PhM33

    Not always : a void pointer lives its own live and you can made point it on every type or on... nothing ! :)

    The Lounge question c++

  • Why does most C/C++ developer prefers char *c instead of char* c?
    P PhM33

    My 2 cents, I prefer

    char* c;

    too, as I've learned years ago. To quote Wikipedia and what I've learned (Pointers section) : "A pointer is a data type that contains the address of a storage location of a variable of a particular type." Nevertheless, this same Wikipedia section points out that writing it is a matter of style :

    char* c;

    char * c;

    or

    char *c;

    All right for everyone :) Not mentioning the confusing writing for arrays of pointers... So the type of "char*" is a "pointer on a char". The type of "int*" is a "pointer on an int". And so on...

    The Lounge question c++

  • Acronis alternative
    P PhM33

    Successfully moved from Acronis to Easeus http://www.todo-backup.com/, years ago.

    The Lounge com question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups