본문 바로가기
C++

too few arguments to function '함수명'

by 파제르 2023. 1. 6.
반응형

too few arguments to function '함수명' 이란 error가 발생했을때...
함수명에 넣어주어야 하는 parameter의 개수보다 적게 넣어줄때 발생..

ex)
void test(char a, char b)
{

}


void main()
...
..
..

test(a);        //뭐 이럴때 발생....(b가 없음)

728x90
반응형

'C++' 카테고리의 다른 글

error LNK2019: __imp__GetAdaptersInfo@8  (1) 2023.01.16
dlgdata.cpp / Debug Assertion Failed!  (0) 2023.01.06
appcore.cpp / Debug Assertion Failed!  (0) 2023.01.06
UDP bind(), sendto(), recvfrom()  (0) 2023.01.05
Visual Studio 매크로 목록  (0) 2022.12.20