config.h
#include <iostream> typedef struct |
main.cpp
#include "config.h" strcpy_s(Friend.Name, 30, "김갑돌"); SAM Friend1; cout << Friend.Name << endl; cout << Friend1.Name << endl; return 0; |
config.h
#include <iostream> typedef struct |
main.cpp
#include "config.h" strcpy_s(Friend.Name, 30, "김갑돌"); SAM Friend1; cout << Friend.Name << endl; cout << Friend1.Name << endl; return 0; |