c++ tag

886 questions


7 answers
38 views
0
Is -0 equal to +0 in a complement system of 1?

Is the integer type -0 equal to +0 in a processing system that uses a complement of 1?Assume the int type:Variables negative_zero and that are negative 0s, internal representations 1111<abbreviated...

c++ c
2 years ago

1 answers
90 views
0
VC++/MFC memory DC may terminate incorrectly when discarded

in VC++/MFC under dialog-based application environmentMemory DCs are deployed for faster graph drawing.This dialog allows you to resize in the resize box.# Maybe I'm thinking wrong, but...In the WM_SI...

2 years ago

2 answers
31 views
0
find values in the concatenated list by a recursive function

I would like to find the values in the templateed concatenation list using the recursive function (recursive method).What I'm worried about is the temporary argument of the re-function.A common soluti...

c++
2 years ago

1 answers
36 views
0
How OpenCL handles two-dimensional arrays

What do you want to doI have created a program to +1 in OpenCL. https://peta.okechan.net/blog/archives/2538for your reference.int index=get_global_id(0); int index2 = get_global_id(1);I would like to ...

c++ c
2 years ago

2 answers
50 views
0
undefine reference to 'strcpy_s' error when using strcpy_s

I have to copy the string using strcpy_s in my assignment.The error undefine reference to 'strcpy_s' appears and cannot be executed.strcpy is available without any problems.I've been searching for err...

2 years ago

1 answers
79 views
0
About atom C++ string

I created the source code for Atom (also in vscode) C++ (shown below) and when I run it, I can't use the string system. Could someone tell me how to improve it?The compiler is MinGw.Run Results Source...

2 years ago

1 answers
56 views
0
compiler error C2872 ambiguous symbol.

The compilation error cannot be resolved.Please let me know.■ Compilation error contenterror C2872: 'MarketplaceWebServiceProducts': ambiguous symbol■What you want to doAmazon API Marketplace Web Serv...


1 answers
84 views
0
I want to prohibit the focus from switching when I press Tab.

Recently, I've been developing the text editor, but when the view is focused, pressing Tab moves the focus to another widget and I can't insert Tab characters.There must have been a setting that prohi...

2 years ago

1 answers
69 views
0
Understanding Bit DP Thinking Circuits

I don't really understand the thinking circuit of the algorithm in the code below.They seem to be using bit DP, but I don't know how to use bit operators to become DP (I don't know why DP is establish...

2 years ago

3 answers
44 views
0
Is there a way to check and change which headers cpp is looking at in Visual Studio 2015?

The reason I want to do this is because I use the current class (assuming class Hoge) as a singleton, but only the functions in the next line of public: refer to Hoge.cpp, and the subsequent lines ref...

2 years ago
« - 27 - »

© 2024 OneMinuteCode. All rights reserved.