Questions tagged as 'ansi'

1
answer

Non-standard C libraries ANSI

I am aware that, a C program in the ANSI standard can be compiled in both Windows on both Linux. But when it comes to using sockets ? Is this not part of the ANSI C pattern? Because when I use sockets in Windows, I have to use a libra...
asked by 12.08.2015 / 14:54
3
answers

Line with NULL value is disregarded by SUM function?

I participated in the IFNMG competition, a test prepared by the CEFET Foundation. I solved the following question and I marked the letter C, but the template says that the correct one is the letter A. Question 31 Note that the NotaFiscalIte...
asked by 17.12.2018 / 18:07
2
answers

Insert multiple rows in Informix

I use an Informix database and I have to do 3500 inserts. Informix runs line by line and this is impractical. How do I insert all the rows at once? Example: insert into tabela (coluna1, coluna2, coluna3) values (valor1, valor2, valor3) insert...
asked by 05.04.2018 / 17:12
1
answer

What is Ansi Escape Code?

For manipulation of the linux terminal (other OS console as well) , it is using a string started with a value in hexadecimal 0x1B known as ANSI Escape Code . As for example printf("\x1B[32mMy Text\n") . How does ASNI Escape Code...
asked by 14.04.2017 / 05:55
1
answer

How to convert utf-8 text to ANSI. Delphi 2006

How to convert text utf-8 to ANSI . The words that use " ~ " and " '" are going out wrong, for example use the word " PREPARATION " PREPARE " when generating .CSV file using Delphi 2006 .     
asked by 15.02.2017 / 19:17
2
answers

Working with binary data

I have a function in C that receives two bytes one with the highest significant value (msb) and one with a smaller value (lsb) and then converts them to decimal. int get_pea(char *buffer) { char lsb[8], msb[8], pea[16]; unsigned int i;...
asked by 04.04.2018 / 02:07
0
answers

Change srt file encoding from ansi to utf-8

I can not change the srt file from ansi to utf-8. I go in "save as" notepad, I change the type to utf-8, but when I go back there it continues on ansi. How do I?     
asked by 02.12.2018 / 02:15