Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
27 views

Tobii Eye Tracker 5 C API Callbacks

I have a Tobii Eye Tracker 5 and I'm using the C API. The concept validation tool works without troubles, I can print my devices serial id, gaze output frequency, and so on. The notification callback ...
AvidOwl628's user avatar
2 votes
1 answer
50 views

clang-format option to set penalty for breaking preprocessor directives

Is there an option to set the penalty for breaking preprocessor directives into multiple lines? For example, if I have the following snippet: #define my_constant 1 // Lorem ipsum dolor sit amet, ...
skillz21's user avatar
  • 176
-3 votes
0 answers
122 views

Are pointers smartly allocated? [duplicate]

While learning about pointers in Uni, They taught us that pointers are allocated memory for the address to be stored. And while I was messing around with pointers and null pointers. I noticed this ...
Vishvanathan K's user avatar
1 vote
0 answers
55 views

VSCode on wsl2 cant find gcc/g++

I try to run a .c with vscode on a wsl environment. I have both gcc and g++ installed. I verified that on a vscode terminal as explained in the guide. Í also have all the necessary extensions ...
proton's user avatar
  • 411
1 vote
0 answers
36 views

MATLAB: Deploying Optimfunctions to Standalone C/C++ Code

I am looking to deploy a function i have created that uses optimvars and optimproblems to a comuter that does not have MATLAB installed by creating a .exe file with the MATLAB Coder. However, ...
Alex Band's user avatar
-1 votes
0 answers
64 views

is there any native library available to get the cpu% of all the running process on windows system? [closed]

is there a native C/C++ library for retrieving CPU usage % for particular process and process names on Windows? I am looking for a native C/C++ library that can be used on a Windows server to retrieve ...
Arun's user avatar
  • 7
0 votes
0 answers
41 views

Error 1324: [Version] section should specify PnpLockdown=1 to prevent external apps from modifying installed driver files

Gravité Code Description Projet Fichier Ligne État de la suppression Détails Erreur 1324 [Version] section should specify PnpLockdown=1 to prevent external apps from modifying installed ...
souleau's user avatar
2 votes
1 answer
66 views

Is it possible to make a C++ application and use Flutter as the GUI framework?

I've made a C++ application that runs on embedded linux (OrangePi) and currently it uses a HMI screen (Nextion). But this really ties me to a specific brand of screen and the features that they ...
av4625's user avatar
  • 335
0 votes
0 answers
37 views

Configuration in task.json and launch.json in Vs Code for showing execution time in terminal after running

I am a complete beginner in this, with the help of Chatgpt i configured my task.json and launch.json (i have no idea what are they), the programs are running fine but the terminal is not showing ...
anand's user avatar
  • 11
1 vote
1 answer
85 views

Building Visual Studio solution with C and C++

I'm wondering if I can add a C file to a C++ project. I use premake5 and conan to get the dependencies and build the solution but every file I've used so far is C++. Now, I need a C file that has a ...
agutier2's user avatar
-3 votes
0 answers
52 views

Is there a quantum computing library in C++ or C? Like cirq lib in Python [closed]

I would like to know if there is any library that is similar to cirq in C++. Although I find python easy and not overwhelming, my main is c for many years, I would like to create circuits by c instead ...
BORA YAVUZER's user avatar
1 vote
1 answer
73 views

Test value of #pragma

In Xcode, I want to find out the value of the STDC FP_CONTRACT pragma after including just float.h and math.h. To my surprise, I couldn't find any way to do it! So the question: Am I just missing ...
gnasher729's user avatar
  • 52.2k
0 votes
1 answer
63 views

In cgo, how to call c meth with go func arg

Following is my code, I hope go can capture c code's progress package main /* #cgo CFLAGS: -I/home/roroco/Downloads/go/test_cgo/submodule/test_cgo_cpp/include #cgo LDFLAGS: -L/home/roroco/Downloads/...
chikadance's user avatar
  • 4,035
1 vote
1 answer
75 views

Setting Preprocessor Definitions in a referenced project

I would like to conditionally export symbols to be used in a Google Test project in Visual Studio 2019. I am trying to set a preprocessor definition called UNIT_TESTS, but only when the unit test ...
JJenkins's user avatar
0 votes
1 answer
84 views

Are static libraries generally rebuilt entirely if one of the obj files that make them up is changed?

I know that if I have a project with a bunch of different translation units and change something only in that translation unit (what ends up in the obj file) is recompiled. Then linking with the ...
Zebrafish's user avatar
  • 12.8k

15 30 50 per page
1
2 3 4 5
2709