d

asd123의 이미지
shint의 이미지

해당 오류를 구글에서 검색하면. 이와 같은 내용이 있습니다.

https://msdn.microsoft.com/ko-kr/library/ms235374.aspx#

이 POSIX 함수는 사용되지 않습니다. 대신에 ISO C++ 규칙 _fcloseall을 사용하십시오.

undefined reference to `fcloseall'
collect2.exe [Error] ld returned 1 exit status
Makefile.win recipe for target 'Project1.exe' failed

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
 
 
#define fcloseall()      _fcloseall()
 
void clrscr()
{
    system("cls");
}

----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.

매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.

각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com