c tag

1304 questions


1 answers
119 views
0
I have a question about Semantic.

Hello, everyoneThis is what Mr. Yamoo answered in a question about the form the other day.In semantic foam design (reading: semi-formative) way, You must configure the form to be read as a flow of tex...

2 years ago

1 answers
30 views
0
_main is already defined in Hello.obj.

I'm a self-taught student.While I was doing well while making Hello World!, I ran it again, and this phrase appeared saying that there was an error._main is already defined in Hello.obj.There are symb...

c
2 years ago

1 answers
27 views
0
This is an example in the C language iteration part, but I don't know why it doesn't work as intended.

int main(){ int min, val; min = INT_MAX; // Maximum value of int type constant printf (Enter an integer\nExit Ctrl+z\n);while (scan(%d, &val)! = EOF) //Ctrl+z Enter to exit the repeat statement{ i...

c
2 years ago

2 answers
112 views
0
Android Gradle sync Problem

This is the gradle of my app module.There was an error like above, so I asked God Google for an hour, but I don't know what it is...Anyone know the solution?They want me to write tools:replace=android...

2 years ago

1 answers
45 views
0
Output problems in 64-bit environments

#include <stdio.h>int main() { int num = 20; int* pnum = &num; printf(Size of pointer variable: %dbytes\n, sizeof(pnum))); return 0;}When I changed the build platform to 64bit (x64) in Visua...

c
2 years ago

1 answers
74 views
0
How do I avoid overlapping if statements?

What if there's an if statement inside the if statement?It's hard to see /psudo code)bool conditionA = executeStepA(); //executeStepX only runs when the previous step is successfulif (conditionA){ boo...

2 years ago

1 answers
49 views
0
Create string permutation using repeat statements

a,b,c,d,e. These five letters are abcde,abced,abdce,abdec...How do I create permutations in this way, using only repetitive statements?

c c++
2 years ago

1 answers
31 views
0
This is a question about copying heatless after dynamic allocation of C language memory!

#include <stdio.h>#include <stdlib.h>int str_copy(char *str2, char *str1);int str_len(char *str1);int str_func(char **str2, char *str1);int main(){ char str1[50]=I Love Chewing C hahaha; c...

c
2 years ago

1 answers
56 views
0
Is there a way to use _getch() in the repetition sentence in C language so that it repeats even when there is no input?

It's supposed to be 1 every second from 0 and if you type r, it starts from 0 againI was going to end the program by typing q.I made it as below, but it works only when I keep pressing other buttons o...

2 years ago

1 answers
41 views
0
I don't understand the decimal output program.

The coding below is a program that continues to print out decimal numbers up to 1000000000.I don't understand the function part of int is_prime(intn).How do I interpret it?Also, I don't understand the...

c
2 years ago
« - 77 - »

© 2024 OneMinuteCode. All rights reserved.