Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

qchar to char

QString str = "hello grepper"
char letter = str[0].toLatin1(); //letter == 'h'
 
PREVIOUS NEXT
Tagged: #qchar #char
ADD COMMENT
Topic
Name
1+6 =