Questions tagged as 'c'

0
answers

Memory Error in Python

I'm tempted to days solving this problem and I can not, my scripts work on several machines with python, but on the server I need to run the application and presents the error, I've already left a memory test running for three days and the memor...
asked by 01.10.2018 / 22:35
1
answer

Number of recursive function calls

Hello. How would you know how many times a function is called recursively by your code? For example, in the code below, how do you know how many asterisks the function prints for a given value n? int fibonacci(int n) { printf("*");...
asked by 01.10.2018 / 19:27
0
answers

send arduino integer with esp8266 to mysql

I have an error when I send through ESP8266, of the integer value with the name number, my code is as follows: #include <ESP8266WiFi.h> // Use this for WiFi instead of Ethernet.h #include <MySQL_Connection.h> #include <...
asked by 27.09.2018 / 18:50
1
answer

What is a linker for?

Some languages use a linker or Wikitravel as it is also called. What is its function and relationship to the compiler? Why do some languages do not have a linker ?     
asked by 21.03.2017 / 16:01
0
answers

how to open socket for a specific network on a machine with 2 networks [closed]

I have a machine with 2 network cards. How do I open a socket for a specific network?     
asked by 06.09.2018 / 14:45
1
answer

How to calculate the sum of each row of a matrix in C?

I need to create an algorithm that reads the dimensions of an array, read the values to be placed in the array, with a vector calculate the sum of the values of each line and print the array and vector. This float soma computes the tota...
asked by 08.09.2018 / 17:46
3
answers

What does "??! ??!" mean in C language?

I once saw a code in C with the following line: ... if (condicao1 ??!??! condicao2){ /* faca algo */ } ... What does "??! ??!" mean? in C language?     
asked by 04.02.2014 / 12:20
0
answers

Merge a list chained in c

Hello, I'm trying to do an exercise where I need to merge two linked lists. But my function is only returning a number only. The function is merge (); insira o código aqui #include <stdio.h> #include <stdlib.h> typedef struct LIST...
asked by 01.09.2018 / 23:02
1
answer

How to use abs () in an if, else if (c)

Edit 2: What I was asked to do:    Your program should read the coordinates of a soccer ball on the field, and say whether it is in the field, whether it was on the side, whether it was in the bottom or if it is inside the goal. The field is...
asked by 31.08.2018 / 01:06
0
answers

With showing the even items of a list in C [closed]

I have a question about this exercise. I tried in several ways but I do not know how to get the position of the pointer to use the content in that case. • Describe the steps for creating a new element in the list? Develop an algorithm to crea...
asked by 25.08.2018 / 02:25