python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why does clock() returns -1 in C
I'm trying to implement an error handler using the clock() function from the "time.h" library. The code runs inside an embeeded system (Colibri IMX7 - M4 Processor). The function is used to ...
Victor Hugo Martins Marques
Votes: 0
Answers: 3
Autoconf loop but stop after first success?
I've got this snippet to detect and require the highest usable C++ standard. It works exactly the way I want it to - checks highest first, and stop searching after the first success. It's also extreme...
Tino Didriksen
Votes: 0
Answers: 1
Conditionally defining macro in m4 within ifdef
This is the first time I'm using m4, and I'm having difficulty in defining a macro conditionally based on whether or not another macro is already defined.
The problem I'm facing is with the following ...
Abhishek Chakravarti
Votes: 0
Answers: 1
Display preprocessor output just processing the conditional compilation directives
I've got a c program that has grown organically over a long period of time to support multiple different targets using #if #else #elif and #endif directives.
How would I use the gcc preprocessor (or t...
Mike T.
Votes: 0
Answers: 0