c tag

1304 questions


1 answers
82 views
0
Questions about C language

#include<gtk/gtk.h># include <math.h>gboolean redraw (GtkWidget*w, gpointer user_data);gboolean draw (GtkWidget*w, gpointer user_data);int main (int argc, char**argv){ GtkWidget*win, *l1, ...

c gtk
1 years ago

1 answers
87 views
0
Questions about C language

#include<gtk/gtk.h># include <math.h>gboolean redraw (GtkWidget*w, gpointer user_data);gboolean draw (GtkWidget*w, gpointer user_data);int main (int argc, char**argv){ GtkWidget*win, *l1, ...

c gtk
1 years ago

2 answers
73 views
0
On iPhone 6, the contents of the scroll view do not match the width of the scroll view.

The iOS app implements a scroll view by referring to the here article.iOS 7 works fine, but iOS 8 iPhone 6 has a wider scrolling area than its parent view.If you know the solution, please let me know....

1 years ago

1 answers
83 views
0
Unable to create subfolder in mkdir under Documents folder in iOS

/var/mobile/Applications/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX/Documents I wanted to create a subfolder, so I wrote the following source code.I created a subfolder with mkdir, but the mkdir return value...

1 years ago

2 answers
79 views
0
Best Practices for NSMutableArray Method Arguments

What is the best method for NSMutableArray method arguments?Array1 and array2 in the source code below contain similar values.-(void)testMethod{ NSMutableArray*array1 = NSMutableArray array; NSMutable...

1 years ago

2 answers
90 views
0
Best Practices for NSMutableArray Method Arguments

What is the best method for NSMutableArray method arguments?Array1 and array2 in the source code below contain similar values.-(void)testMethod{ NSMutableArray*array1 = NSMutableArray array; NSMutable...

1 years ago

1 answers
130 views
0
About screen transition data

I'm having trouble passing data on two screens.I would like to change the content displayed when I transition from the first screen to the second screen depending on the cell selected in TableView on ...

1 years ago

1 answers
137 views
0
About screen transition data

I'm having trouble passing data on two screens.I would like to change the content displayed when I transition from the first screen to the second screen depending on the cell selected in TableView on ...

1 years ago

1 answers
56 views
0
UICollectionView cells misaligned when returned from a screen transition by show Segue

When drawing for the first time, it appears as shown in the image below, but When I return from the show screen transition, the display will be misaligned as shown below.I tried to play with the top b...


10 answers
36 views
0
About the return value of C's self-made function

Sorry for the new question.If you created your own function in C, I can't decide what to return with the return value.If the return type is int type, Should I return -1 or 0 in case of an error?Also, ...

c
1 years ago
« - 19 - »

© 2024 OneMinuteCode. All rights reserved.