Windows 10 How to initialize a char array with double quotes (not printable escape characters) in C++

  • Thread starter Thread starter Derek Todd
  • Start date Start date
D

Derek Todd

Hi,I am trying to initialize a character array with double quotes inside of the array. I am never going to print the array out, so I do not need the printable escape characcter \". I want to be able to read and compare the double quote inside of the array in the program. Is there a way to do this. The char array is very large so initializing the char array like this will not work:char hello[6] = { 'h', 'e', 'l', 'l', 'o', '/0' };Here is a small portion of the character array I am trying to initialize: char BankgothicFont[] = {"char id = "39" x =

Continue reading...
 
Back
Top