Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
1 answer
163 views

I have a C function that receives data from an input source (e.g., a USB stick or sensor), where the input is ASCII characters representing numeric values. For example, I might receive: "12/04/23&...
Maaz Madha's user avatar
Advice
1 vote
6 replies
31 views

Does anyone know what the 'l' in the name of Python's binascii.hexlify is for? Why isn't it "hexify" instead of "hexlify"? Googling it gave me nothing. ChatGPT predictably gave me ...
Jimbobur's user avatar
  • 113
0 votes
3 answers
99 views

I received a file to process that had some extra spaces causing issues such as: "DATE    " I first tried TRIM, but it did not help. I did find the solution by using SUBSTITUTE(A1, CHAR(160),...
MichaelE's user avatar
  • 847
1 vote
1 answer
88 views

I'm creating a Microsoft Access program and I have a calculated column that looks like this: Round([chance]/20) I've tried adding in the ascii tab Ascii(Round([chance]/20)) and its making a set of ...
Tommy Davies's user avatar
Advice
2 votes
5 replies
149 views

I've written a program that takes in a text then prints the binary translation of it. İts been working perfectly fine until I tried the case where entire string is just made up of spaces. As to ...
Mehmet emi Sevim's user avatar
Best practices
0 votes
4 replies
133 views

I have a corpus of text which includes some accented words, such as épée, and I would like people to be able to easily search through it using ASCII input. Ideally, they would simply type protege or ...
hackerb9's user avatar
  • 2,131
1 vote
1 answer
111 views

I was experimenting with creack/pty while learning about pseudo terminals. I spawned grep and hooked it up with a pseudo terminal device as follows: package main import ( "fmt" &...
Udeshya D.'s user avatar
2 votes
2 answers
285 views

I’m trying to create a simple ASCII 3D spinning cube animation in the Windows console using C++: #include <iostream> #include <cmath> #include <cstring> #include <windows.h> #...
Gia Phu Tang's user avatar
2 votes
0 answers
132 views

In upper-case mode, the C64 PRINT ASC("A") prints 65 - the ASCII/PETSCII code. But POKE 1024,65 prints the shifted A character. PRINT CHR$(65), however, prints the proper 'A' character. With ...
KungPhoo's user avatar
  • 948
3 votes
1 answer
261 views

I have noticed recently (maybe a change in recent Delphi) that if I load an ASCII format txt file into a tstringlist, edit a line with file.lines[10]:='blah', and then save it again the file is now ...
Some1Else's user avatar
  • 849
0 votes
1 answer
187 views

I am experimenting with C++Builder 12, trying to port some old code from C++Builder 2009. In that old code, all character strings are defined, for example, like this: char testString[256]="This ...
Jeff McKay's user avatar
1 vote
0 answers
82 views

We are using citizen/HP printer to print receipt. to print Bold characters uses following code string Bold = Escape + (char) 33; // u001b! string BoldStart = Bold + (char)8;// u001b!\b string BoldEnd =...
Chaitanya Kota's user avatar
0 votes
7 answers
324 views

I'm learning about converting numbers to characters in C, and I came across the expression: char c = '0' + (n % 10); I understand that '0' is a character and n % 10 extracts the last digit of a ...
xapet's user avatar
  • 49
-1 votes
2 answers
170 views

Suppose I have VHDL code that has a generic string STACK with the value "top". I want to pass it to a SystemVerilog module as a parameter, but SV does not have a type compatible with VHDL ...
jmhiu's user avatar
  • 1
-1 votes
1 answer
88 views

I have my own personal movie database system, within which context I NEVER want to see "extended" characters (with accents, umlauts, etc.) in any text fields. MS Co-pilot tells me that i ...
FumbleFingers's user avatar

15 30 50 per page
1
2 3 4 5
465