Top "Char" questions

char typically refers to a character data-type, representing letters of text.

SQL ORDER chars numerically

I have a column of numbers stored as chars. When I do a ORDER BY for this column I get …

sql char type-conversion sql-order-by numerical
Char into byte? (Java)

How come this happens: char a = '\uffff'; //Highest value that char can take - 65535 byte b = (byte)a; //Casting …

java char byte int primitive-types
How do you determine the length of an unsigned char*?

How do you determine the length of an unsigned char*?

c++ c char unsigned
How to compare a char?

I am learning c. I have a question. Why doesn't my program work? #include<stdio.h> #include<…

c char conditional-statements assignment-operator
Ruby - How to select some characters from string

I am trying to find a function for select e.g. first 100 chars of the string. In PHP, there exists …

ruby string function char substr
Converting char array into byte array and back again

I'm looking to convert a Java char array to a byte array without creating an intermediate String, as the char …

java arrays char byte
Proper Way To Initialize Unsigned Char*

What is the proper way to initialize unsigned char*? I am currently doing this: unsigned char* tempBuffer; tempBuffer = ""; Or should …

c++ c char unsigned
char and char* (pointer)

I would like to understand how pointers work, so i created this small program. first of all i create a …

c++ pointers char dereference type-mismatch
Is char guaranteed to be exactly 8-bit long?

That's all. Didn't find any similar topic so bear with me it there is.

c types char
C: warning: excess elements in array initializer; near initialization for ‘xxx' ; expects ‘char *’, but has type ‘int’

I've some warnings while trying to compile program in C language: 13:20: warning: excess elements in array initializer [enabled by default] 13:20: …

c arrays char initializer