c tag

1304 questions


1 answers
35 views
0
When developing Android, can I develop it with C or C++?

I'm going to develop an Android game, but I want to develop it with C instead of Java I think we can develop it with C, but I'm asking if there are any good tutorials or materials for that.

2 years ago

1 answers
141 views
0
How do I view dynamic assigned arrays in Visual Studio debugging mode?

The visual studio debugger shows the static arrangement well,Do I have to press + to show the dynamic array or double pointer?Also, sometimes I have to press + every time, so it's annoying.


1 answers
86 views
0
What do you mean by scanf in this while statement is 3?

while(scanf(%d %s %s, &s[n].id,s[n].name,s[n].major)==3) n++;What do you mean 3?

2 years ago

1 answers
60 views
0
Can you tell me what calculations you do in C?

...!ErrorHasOccured() ??!??! HandleError();`...I've never seen an operator like this in C code.All I've seen so far is ? is to go inside a trinomial operator? Can we use it together?I can't find anyth...

2 years ago

1 answers
117 views
0
C language return value question

void main(){printf( aaa );return 'a';}This is how we wrote the code.Since the return form of the main function was specified as void, the main does not deliver the return value to the OS.Based on this...

2 years ago

1 answers
26 views
0
Question about the address value of a two-dimensional array.

#include <stdio.h>int main(){ int arr[2][4]; for (int i = 0; i < sizeof(arr)/sizeof(int); i++) { scanf(%d, &arr[0][0] + i); // ok // // scanf(%d, &arr + i); // error } printf(arr siz...

c
2 years ago

1 answers
26 views
0
C Language File Modification Issues

Locate the string yoons in a text file whose content has already been created.I wrote a source with the intention of modifying it to 'h' instead of 'y'.Read the file in rt mode and search for yoons to...

c
2 years ago

1 answers
43 views
0
I want to know how to store a string as a C array element

I want to create a two-dimensional array and store strings in each element.My code prints well, but it alerts me when I compile it.How do I create an array without warning?char (*a[2])[14];a[0]=blah;a...

2 years ago

1 answers
28 views
0

1 answers
33 views
0
Please correct the language of c.

It's a code that I made When I debugged it, the computer was not affected by the if part and just kept running Which part is the problem...?#include<string.h>#include<stdio.h>#include<s...

2 years ago
« - 79 - »

© 2024 OneMinuteCode. All rights reserved.