c++ tag

886 questions


1 answers
30 views
0
To change a specific bit to 0/1 in C/C++

I want to know how to change a specific bit to 0/1 in C/C++.

2 years ago

1 answers
91 views
0
When do we use the ASSERT function?

There was an announcement in the OpenCV tutorial about using the alert function, so I'm curious how to use it

2 years ago

1 answers
97 views
0
To store references in a vector?

std::vector<int &> hello;If you try to save references of int together error C2528: 'pointer' : pointer to reference is illegalAn error appears.I'm not good at using a pointer, so I'm going ...

2 years ago

1 answers
24 views
0
c++ Should I put something in the blank? (Studying!

There is a blockage in the empty space where the vehicle number is entered.Can you give us a hint?I wish there was a simple example, but I can't even think of courseI'm going to wrap my hair up and pu...

c++
2 years ago

1 answers
21 views
0
Google's v8 question.

Hello. I have a question about chrome browser's javascript engine v8 that Google is conducting as an open source project.I'm confused because I'm studying on my own.v8 Description If you look at the l...

2 years ago

1 answers
70 views
0
Does "new int[0]" allocate memory?

On my computer,cout << new int[0] << endl;When I ran , I printed 0x876c0b8.I think I'm allocating memoryAssigning [0] means assigning empty. Personally, I thought there would be an error, ...


1 answers
128 views
0
Why is there an argc in C main?

We know that argc is the number of factors that came in, and argv is storing them as strings.But since argv[argc]==NULL, there is no need to have argcIs it because it might not be argv[argc]==NULL in ...

2 years ago

1 answers
26 views
0
Calling C/C++ on Python

I want to use C/C++ libaray in Python, how can I bind it?

2 years ago

1 answers
20 views
0
C++ Copy Generator Parameters

Is there any reason to receive it as a reference? I think it's a forced appointment.

c++
2 years ago

1 answers
69 views
0
Why don't you use using namespace std?

Why don't you write using namespace std;?Like std::out, std::cin, std::cin, I don't know why.Is it inefficient? Or is it because the variables are at risk of blurring?Does it affect the performance of...

2 years ago
« - 66 - »

© 2024 OneMinuteCode. All rights reserved.