Questions tagged as 'ascii'

1
answer

Migration with Foreign Characters?

The data is from a Firebird database and even opening with official tools the characters do not come in br format, for example: ÁGUA vem µGUA PÃO vem PÆO Find a site that, when entering a special character, for example µ...
asked by 26.03.2017 / 05:05
1
answer

How to return to the beginning of an Array in C #

I have to develop a code where it does the Cipher of Cesar encryption, the characters that I should use should be in this sequence; A ~ Z, (whitespace), 0 ~ 9. I already developed a lot of the code, but I came across a problem; for (int i = 0;...
asked by 23.11.2016 / 17:14
0
answers

Transform data received from VeederRoot [closed]

Good afternoon Person, I have looked in several places and still have not found the solution to my problem, I hope you can help me. I am doing a delphi communication with veederRoot through the serial port, veederRoot only accepts to send ASCII...
asked by 22.01.2016 / 18:50
1
answer

C-Cryptography

I'm developing a C program that will be able to encrypt and decrypt texts and save them to disk separately. I want to use the ASCII table for the implementation of Encryption, I am able to encrypt but at the time of reversing the text I am ha...
asked by 25.06.2018 / 00:24
2
answers

Function that returns next character in ASCII table in PHP

I would like to make a function in PHP that takes a character and returns the next character, according to the ASCII table. For example: get 'a' and return 'b'. I know how to do this in C, which would be char funcao(char C) { return C++;...
asked by 13.02.2018 / 00:39
1
answer

characters and ASCII table

I'm trying to perform a URI exercise, and in 1 part it asks for the following:    In the first pass, only characters that are lowercase and   capital letters should be moved 3 positions to the right, according to   ASCII table: letter 'a' sho...
asked by 11.03.2018 / 22:17
0
answers

How to "draw" a binary tree?

I have a problem trying to create an algorithm to "draw" a binary tree as below: But I have a problem to implement. I'll show my code below: #include <stdio.h> #include <stdlib.h> #include <math.h> typedef struct {...
asked by 06.09.2018 / 19:07
2
answers

Decimal to binary conversion in C language

The code below, from the original ( link ) "prints" a decimal number between 0 and 255 in binary. #include <stdio.h> #include <stdlib.h> int main() { int n; // Número de entrada int r; // Resultado do deslocamento int i; // C...
asked by 28.06.2017 / 05:03
1
answer

Use of ASCII characters with c ++

Good afternoon, I have these codes in c ++ and I would like you to clarify to me why these codes are sending seemingly random characters to the console: teste.cpp > #include <iostream> #include "engine.h" int main() { char x;...
asked by 19.04.2018 / 18:10
0
answers

C - when I use the local.h scanf does not work well

I'm creating a database. I used locale.h and setlocale(LC_ALL, "Portuguese") so that accents and keys appear on the windows command line. Because of this, when I make a% w / o of a character with an accent or a cue and make t...
asked by 10.12.2017 / 07:39