c++ tag

886 questions


1 answers
71 views
0
Assigning a Character in the Assembly Language

You have assigned c,m,d,\x0 respectively.First line move by ptr [cmd], 63hI wonder why [cmd] doesn't come out as [ebp-n] in a part like below, what [cmd] means. And I want to know if each mov allocate...

2 years ago

1 answers
90 views
0
[Python to C++] How do I get bitten by the for moon? Create a file name.

If you squeeze Python, it looks like belowfor i in range(0,10) CT_img = cv2.imread(r'D:\Remedi\Exercise\Xray\corrected images by CBCT/CBCT (' + str(i) + ').png', -1)I'd like to change it to C++ as bel...

2 years ago

1 answers
100 views
0
Questions about initializing c++ member variables

#include stdafx.h#include <iostream>using namespace std;class foam{public: int temp_c ; foam() { temp_a = 10; temp_b = 20; } int temp_a ; int temp_b ; void printdata() { cout << temp_...

2 years ago

1 answers
39 views
0
c++ Copy String Questions

Header File Mystring.hclass CMyString{public:CMyString(void);~CMyString(void);private:char* m_pszdata; // memory storage stringintm_nlength; // string lengthpublic:int SetString(const char* pszparam);...

2 years ago

1 answers
57 views
0
When directly coding with a laptop, the frame is too different depending on the graphics card.

Hello.I develop it with a laptop and it comes with an internal graphics card (Intel HD 610) and an external graphics card (Nvidia GTX 960M).When you run the program with an internal graphics card, you...

2 years ago

1 answers
108 views
0
C++ Class Internal Type Conversion Question, const indicator

MyString.h (header source)// CMyString class internal instance and method declarationclass CMyString{public: explicit CMyString(const char* paramstr); CMyString(const CMyString &rhs); ~CMyString(v...

2 years ago

1 answers
37 views
0
Ekid doesn't work on Visual 2019 C++

#include <stdlib.h>#include <stdio.h>#include <windows.h>#include <conio.h>void gotoxy(int x, int y){ COORD pos = { x,y }; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HAND...

c c++
2 years ago

1 answers
48 views
0
See c++ structure arrangement

void CalcGPA(Subject& Sub);structure subject {// subject information charSubName[30]; // Subject Name int Hakjum; // Subject credit Char Grade[10]; // Subject Grade float GPA; // subject rating};s...

2 years ago

1 answers
22 views
0
I would like to ask you how to change the structure pointer value to the structure reference function value.

void PrintOneData(Student* stu){ cout << Name: << stu-> stdName << Academic number: << stu-> hakbun << endl; cout.width(10); cout << =======================...

c++
2 years ago

1 answers
49 views
0
Question about c++ constructor.

#include <iostream>class A{ int x;public: A(int c) { x = c; std::cout << A(int c) is executed << std::endl; } A(const A &a) { x = a.x; std::cout << Create Copy <<...

2 years ago
« - 76 - »

© 2024 OneMinuteCode. All rights reserved.