한솔닷컴

self-development/study

Write about your interesting thing you have observed about someone in your class.

Write about your interesting thing you have observed about someone in your class. I will write about one friend in my classroom. The main character of my writing is Yu-min Lee She is a special girl who one of three girl in my class. She is a girl but she acts like a boy. For example, she aways run and run to catch other boys also she has huge voice and active personality. Her adventage is kind a..

it/programming

[c++] 구조체 포인터 node 관리 - find

#include #include struct node{ int data; struct node *next; }; int node_find(struct node *head, int key); void list_print(struct node *); void main(){ struct node a, b, c; struct node *head; int find, key; head=&a; a.data = 10; b.data = 20; c.data = 30; a.next= &b; b.next = &c; c.next = NULL; list_print(head); while(key!=-1) { printf("\n>>데이터 찾기\n찾고자 하는 데이터 : "); scanf("%d",&key); find = node_fi..

it/programming

[c++] 구조체 포인터 node 관리 - insert

#include #include #include struct node { int data; struct node *next; }; struct node *node_insert(struct node *head, int cur_data,int insert_data); void list_print(struct node *); void main(){ struct node a, b, c; struct node *head; head=&a; a.data = 10; b.data = 20; c.data = 30; a.next= &b; b.next = &c; c.next = NULL; list_print(head); head = node_insert(head, 20, 5); list_print(head); } void l..

it/programming

[c++] 구조체 포인터 node 관리 - add

#include #include struct node { int data; struct node *next; }; struct node *node_add(struct node *head, int add_data); void list_print(struct node *); void main(){ struct node a, b, c; struct node *head; head=&a; a.data = 10; b.data = 20; c.data = 30; a.next= &b; b.next = &c; c.next = NULL; list_print(head); head = node_add(head, 50); list_print(head); } void list_print(struct node *head){ for(..

etc/anything

안철수 대통령선거 불출마 선언 , 후보 사퇴 !

뉴스 속보 안철수 대통령 후보 사퇴 대통령선거 불출마 선언

it/programming

[c++] 구조체 포인터 node 관리 - delete

#include #include struct node { int data; struct node *next; }; struct node *create2(); struct node *node_del(struct node *head, int del); void list_print(struct node *); void main() { struct node a, b, c; struct node *head; head=&a; a.data = 10; b.data = 20; c.data = 30; a.next= &b; b.next = &c; c.next = NULL; list_print(head); head = node_del(head,10); list_print(head); head = node_del(head,20..

반응형
훈솔
'한솔닷컴' 태그의 글 목록 (56 Page)