Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged C
0
votes
Q: How to create USER DEFINED EVENTS in ALLEGRO 5
I am working on a game in allegro 5 in which I want to create rectangular objects dynamically on screen and make them clickable with mouse ... if ( x >= rect.x && x = rect.y && y...
asked
Apr 26, 2022
in
Education
by
JackTerrance
c
0
votes
Q: C++11 type alias of std::array with operators
I have a c++11 type alias: using coord = std::array; Can I define the operator + for coord? ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 26, 2022
in
Education
by
JackTerrance
c
11
0
votes
Q: C++ - Opening an image with Windows Photo Viewer with ShellExecute
I would like to use ShellExecute in my C++ program to force the opening of a tiff image with ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 26, 2022
in
Education
by
JackTerrance
c
0
votes
Q: Creating a UINT32 from 4 floats
Ok. I'm working with the FW1FontWrapper code for use with DirectX : https://archive.codeplex.com/?p=fw1 This has removed ... hex back onto a UNIT32 UINT32 color = 0xFF + (ucolorb...
asked
Apr 26, 2022
in
Education
by
JackTerrance
c
text
0
votes
Q: C++ (function) template that return its unique argument without copying it for certain types
I have a function value(x) which is overloaded for many types such that: double value(double x) { return x; } double ... [-Wreturn-local-addr] in the following code: Matrix33 m; m...
asked
Apr 24, 2022
in
Education
by
JackTerrance
c
11templateseigen
0
votes
Q: C++ possible to use move sematics to move data from one vector to another
The code below copies data from one vector into another. If the vectors are large then I guess this ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 23, 2022
in
Education
by
JackTerrance
c
11vector
0
votes
Q: C++11 type alias of std::array with operators
I have a c++11 type alias: using coord = std::array; Can I define the operator + for coord? ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 22, 2022
in
Education
by
JackTerrance
c
11
0
votes
Q: Unable to build Allegro C++ program in Visual Studio 2010
I am a complete beginner in allegro and i just installed allegro correctly and this is my code(my first ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 22, 2022
in
Education
by
JackTerrance
c
callegro
0
votes
Q: How to output unicode box drawing in C++?
Sorry for what may sound simple, but I am trying to draw just a simple box in Visual Studio 2017 using the unicode ... code below #include using namespace std; int main() { cout...
asked
Apr 21, 2022
in
Education
by
JackTerrance
c
unicode
0
votes
Q: C++ possible to use move sematics to move data from one vector to another
The code below copies data from one vector into another. If the vectors are large then I guess this ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 21, 2022
in
Education
by
JackTerrance
c
11vector
Page:
« prev
1
2
3
4
5
6
7
...
21
next »
...