Questions tagged as 'ascii'

0
answers

Print text in ASCII

Good afternoon, I'm trying to print a text (ZPL Code), but in my code there are ASCII delimiters, and for this reason it does not generate correct printing, ie missing certain characters. Does anyone know any method to generate printout containi...
asked by 19.07.2017 / 23:58
0
answers

Read TXT with Extended AscII

I made the following code to read a TXT file that contains extended char ascii table. int main(void){ printf("%c %c %c %c %c %c %c %c %c \n",205,187,186,187,200,201,205,188); FILE *ffpOrig=fopen("a.txt", "r"); for(;!feof(ffpOrig);){ unsigned...
asked by 15.09.2016 / 18:49
1
answer

ASCII value for char or Int value for ASCII C

I need to find a value found by a rand in a file, I'm having a lot of problems because rand returns an integer and to search for a character in a file, the fgetc returns an integer corresponding to the ASCII of the character...
asked by 02.11.2015 / 20:30
1
answer

Paging and Order BY

I have noticed that some sites in wordpress use the following code in the links ? orderby = title & order = asc Could you explain the variations of this code? For example, it would be possible to sort articles by letter as follows. ? o...
asked by 02.08.2015 / 18:45
1
answer

How do I overwrite a string with an accent for another without?

I wanted to replace the accented characters with other ones without and generate a new string, but there seems to be something wrong in the comparison I'm trying to do in the extractAcento function. I looked at the ASCII table, but I still did n...
asked by 09.09.2018 / 16:52
1
answer

Decimal to binary conversion in the C language using the ASCII table

I have to do a program that reads some characters and "transforms" each character into its corresponding number in the ASCII table and then transforms that number into binary and stores it into a vector. My code so far is: #include <stdio.h...
asked by 28.06.2017 / 17:49