티스토리 뷰

1. 테스트 환경

Windows 버전 Windows 7 Enterprise K Service Pack 1

Intel Core i7-4790

RAM : 8GB

OS : 32bit ( 아니 왜?? )

설치한 dev c++ 버전 32bit

설치한 dl_11_mg 버전 32bit



2. 테스트한 cpp 파일내용

=============================

#include <iostream>

using namespace std;

#include "discpp.h"


int main()

{

float a[5] = {1,2,3,4,5};

float b[5] = {1,2,3,4,5};

Dislin g;

g.metafl("XWIN");

g.disini();

g.disfin();

g.qplot(a,b,5);

cout << "OK" << endl;

return 0;

}

=============================


3. 사용한 설정 

general - add commands compiler

c:\dislinfordevc\dismg.a c:\dislinfordevc\discpp51.a


add commands linker

-lgdi32 -luser32 -lopengl32


directories c++ includes

c:\dislinfordevc


4.

discpp.a 사용시 Dislin g;에서 에러 

discpp51.a로 바꿔서 테스트하니 통과함 



5. 다른 방법으로

=============================

#include <iostream>

using namespace std;

#include "dislin.h"


int main()

{

float a[5] = {1,2,3,4,5};

float b[5] = {1,2,3,4,5};

//Dislin g;

metafl("XWIN");

disini();

disfin();

qplot(a,b,5);

cout << "OK" << endl;

return 0;

}

=============================


6. 

이 경우 discpp.a 와 discpp51.a 간에 차이 없이 실행됨

무슨차이인지 모르겠음


'dislin 연습' 카테고리의 다른 글

Bloodshed Dev-C++에 DISLIN 설치  (2) 2017.10.17
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함