loading tag

6 questions


1 answers
122 views
0
c++ new operator error

https://github.com/j209446/BST_bag_class-c-/blob/master/main.cpp This is my cpp file. When I built it on VS2015, I got a C2668 errorAn error occurs in the new operator, but I don't know why.node->s...


1 answers
89 views
0
How does Python initialize a list to zero by a certain length?

In C/C++, int myarr[100] = {};If you write it like this, all 100 elements have been initialized to zeroIn the Python list, mylist = [0 for i in range(100)]Is this the most Python way to write a for se...


1 answers
110 views
0
Is there a way to wait for loading when crawling with python requests?

url = 'www.url-test.co.kr'req = reuqests.get(url)json_load = json.loads(req.text)json_res = json_load['rest']...In this way, a specific site is using requests to retrieve information. To be exact, I g...


1 answers
112 views
0
I assigned an array with new, but the last value of the array cannot be entered.

#include <iostream> using namespace std ; class Matrix { int** values; int row, column; public: Matrix(int row = 0, int column = 0) { this->row = row; this->column = column ; } Matrix ...


1 answers
91 views
0
Java programming constructor overloading

Book(){}Book(String title, String author) { this.title = title; this.author = author;}Is it overloaded if I do this?


1 answers
89 views
0
An error appears when trying to load a data set.

I tried using someone else's code to load the dataset, but these cannot import name 'CreateDataset' from 'config' (C:\ProgramData\anaconda3\lib\site-packages\config__.py) An error appears, so searchin...

1 years ago

© 2024 OneMinuteCode. All rights reserved.