Top "Char" questions

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

Java Switch Statement - Is "or"/"and" possible?

I implemented a font system that finds out which letter to use via char switch statements. There are only capital …

java char switch-statement
Expression must be a modifiable L-value

I have here char text[60]; Then I do in an if: if(number == 2) text = "awesome"; else text = "you fail"; and …

c char variable-assignment lvalue
How do I simply compare characters in C++?

I have the following code: #include <iostream> using namespace std; int main() { char fg; cin>>fg; …

c++ char equals-operator
How do I convert a single char to a string?

I'd like to enumerate a string and instead of it returning chars I'd like to have the iterative variable be …

c# string casting char
Is char signed or unsigned by default?

In the book "Complete Reference of C" it is mentioned that char is by default unsigned. But I am trying …

c types char signed
C# How to translate virtual keycode to char?

I am trying to map a virtual keycode to a char. My code uses ProcessCmdKey to listen to WM_KEYDOWN …

c# char converter keycode
Comparing two strings in java character by character

I am beginner in java, I am trying to compare two strings in java char by char and find how …

java string char compareto
C: correct usage of strtok_r

How can I use strtok_r instead of strtok to do this? char *pchE = strtok(NULL, " "); Now I'm trying to …

c char strtok
What is the major difference between Varchar2 and char

Creating Table: CREATE TABLE test ( charcol CHAR(10), varcharcol VARCHAR2(10)); SELECT LENGTH(charcol), LENGTH(varcharcol) FROM test; Result: LENGTH(CHARCOL) LENGTH(…

sql oracle char varchar2
Which letter of the English alphabet takes up most pixels?

I am trying to do some dynamic programming based on the number of characters in a sentence. Which letter of …

css char