Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged C
0
votes
Q: Complex compiler output for simple constructor
I have a struct X with two 64-bit integer members, and a constructor: struct X { X(uint64_t a, ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 10, 2022
in
Education
by
JackTerrance
c
gccassemblyclang
0
votes
Q: Is possible read half size of object happen in multi-thread?
Having two thread, one product data, another one process data. The data is not just an int or float but a complex object. In ... = buffer; //mutex.unlock(); if(!tmp.data) std::cout...
asked
Apr 9, 2022
in
Education
by
JackTerrance
c
multithreadingopencvparallel-processing
0
votes
Q: My Class.cpp is not being seen by the linker
I am trying to write a C++ class in a separate header and cpp file using VS Code as my IDE with the 'run' and ' ... #include "Fan.h" #include using namespace std; Fan::Fan() { cout...
asked
Apr 9, 2022
in
Education
by
JackTerrance
c
class
0
votes
Q: Visual Studio C++ LNK1104: Cannot open file pthreadsVC2.lib, despite removing dependency from linker
A couple months ago I did a project in C++ with Visual Studio that I needed pthreads for, so I ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 9, 2022
in
Education
by
JackTerrance
c
visual-studiovisual-c
visual-studio-2017
0
votes
Q: My 'scanf' loop doesn't stop; while condition is not working
I was supposed to do this exercise: Write a program in C to print a frequency chart on the screen ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 9, 2022
in
Education
by
JackTerrance
c
0
votes
Q: My Class.cpp is not being seen by the linker
I am trying to write a C++ class in a separate header and cpp file using VS Code as my IDE with the 'run' and ' ... #include "Fan.h" #include using namespace std; Fan::Fan() { cout...
asked
Apr 9, 2022
in
Education
by
JackTerrance
c
class
0
votes
Q: Private static member - compilation error?
I am following simple examples to build up my understanding on private static members. However, I am getting ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 9, 2022
in
Education
by
JackTerrance
c
0
votes
Q: C++ Passing a window to a new exe
So my question is targeted currently at Windows, but knowing the information for OSX would still be useful ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 7, 2022
in
Education
by
JackTerrance
c
windowswindowparameter-passing
0
votes
Q: Josephus Election Problem array implementation
I am trying to implement the Josephus election problem using an array as a mock circular linkedlist. The item and next arrays represent ... array x = next[x]; count++; } std::cout...
asked
Apr 7, 2022
in
Education
by
JackTerrance
c
arraysalgorithmdata-structures
0
votes
Q: "Default delete" errors when trying to use unique_ptr with vectors for polymorphism in C++
I'm relatively new to C++, and I'm hoping someone can help me resolve an issue I'm having with unique_ptr and vectors. ... ) { useLegs(); } void Biped::useLegs() { std::cout...
asked
Apr 7, 2022
in
Education
by
JackTerrance
c
polymorphismsmart-pointers
Page:
« prev
1
...
4
5
6
7
8
9
10
...
21
next »
...