c++ tag

886 questions


1 answers
115 views
0
C++ Class Structural Design Questions

Creating one library.I'm embarrassed because I'm not used to the design pattern even though I've been doing c++ for a long time.To illustrate the problem I've just encountered,In this situation, the C...

2 years ago

2 answers
79 views
0
I'd like to ask you a question about Unicode Korean printout on C++.

#include <iostream>#include <clocale>using namespace std;int main() { setlocale(LC_ALL, ); wchar_t str1[] = LWBCS 1; wchar_t str2[100]; wchar_t str3[50]; wcout << str1 << endl;...

2 years ago

1 answers
29 views
0
Have you decided on the order to include headers?

System Files - STL - Like BoostIs there any order in which to include the files?If there's anything decided, please let me know why.

c c++
2 years ago

1 answers
91 views
0
Difference between float and double

I read about the difference between float and doubleMost of the time, they seem to produce the same resultsBut when I solve the problem of floating point calculation,When I use my computer, I use 10 c...


1 answers
117 views
0
How do I stack trace the C++ app?

I made a c++ app, but it keeps dying by itself.stacktrace I want to see what's going onI've only heard of it, but I don't know howMy app uses linux/window/macCompiled all to gcc.After the app dies, wh...


1 answers
59 views
0
Compilation error related to WinMain

Compiling the code below with the visual studio code results in an error.//////////// LinkedList.h ////////////#pragma oncetypedef struct LINKEDLIST { Node* head; Node* cur; Node* before; int numOfDat...

2 years ago

1 answers
115 views
0
How to debug command-line parameters in Visual Studio

I'm making a command line application with BIS C++I can't find a way to debug it because I got an argument from the command line no matter how much I look for itI'm just using exe file to run it, but ...


1 answers
117 views
0
How do we know if a function exists or not?

I want to make the C++ template do something different depending on the presence or absence of the function.Is there a function that acts as FUNCTION_EXISTS() in the code I made?template<class T>...

2 years ago

1 answers
111 views
0
What's the difference between taking a dot (.) and doing ->?

What is the difference between pointing a dot on an object (.) and doing -> in C++?I hate pointers.

2 years ago

1 answers
115 views
0
How to determine CPU/memory consumption within a process

Is there a way to figure out the contents below while running the application?My code runs on Windows and Linux.I can't get the exact information, so I'm asking here.

2 years ago
« - 75 - »

© 2024 OneMinuteCode. All rights reserved.