c tag

1304 questions


1 answers
69 views
0
How to Read Resource Fork Information in OS X 10.6

The program currently under development will need to load the SoundDesigner2 file .sd2.In order to read the data written on the resource fork, I used to use StringHandle GetString(short stringID) in T...

2 years ago

1 answers
76 views
0
I don't know how to cast uint8_t on Swift.

uint8_t*buf=(uint8_t*) [characteristic.value bytes];_textField.text=[NSString stringWithFormat:@%d, buf[0]];I'd like to write this Objective-C code on Swift, but I don't know how to write it well.I wo...


1 answers
36 views
0
a function that returns the maximum value of an array of real numbers

I would like to write a program that outputs real numbers in an array from the beginning to the beginning, and that shows the elements of the array and the maximum values in the array, but I couldn't ...

c
2 years ago

1 answers
35 views
0
I want to use the display function to display the stack data at the end.

In this situation, I take out the for loop at the end of the main function and the printf statement in it and call it as a display function, but I don't know how to write the code.I want an example co...

c
2 years ago

1 answers
69 views
0
I want the objective-c (iPhone) to display a value equivalent to "sysctl-a".

I would like to obtain all the values currently available for sysctl-a on objective-c and iPhone.Is there any good way?

2 years ago

2 answers
38 views
0
Historical background of pointer expression in C language

Many people say that it is difficult to understand the pointer in C language.I think one of the reasons for this is the pointer notation.For example, the meaning of * is different when you declare a p...

c
2 years ago

1 answers
63 views
0
Understanding How to Switch the Return Destination of the Segue

There are screens A, B, and C, and I would like to use the segment on the Storyboard for screen transition.The transition is  ·Screen A→C ·Screen B→Cis available.At this time, when I press the back bu...

2 years ago

1 answers
38 views
0
C-language concatenation list reverses output order

PrerequisiteThere are some problems with the list structure of the c language that just don't work.What do you want to doThere are no errors in the program itself, but the output is displayed in rever...

c
2 years ago

1 answers
63 views
0
The UILabel cannot be segmented in Xcode.

I use Xcode to create a counting app with objective-c.It's a simple one with only buttons and labels, and when I tried to enter UILabel and connect it to the label, ○ didn't appear and the text color ...

2 years ago

9 answers
35 views
0
difference between else if and if sequences

In the case of if statements, I often use else if when dividing, but I happened to see them dividing like if bullet points.if(){} else if() {} else if() {}and if(){}if(){}if(){}What are the difference...

c
2 years ago
« - 26 - »

© 2024 OneMinuteCode. All rights reserved.