you can use memset() to fill something with any character
this will for instance put 3 spaces into "Something" starting at 2'nd character (buf[1])
PHP Code:char buf[10]="Something";
cout << (char*)memset(buf+1,' ',3)-1;
|
Results 1 to 9 of 9
Thread: spaceThreaded View
|
Click Here to Expand Forum to Full Width |