programming tag

32 questions


1 answers
102 views
0
How can I improve my programming more easily? Is 100 questions and a single stroke the answer?

I'm sorry it's not a question about the code. It's nothing else, but I was thinking about making a list of data that comes out like this on Python today, and it got stuck. I'm guessing it's using a da...

1 years ago

1 answers
105 views
0
Simple question! Please answer quickly (Error in Python list?

a=b=[0]print(a[0])b[0]=1print(a[0])Why was the value of b automatically substituted for the value of a when the value of a was not adjusted except when the list was first declared in the code above? I...

1 years ago

2 answers
93 views
0
Android programming) I'm trying to make an app (basic)

C language and Python are the only languages that can be usedI'm trying to get started with Android programming, but they made it without javaThere seems to be no restrictionI'm trying to make a simpl...

1 years ago

1 answers
72 views
0
Why do you have to cover it with a block when you repeat only one line of code?

I'm taking a C++ course and in the textbook,It says so. Other than that, you can understand it for readability or safety reasonsI don't understand to use {} even when writing a line.I think the source...


1 answers
87 views
0
Questions about Python Socket Communication.

Hello, I am currently studying Python.I'm studying Socket Communication Program Maybe because I'm not used to it yet, I don't understand well even if I take this and that from various blogs and open i...

1 years ago

1 answers
123 views
0
[Network Programming] Is it possible to check the string sent by the client on the server?

retval=recv(clnt_socks[job1],buf,BUFSIZE,0);// // buf[retval]='\0';if (strcmp(answer, buf) == 0) { for (i = 0; i < clnt_cnt; i++) { //... }}else { for (i = 0; i < clnt_cnt; i++) { //... }}The ...


1 answers
62 views
0
I'd like to convert hex format data received through web api from Pysun to json through code.

I'm a student studying blockchain and bitcoin.I got raw block data of bitcoin block through web api as below.url=https://blockchain.info/rawblock/00000000000000000002447735c7723ee9188322c0938e6587866a...


1 answers
109 views
0
In programming, about referring to yourself in the definition part.

Hello.I understand that many of the programming languages can refer to themselves while defining a function or class.Recursive Function.# Python3sum = 0;def factorial(a, n) if (n==1): return 1 else: ...


1 answers
80 views
0
Which is the larger concept of the test case/unit/suit?

After searching here and there, I think the test case is definitely the smallest unit of test code.It is also found in many documents that test suit and test unit are units that bind case to some exte...


1 answers
89 views
0
(Android) It's getting stuck in the process of getting the number

I want to create a function that takes data from contacts and registers it as a friend.However, there is no problem with pressing the Register with your contact button and showing the registered conta...

1 years ago
« - 3 - »

© 2024 OneMinuteCode. All rights reserved.