mercredi 29 avril 2015

How to intialize the string with space in char array in mac os?

I am trying to initialize the string with space in char array in c++.

I am doing like

char arr[] = "\033E 2\r"; // it is generating the "wrong expression" error.

Please give me the idea how to initialize string with space in char array in mac os.

Thaks,

Aucun commentaire:

Enregistrer un commentaire