![]() |
#2
yangfrancis2017-09-19 18:45
|
每次都会出现这个错误:错误 1 error C1041: 无法打开程序数据库“h:\图片\图片\debug\vc120.pdb”;如果要将多个 CL.EXE 写入同一个 .PDB 文件,请使用 /FS H:\图片\图片\c1xx 加了/FS也没用。代码如下

#include "stdafx.h"
#include"easyx.h"
#include <graphics.h>
#include <conio.h>
int main()
{
initgraph(640, 480);
loadimage(&img, _T(".\\地图.jpg"), 100, 100);
for (i = 0; i < 640; i += 100) {
for (j = 0; j < 480; j += 100) {
putimage(i, j, &img);
}
}
}
#include"easyx.h"
#include <graphics.h>
#include <conio.h>
int main()
{
initgraph(640, 480);
loadimage(&img, _T(".\\地图.jpg"), 100, 100);
for (i = 0; i < 640; i += 100) {
for (j = 0; j < 480; j += 100) {
putimage(i, j, &img);
}
}
}