or tag

453 questions


1 answers
140 views
0
Can I convert std::vector> to an array in C++?

As the title says, I want to save vector with pair value as an array, is it possible?

2 years ago

1 answers
125 views
0
I have a question for pyqt5.

Recently, I am making a simple socket chat program with pyqt5.In this process, I would like to make a color pallet that can determine the color of the font using the combo boxI want to know how to put...


1 answers
62 views
0
What is the objective-c's ?, :?

What does this code do?I don't know why I'm using ?and :plabel.frame = (inPseudoEditMode) ? kLabelIndentedRect : kLabelRect;


1 answers
150 views
0
Python 2.7 code questions.

It's a program that extracts the image URLI'm having a hard time with 2 problems.https://stackoverflow.com/questions/14587728/what-does-this-error-in-beautiful-soup-meansI think it's similar to this s...

2 years ago

1 answers
63 views
0
c++ constructor questions

#include <iostream>#include <cstring>using namespace std;namespace COMP_POS { enum { CLERK = 1, SENIOR, ASSIST, MANAGER }; void ShowPositionInfo(int pos) { switch (pos) { case CLERK: c...

2 years ago

2 answers
78 views
0
It's a question for the return door!

def find_ins_idx(r, v): # Check the data of the already sorted list r from the beginning one by one for i in range (0, len (r)): # If the value of the data in position i is greater than the value of ...

2 years ago

1 answers
91 views
0
VS Code Error Checking

I'm using vscode, but if there is a grammar error on the desktop, The problems panel tells you that there is an error in the number of lines.It works well on the desktopIt hasn't been like that since ...

2 years ago

1 answers
69 views
0
How do I find items in std::vector?

I want to find out if there's an element in the vectorHow do we figure it out?How can I create item_present in the code below? if ( item_present ) do_this();else do that();

2 years ago

1 answers
57 views
0
(Python Foundation) % Remaining Operator Error Problem

%d %d in the last line gives an error because of the % in the middle. It's one of the arithmetic operators, and it seems to have an error because you couldn't read it as an arithmetic operator and the...

2 years ago

1 answers
68 views
0
There is an Android FATAL EXCEPTION error, so please check it.

package com.example.unbo.wifilist;import android.Manifest;import android.content.BroadcastReceiver;import android.content.Context;import android.content.Intent;import android.content.IntentFilter;impo...

2 years ago
« - 28 - »

© 2024 OneMinuteCode. All rights reserved.