강의

멘토링

로드맵

Inflearn Community Q&A

song9706241055's profile image
song9706241055

asked

[MMORPG Game Development with C++ and Unreal Series] Part 1: Introduction to C++ Programming

TextRPG #3

PrintStatInfo(const char* name,const StatInfo& info) 부분 오류

Written on

·

246

0

함수 선언 부분에서

void PrintStatInfo(const char* name, const StatInfo& info);

부분에서 빌드를 하면 "확인 할 수 없는 외부참조 입니다"라는 오류가 뜨면서 되지 않습니다.

혹시나 해서 const를 지우고 StatInfo& info만 했을때는 정상적으로 실행이 돼서

const 부분이 문제인거 같은데 어떤 이유로 이런건가요??

C++

Quiz

C++에서 포인터(pointer) 변수는 일반적으로 메모리 상에서 무엇을 저장하는 변수인가요?

실제 데이터의 값

데이터가 저장된 메모리 주소

변수의 이름 문자열

변수의 크기 정보

Answer 1

0

Rookiss님의 프로필 이미지
Rookiss
Instructor

cpp의 구현부도 똑같이 바꿔주셔야 합니다.

song9706241055's profile image
song9706241055

asked

Ask a question