8 questions from the last 1 days
0
votes
0
answers
28
views
What are examples of non-finite float values other than infinity and NaN?
C23 §5.2.5.3.3 [Characteristics of floating types <float.h>] paragraph 8 says:
Floating types shall be able to represent signed zeros or an unsigned zero and all normalized floating-point ...
Tooling
0
votes
2
replies
45
views
Which IDE and tools for gcc C development?
Which IDE and tools are best suited for gcc C development? I currently use vscode and the tried using the ms-vscode.cpptools extension which "supports" gcc C. But extensions like nested ...
-2
votes
0
answers
47
views
How to properly implement reference counting in Linux kernel modules to prevent use-after-free vulnerabilities? [closed]
I'm developing a custom Linux kernel module for managing device resources, and I need to implement proper reference counting to prevent use-after-free (UAF) vulnerabilities.
My module maintains ...
2
votes
2
answers
112
views
Unexpected behaviour from minimax algorithm
I recently started learning C and as a learning project I tried creating a tic tac toe bot using the Minimax algorithm. Here is the code that I have written so far:
#include <stdbool.h>
#include ...