c tag

1304 questions


1 answers
112 views
0
Why do only similar numbers appear in rand()?

I don't know if seed is weird or if I pull land() I keep getting similar numbers.In my program, I'm going to write a log, so there needs to be a big differenceAlmost all of them are from 225 to 230253...

2 years ago

2 answers
44 views
0
Does the maximum value of the array size exist?

Debugging the following code causes stack overflow. By any chance, does a static array have the maximum size of the array that can be declared?void main(){ int StaticDoubleArray1[2500][2500] = { 0 };}

2 years ago

1 answers
85 views
0
Introduction to C language yesterday. I have a question about if and else

I have a question about the C language-based robot programming called Lego Mind Storm Masters!You put if in else again.after executionIn the loopOperation if sensor 1 is greater than 50 Add conditions...

2 years ago

1 answers
111 views
0
I can't see the sublime text3 menu.

I am a Mac userI'm looking at the contents of YouTube, but I can't see the Preferences menu.Is it only available for Windows?


2 answers
117 views
0
How do I manage external library dependency in C development environment?

Is there a tool in Java that you use in the C development environment like maven or gradient?

2 years ago

1 answers
24 views
0
[javascript] Lotto deduplication question (goto statement)

<!DOCTYPE html><html> <head> <title> </title> </head> <body> <script type=text/javascript> var i; var j var cnt=5; var y var arr=[]; for(y=0;y<cnt;y...

2 years ago

1 answers
42 views
0
Questions about IOS source code obfuscation

I heard that IOS does not need code obfuscation when building and deploying apps to the App Store.I googled out of curiosity, but there's no clear answer.I'd appreciate it if you could explain it in d...

2 years ago

1 answers
96 views
0
The best way to make sure that at least two of the three boolean are true

I was doing an interview and the interviewer told me to write a code to find out if two or more are true when there are three boolean variablesboolean atLeastTwo(boolean a, boolean b, boolean c) { if ...

2 years ago

1 answers
46 views
0
Why are array names and array addresses the same?

The array name and the array address were the sameI made the pointer point to the array and printed out the pointer address, and it came out differently.Array name = array address Pointer value! = Poi...

2 years ago

2 answers
24 views
0
C Language Problem Questions

Write a function int GetGCD (inta, intb) that returns by calculating the maximum common divisor of two positive integers a, bUse this to enter positive integers until the user enters zero and the maxi...

c
2 years ago
« - 80 - »

© 2024 OneMinuteCode. All rights reserved.