SyntaxFix
Write A Post
Hire A Developer
Questions
You can use a for loop. but don't forget the last char must be a null character !
char * msg = new char[65546]; for(int i=0;i<65545;i++) { msg[i]='0'; } msg[65545]='\0';