Questions tagged as 'c'

1
answer

Error compiling CyanogenMod

I'm trying to compile CyanogenMod (an Android 'fork') and I get a strange error code hundreds of times in different lines. The error is as follows: external/libcxx/src/strstream.cpp:326: error: no se admite la reubicación 43 external/libcxx/sr...
asked by 12.05.2016 / 11:43
2
answers

Detect ENTER in C but as integer type and not Char

I wish that when entering an age number, I would detect if you press ENTER as a whole number to exit the program. I know that ENTER = '\ n' but it is compared with char variables and what I use is an entire variable. How would you do? I al...
asked by 18.12.2018 / 10:12
1
answer

Errors when using static libraries in QT

Hi, I'm a bit desperate with this if someone has worked with this ide that please specify why I can not create a static version? The errors are:    Makefile: 66: recipe for target 'sub-tools-make_first' failed   mingw32-make [1]: * [sub-tool...
asked by 25.08.2016 / 20:07
0
answers

Concept of step by reference and value

I know that the subject has already been commented and I have been checking in detail the contributions that have been presented during each one, thanks to them I think I have managed to really capture the concept but I still have doubts about w...
asked by 31.12.2018 / 03:29
1
answer

How to do HEAD instead of GET with libcurl?

Is there a way to make libcurl not download the url but only the HTTP headers? Depending on them I would like to decide if my program downloads the url .     
asked by 20.02.2016 / 01:22
1
answer

End process

My intention is that you can not run a certain application (prueba.exe) on a computer with windows. That equipment is usually always on and with my program running, and with the screen locked, so other users can enter. The application checks the...
asked by 08.11.2018 / 10:24
4
answers

Problem in scanning scan and storing text in C ++

This is the code of my program: #include stdio.h #include stdlib.h #include string.h int main () { string a; string help = "-h"; printf("Por favor introduzca la orden. Si desea ver la ayuda introduzca -h");...
asked by 10.06.2016 / 20:57
0
answers

How to rotate a BMP image in c?

I've been stuck in this problem for a couple of days now, and most of the information I find is for other languages and well ... I'm trying to rotate a 90 degree BMP image. I have been stuck in this method. void rotarI(BMP* img,char* nom){ BM...
asked by 23.09.2018 / 06:59
1
answer

ARM Undefine Instruction

I am compiling in IDE DS-5 an embedded C software for a NXP IMX6UL bare metal product that is an ARM cortex A7 . I'm not using any operating system. The issue is that I am using the compiler of AMR GCC 7.2.1 [arm-none-eabi]...
asked by 05.07.2018 / 22:12
2
answers

Calculate area under the curve of a function

I have a problem with my algorithm. The purpose of the program is to calculate the area under the curve of a function by means of the Riemann method. The error is in the lower sum. since at the moment of being taking out the areas of the triangl...
asked by 01.05.2018 / 00:26