or tag

453 questions


1 answers
98 views
0
This is a question about the principle of temporary copying of the member variable in C++ Default Copy Generator

class baseDMA{private: char* label; int rating;public: baseDMA(const char* l=NULL, int r =0); baseDMA(const baseDMA& rs); virtual ~baseDMA(); baseDMA& operator=(const baseDMA& rs); friend ...


2 answers
67 views
0
c++ Error

I wrote this code, but I keep getting errors. It's the code execution result at the bottom, but this error keeps popping up. Please, which part should I correct?

2 years ago

1 answers
100 views
0
I want to create a web code editor. Or if there's anything good, please recommend it.

I'm trying to create a web code editor, but I don't know how to start, so I'm leaving a question.The period is set at 2 months, but I don't think it'll matter if it's delayed further.I'm planning to m...


2 answers
112 views
0
I made a baseball game, but I can't find the error.

I made it like below, and it works well to the first function that prevents duplicate numbers.For example, if you enter 123 and you have at least one strike,If you repeatedly enter 123 several times, ...


1 answers
160 views
0
I want to print only the last value of the for statement in the code below.

#pragma warning (disable:4996)#include<stdio.h>int main(void) { int cnt = 0, digt_cnt = 0, i, total = 0; char c; while (c = getchar()) { if (c == 'q') return 0; ++cnt; {if (c >= '0' &...

c for
2 years ago

1 answers
111 views
0
Read Python json. UnicodeDecodeError: 'cp949' codec can't decode byte

// Enter your code here[ { created_time: 2018-01-23 08:00:00, link: http://news.jtbc.joins.com/article/article.aspx?news_id=NB11579263, message: To former lawmaker Lee Sang-deuk, who was a big shot...


1 answers
88 views
0
It's a question about Python beginner for Moon

//for i in range(5): for j in range(i+1): print('*',end='') print() for i in range(5): for j in range(5-i): print('*',end='') print()When I do this, it becomes double cloth, so the shape I want do...

2 years ago

1 answers
124 views
0
Is the Android proximity sensor delay controlled?

I have a question because there is something that doesn't work well while studying Android. mSensorManager= (SensorManager)getSystemService(Context).SENSOR_SERVICE ); mSensor = mSensorManager.getDefau...


1 answers
160 views
0
Question related to deleting vector object.

vector<list<CObj*>> m_vecObj;for (UINT i = 0; i < iSize; ++i){ list<CObj*>::iterator iter = m_vecObj[i].begin(); for (; iter != m_vecObj[i].end(); ++iter) { if (i == MISSILE) { ...

2 years ago

1 answers
109 views
0
How to handle scripts woven from C language to bone shell

You are about to use bash script in C language.You don't have to run the bash script fileAs shown in the source below, I want to define the bash script as a definition statement and then run it in the...

2 years ago
« - 16 - »

© 2024 OneMinuteCode. All rights reserved.