I'm doing a web server using Beaglebone black, I'd like to know how to get a variable on the web server and access it locally in a C program on the beaglebone.
How can I do not to repeat a value in this list?
Whenever I do something, I can not print.
#include<stdio.h>
#include<stdlib.h>
#include<iostream>
using namespace std;
typedef struct lista{
int valor;
struct lista *p...
Well, does anyone know what this code means in C ++?
#include <iostream>
#define MAX_C (10)
using namespace std;
int compar(const void *x, const void *y) {
int a = *((int *) x);
int b = *((int *) y);
return a - b;
}
I'm trying to do a kwh calculation, facul work. I'm using float values and the kwh * 0.2 value must be calculated, but the result is always zero. And I'm not seeing any errors in the code.
I have a problem with my C program, and in the second note of the second student the program stops responding. Follow the code explaining the problem.
/*
Faça um programa que cadastre 10 alunos.
Para cada aluno, devem ser cadastrados:...
I'm doing a cross-compiler for the i686-elf architecture with a Debian host 8 86_64 bits already uninstalled and installed the flex but the error continues! I'll leave the terminal output.
checking for gcc... (cached) gcc
checking whether the...
Well I have here an issue that involves assembly and C.
The variable format has more than 4 bytes, but I can still push of it without casting and returning the old ESP value after pushing. How is it possible?
ASM
segment .d...
I'm doing a program in which you need a recursion according to the exercise that sums up a vector of two arrays and sums the lines after recursion and then adds the columns following my code
#include <stdio.h>
#include <conio.h>
i...
Good evening!
I'm having a question about how to copy a vector.
I declare a vector "matrix [a] [j]" and I need to take the arithmetic mean only of the values contained in "array [a]", so I need to make a copy only of the values "[a]" for an a...
I have the following code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define TAM 3
typedef struct{
char nome[50];
char musica[50];
int integrantes;
int ranki...