본문 바로가기

Programming399

[C] Struct, Union /*------------------------------------------------------------------------------------------@ Pratice C laguage Author : SAMCreated : 28-03-2017Modified : 28-03-2017Language/ver : C in MSVS2015 Description : PracticeKEYWORD : Struct, Union------------------------------------------------------------------------------------------*/ #include #include enum days {MON, TUE, WED, THU, FRI, SAT, SUN}; i.. 2017. 3. 28.
[C] Struct, Union /*------------------------------------------------------------------------------------------@ Pratice C laguage Author : SAMCreated : 28-03-2017Modified : 28-03-2017Language/ver : C in MSVS2015 Description : PracticeKEYWORD : Struct, Union------------------------------------------------------------------------------------------*/ #include union u_data {int d1;double d2;char d3;}; int main(void) .. 2017. 3. 28.
[C] Struct, Typedef, Declaration /*------------------------------------------------------------------------------------------@ Pratice C laguage Author : SAMCreated : 28-03-2017Modified : 28-03-2017Language/ver : C in MSVS2015 Description : PracticeKEYWORD : Struct, Typedef2------------------------------------------------------------------------------------------*/ #include typedef struct Data{int data1;int data2;}Data; int mai.. 2017. 3. 28.
[C] Struct, Typedef2 /*------------------------------------------------------------------------------------------@ Pratice C laguage Author : SAMCreated : 28-03-2017Modified : 28-03-2017Language/ver : C in MSVS2015 Description : PracticeKEYWORD : Struct, Typedef2------------------------------------------------------------------------------------------*/ #include struct Data{int data1;int data2;}; typedef struct Data.. 2017. 3. 28.
[C] Struct, Typedef /*------------------------------------------------------------------------------------------@ Pratice C laguage Author : SAMCreated : 28-03-2017Modified : 28-03-2017Language/ver : C in MSVS2015 Description : PracticeKEYWORD : Struct, Typedef------------------------------------------------------------------------------------------*/ #include typedef int INT;typedef int* P_INT; typedef unsigned in.. 2017. 3. 28.
[C] Struct, Initialization /*------------------------------------------------------------------------------------------@ Pratice C laguage Author : SAMCreated : 28-03-2017Modified : 28-03-2017Language/ver : C in MSVS2015 Description : PracticeKEYWORD : Struct, Initialization------------------------------------------------------------------------------------------*/ #include struct point {int x;int y;}; struct circle {stru.. 2017. 3. 28.
[C] Struct, Return, Function /*------------------------------------------------------------------------------------------@ Pratice C laguage Author : SAMCreated : 28-03-2017Modified : 28-03-2017Language/ver : C in MSVS2015 Description : PracticeKEYWORD : Struct, Return------------------------------------------------------------------------------------------*/ #include struct simple {int data1;int data2;};void show(struct si.. 2017. 3. 28.
[C] Struct, Inserting, Variables /*------------------------------------------------------------------------------------------@ Pratice C laguage Author : SAMCreated : 28-03-2017Modified : 28-03-2017Language/ver : C in MSVS2015 Description : Practice : Struct_Inserting KEYWORD : Struct, Inserting, Variables------------------------------------------------------------------------------------------*/ #include struct simple {int dat.. 2017. 3. 28.
[C] Struct CallBy /*------------------------------------------------------------------------------------------@ Pratice C laguage Author : SAMCreated : 28-03-2017Modified : 28-03-2017Language/ver : C in MSVS2015 Description : Practice : Struct_callby.c KEYWORD : Struct, callby------------------------------------------------------------------------------------------*/ #include struct simple {int data1;int data2;};.. 2017. 3. 28.
[C] Struct Reference /*------------------------------------------------------------------------------------------@ Pratice C laguage Author : SAMCreated : 28-03-2017Modified : 28-03-2017Language/ver : C in MSVS2015 Description : Practice : TelPhone1.c KEYWORD : Struct, Reference------------------------------------------------------------------------------------------*/ #include struct simple {int data1;int data2;}; .. 2017. 3. 28.