coding tag

43 questions


1 answers
132 views
0
I have a concern about coding itself.

Hi, everyone.Currently, I am a jobless student who is studying with Python, which was said to be easier.I've been solving BOJ since yesterday to improve my coding skills.The problem is that when a cod...

2 years ago

1 answers
118 views
0
Tell me the meaning of the code

const int a = sensor1; const int b = sensor2;const int c = sensor3;const int d = sensor4; if (a == LOW || b == LOW || c == LOW || d == LOW )What does this code mean?

2 years ago

1 answers
89 views
0
A simple Java Array question!

Why isn't the code below executed?There is no value assigned to the original i, so it says that it cannot be executed even after the new assignment.public class Main {public static void main(String[] ...

2 years ago

1 answers
73 views
0
Python question

Hello, everyone I got a syntax error while coding Python, but I don't understand whyIn the first coding, there was an error in the sum_even(result) function. Is it because you use a,b without knowing ...

2 years ago

1 answers
122 views
0
Java coding question

for(int p = 0; p < index.length;p++) { int count=0; for(int q = p+1; q < index.length; q++) { if (Arrays.equals(index[p], index[q])) { count = count +1; } } if (count==7) { For (in...

2 years ago

1 answers
113 views
0
This is a question about game development.

I'm a freshman who just started directx 9. I was going to make a game with my friend, but I don't know how to implement a game that is bright around the player and darkens when a certain distance is a...

2 years ago

2 answers
124 views
0
There's an error, but I don't know what to do Error number: Unable to open E1696 file source "Console.h"

Why is it like this? The console.h file and the Console.cpp file are included in the main sourceWill it work if I connect it?Do you call this function?

2 years ago

2 answers
117 views
0
It's a Python coding problem, what should I do?ㅜㅜ

Fruit stores sell pears, grapefruit, melon, and persimmonsStock quantity and unit price in advance fruit = {'bae': [2, 1000], 'grapefruit': [1, 2000], 'Meron': [1, 8000], 'Gam': [6, 800]} stored in Ou...

2 years ago

1 answers
76 views
0
A very simple basic of basic Python question...!

School year = input() / print (You entered %s., %s)I'd like to ask if this code is correct!I don't know how to code when I try to print it out like this ㅜ

2 years ago

1 answers
124 views
0
I don't know what it means to get Objecto as a parameter.

public int compareTo(Object o)CircleTwo c = (CircleTwo) o;Here, I don't know what the parameter Objecto in CompareTo points to.And do you mean to convert (CircleTwo) o in the second line?Code with the...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.