Most voted "ansi" questions
None
Learn more…9 questions
Sort by count of
-
11
votes1
answer338
viewsC libraries outside the ANSI standard
I am aware that, a C program in ANSI standard can be compiled both on Windows, both on Linux. But when it comes to using sockets? That’s not part of the pattern ANSI C? Because when I use sockets in…
-
8
votes3
answers971
viewsLine with NULL value is disregarded by the SUM function?
I participated in the IFNMG competition, a test prepared by the CEFET Foundation. I solved the following question and marked the letter C, but the feedback says that the correct is the letter A.…
-
5
votes1
answer2525
viewsHow to convert utf-8 text to ANSI. Delphi 2006
How to convert text utf-8 for ANSI. The words they use "~" and "´" are coming out wrong, see for example the use of the word "PREPARATION" coming out: "PREPARES 플O" when generating file .CSV using…
-
2
votes1
answer532
viewsWhat is Ansi Escape Code?
For handling of the linux terminal (other OS console also), is using a string started with a hexadecimal value 0x1B known as ANSI Escape Code. For example printf("\x1B[32mMy Text\n"). How does the…
-
2
votes2
answers213
viewsInsert multiple lines into Informix
I use a Informix bank and I have to do 3500 Inserts. Informix runs line by line and this is impractical. How do I insert all lines at once? Example: insert into tabela (coluna1, coluna2, coluna3)…
-
0
votes2
answers82
viewsHow to work with binary data
I have a function in C that takes two bytes one with higher significant value (msb) and the other with lower value (lsb) and then converts them to decimal. int get_pea(char *buffer) { char lsb[8],…
-
-1
votes1
answer25
viewsRead and write multipas variaves with only one pointer
I was successful in doing task similar to the given code: int *ptr[5], i; for(i = 0; i < 5; i++){ ptr[i] = (int *)malloc(1 * sizeof(int)); } for(i = 0; i < 5; i++){ scanf("%d", ptr[i]); }…
-
-1
votes1
answer558
viewsVscode ASCII Standard Sequences (ANSI)
I’m intending to migrate from pycharm to VS Code. It’s just that there’s something going wrong. Something that was enough as I use in pycharm to make the text more friendly, misses the use of…
-
-2
votes1
answer44
viewsI am studying Python and using Google colab as an IDE. Using 033[m does not end the colorization. Can anyone help?
I’m learning Python and using Google colab. So I tried. print('\033[31mOlá Mundo!\033[m') print('Olá Mundo!') What happens is that the \033[m does not contain colorization and the next line and all…