символы

Working with strings, characters. Returns an error (c++)

I enter my last name, first name, and patronymic as a single string of characters. I found out the length of the string, as w ... { Q1.erase(Q1.find('A'), 1); Q1.erase(Q1.find('O'), 1); } cout << Q1; return 0; }

The alphabet of the Java and Unicode programming languages

It seems to me that this question is more from the plane of philosophy, but it would still be nice to understand. So, I will ... I still not quite right and 1,114,112 characters are far from the truth? I am interested in your opinion on this issue! :)

Java character output to the console by " coordinates"

There is a program: Scanner Low = new Scanner(System.in); int one = 2, two = 4, free = 6, one1, sup; for (sup = 0; sup ... lt;- How do I make it repeat, relative to the last character, for example 2624: | -> | <- Thank you in advance.

Displaying characters in LaTeX

Good time of day! The question arose, why are mathematical symbols displayed smoothly (without corners) after the layout, an ... smooth(without corners). How can I do this? I'm using MiKTeX 2.9 with a TeXstudio environment. Windows 10 operating system.

Search for a character in a C++string

I can't figure out the symbols. There is a task-an array (in general, a file, but this is not important) with words. You must ... ning while it's hard. I really hope that I described everything normally, and they will help me before they delete the topic)

The => operator in JavaScript

I study JavaScript, in Wikipedia I met an example of describing multidimensional arrays The code is as follows: // Создание ... avaScript. Detailed guide", this operator is not found in the text, and I could not find a description on the network either.

Strange characters in the output in the C program

Good day to all. A question for the experts of SI. There is such a clumsy function for removing only unique characters from t ... &sym); } } result[size_str+1] = '\0'; FILE* fp = fopen("./first", "w"); fprintf(fp, "%s\n", result); }

Symbolic constants in C

The question is more philosophical than technical. By definition a constant In the C language, a variable is named that canno ... ot allow such a construction: 'a' = 666; The question I want answered: "What is the immutability of character constants??"

what is the difference between the \xa0 character and a simple space

Well, let's say we have such examples(in python) 1: print(repr(" "))(if you copy this example through the preview of the qu ... y are no different, but in the first character \xa0, and in the second a space. So, what is this symbol? Why do you need it?

Python ZipFile extract a directory with files with Russian names

Here is the actual code I can not extract the files and the directory itself in Russian, and to be more precise, I basically ... ing\programming\Python\Python3/' + unicode_name) with open(fullpath,'wb') as f: f.write(content)

The text (jquery) method treats the '\n ' character as a space

$('#news_title').keyup(function(){ var s = $(this).val(); $('#format').text(s); $( "#format" ) ... se, if instead of .text method .val (co-responsibly, instead of div, the second textarea), \n is perceived as a hyphenation.

Why are ascii Cyrillic characters negative in C?

Why does a C program in the Windows console output a negative ascii character code from the Cyrillic alphabet? I understand ... (str, (length + 2) * sizeof(char)); } // Метка: конец строки символов *(str + length) = '\0'; return str; }

Common characters

The task is to have more frequently occurring characters at the beginning of the string. First, I decided to write the ascii ... z[len]; int idx[256]={0}, k; for (int i=0; i<len; i++){ k=str[i]; idx[k]+=1; } //puts(rez); }

How to find out if a character is alphabetic

I have a character array that I have to fully validate. You need to make sure that only alphabetic characters are checked, and special characters, numbers, spaces, and unicode are not checked. How do I do this?