c++ tag

886 questions


1 answers
108 views
0
Detect when the registry is created

I want to hook up when the registry is created.There are APIs such as regopenkey, but I thought I was not sure when all registry creation was included.If hooking at the time of registry creation, whic...

2 years ago

1 answers
26 views
0
Ask about when to call the c++ move constructor. I think it's the time of the call, but the move constructor is not created :(

The writing code is as follows:#include <iostream>using namespace std;class CMyData{public: CMyData(int Param):m_nData(Param) { cout << CMyData(int) << endl; } CMyData(const CMyData...

c++
2 years ago

1 answers
63 views
0
I'm using MacBook xCode. Can't I create MS visual studio project folder in xCode?

Hi, everyone. Mac, C++ are both beginners.I have to submit my school assignment by next week. Regardless of whether you're using a Mac, Ask them to submit 'Visual Studio Project Folder' and 'cpp' file...

2 years ago

1 answers
106 views
0
The difference between a C++ const reference variable and an ordinary variable

For example, if you have a class called Point, const Point Point::operator+(const Point& a)Wowconst Point Point::operator+(Point a)What's the difference betweenI only know that const Point& is...

2 years ago

2 answers
25 views
0
About multi character literals

In C++, we were investigating the single quotation mark (' ) (it was about the content that would change to a number if a string was in the single quotation mark)http://hashcode.co.kr/questions/237/ S...

c++
2 years ago

4 answers
24 views
0
To access an array within a class in C++

Below is part of the code. You want to add a code that creates an average from the values in the class below.First of all, what I'm curious about is how to approach the arrangement in the class, like ...

c++
2 years ago

1 answers
96 views
0
A Comparison of the Concept of C++ Reference Format and Parent-Child Overriding in Java

I'm studying c++ for the first time! When there is a function test that overrides the function of A in B when A is a child class, parent B is a child class, A ref = new B; ref.test();I thought that fu...

2 years ago

1 answers
126 views
0
When using deque in C++, the type when using auto

How do I declare the same type of it in the for statement in the code below?It doesn't come out properly even if I use typeid My prediction is std::deque::iterator, is that right?#include <iostream...

2 years ago

1 answers
26 views
0
Please tell me the difference between using indicator and using declaration!

I started studying c++, but I was stuck while studying namespace. cryingWhile I was googling about my questions, I couldn't find the answer, and I found a question posted by someone who had exactly th...

c++
2 years ago

1 answers
60 views
0
I need to develop a window program with c++, how do you handle GUI these days?

I was going to develop a Win32 API for C++, but now that I'm trying to create a custom GUI, it feels like I'm making a new wheel.What kind of Gui framework/library do you use for developing Windows wi...

2 years ago
« - 41 - »

© 2024 OneMinuteCode. All rights reserved.