34 questions
I have a question because I can't solve the blockage while making the Android app.I want to change the enable value of another preference according to the true false value of the switch, but in the bi...
I thought it was a call-by-reference, but it's called a call-by-value on the Internet. Why?
What happens if two modules import each other?To generalize, what happens if a circulating import occurs in Python?
The reference variable that stores the class's address value is System.out.print(), which shows the address value at the time of output.The reference variable referring to the string class is System.o...
#include<stdio.h>void rotate(int(*ptr)[4]){ int i,j; int temp[4][4]; for(i=0;i<4;i++) { for(j=0;j<4;j++) { temp[i][j]=ptr[3-j][i]; } } for(i=0;i<4;i++) { for(j=0;j<4;j++) { pt...
I know how to write reference and pointer.What I want to know isWhich is more appropriate to write reference or pointer.In some cases, this is specified (for example, the ++ operator only writes refer...
void CalcGPA(Subject& Sub);structure subject {// subject information charSubName[30]; // Subject Name int Hakjum; // Subject credit Char Grade[10]; // Subject Grade float GPA; // subject rating};s...
When searching in a linked list, you search by creating a ListNode *p variable as shown below.void print_list(ListNode *head){ for(ListNode *p = head ; p != NULL ; p = p->link) printf(%d->,p-&g...
I tried to save visibility as shared preference by referring to stack overflow, but only split_two state is saved and the rest is not saved. Where should I modify to save the visibility of all buttons...
I saved the number of clicks on the counter using sharedpreference. If you click on it after you exit the application, the number will be counted. However, TextView is not saved, so if you press up to...
« | - 3 - | » |
© 2024 OneMinuteCode. All rights reserved.