In the following snippet of my code I have to read a function from a txt file and extract its coefficients. When I put the coefficients as integers and reading them with %d works correctly, but when putting the coefficients with floating...
I have an executable, created in Assembly language and compiled with NASM.
Is there a way to get the value, in hexadecimal, of the bytes produced by the compiler, so that I can use them in a disassembler (ie discover the generated OP codes)?...
Follow the code that I developed along with my co-worker.
procedure TfrmGrid.Button1Click(Sender: TObject);
var
arq: TStringGrid;
txt: TextFile;
c, l, treg : integer;
lTemp: String;
begin
treg := 0;...
I have a directory with many pdf lists, and I want to rename the files dynamically.
Ex:
~/teste/
|__ProjMed-Química-Físico.Química-quimica_propriedades_coligativas_exercicios.pdf
|__ProjMed-Química-Físico.Química-quimica_termoquimica_enta...
Can anyone tell me why this my code just returns the first record multiple times, instead of returning all the records?
Function in the Code
void listarDados(int quantidadeContatos) {
char caracteres;
FILE *arquivo = fopen("contat...
I'm having a question on how to split information from a text file into variables in C.
Example, I have a txt file with the following data:
3 2
A
D
E
AD
DE
I would like to read this file, and separate each information into a variable, for e...
I'm trying to read information from a file and save it in a new file after passing all the information to lowercase and removing punctuation characters. For this I created a ReadFile () function that reads the file in question and saves it to a...
I'm doing a program using C # in WPF, and I need to access the database dynamically, in this case I'm using a .mdf file.
In code I have the connectionString like this:
string stringConexao = @"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilenam...