Deleting intermediate files and output files for project 'gh0st - Win32 Release'.
Build : warning : failed to (or don't know how to) build 'C:\Documents and Settings\adminstror\桌面\新建文件夹\gh0st\res\install.exe'
--------------------Configuration: gh0st - Win32 Release--------------------
Build : warning : failed to (or don't know how to) build 'C:\Documents and Settings\adminstror\桌面\新建文件夹\gh0st\res\install.exe'
Compiling resources...
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE/SpecStrings.h(11) : 致命错误 RC1015: 无法打开包含文件 'sal.h'.
执行 rc.exe 时出错.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Release\StdAfx.sbr': No such file or directory
执行 bscmake.exe 时出错.
gh0st.exe - 1 error(s), 1 warning(s)
阅读全部
|
lysh2010
贴于 2012年6月3日 19:59
hide
bbsi
Deleting intermediate files and output files for project 'gh0st - Win32 Release'.
Build : warning : failed to (or don't know how to) build 'C:\Documents and Settings\adminstror\桌面\新建文件夹\gh0st\res\install.exe'
--------------------Configuration: gh0st - Win32 Release--------------------
Build : warning : failed to (or don't know how to) build 'C:\Documents and Settings\adminstror\桌面\新建文件夹\gh0st\res\install.exe'
Compiling resources...
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE/SpecStrings.h(11) : 致命错误 RC1015: 无法打开包含文件 'sal.h'.
执行 rc.exe 时出错.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Release\StdAfx.sbr': No such file or directory
执行 bscmake.exe 时出错.
gh0st.exe - 1 error(s), 1 warning(s)
阅读全部
|
lysh2010
贴于 2012年6月3日 19:57
hide
bbsi
//模型控制模块
void chosenlist::insertone(int px,int PY,int rllx,int my)//插入到数据结构。相应把电势更新,再
次迭代,并且把备选表中的节点删除,而且,加入相邻节点
{
node tmp(px,py,mx,my,true,false);
tmp.1evel=g->u[mx][my];
g->u[mx][my]=O;
lchosenlist.push_back(tmp);
}
void chosenlist::addCandidate(int px,int PY,int mx,int my)//添加--个候选点,不做任何判断。
{
ModelControl(mx,my);
......................
阅读全部
|
lujianlj
贴于 2012年6月1日 21:41
hide
bbsi
class Object
def in?(arr)
arr.include? self
end
end
class Array
def any_in?(container)
container.has_any? self
end
def all_in?(container)
......................
阅读全部
|
静夜思
贴于 2012年6月1日 16:49
hide
bbsi
你这个程序编写的对吗 只是求个素数而已 为什么要开平方根呢
另外你第一个for循环中你n=n+2 即使程序编写的对 当然是不能五个来一个空格了 好好想想
阅读全部
|
阿鞠尼
贴于 2012年5月31日 09:27
hide
bbsi
{
int n,k,i,m=0;
for(n=101;n<200;n=n+2) //求101~200之间的素数
{
k=sqrt(n);
for(i=2;i<=k;i++)
if(n%i==0)
break;
if(i>=k+1)
{
printf("%5d",n);
m=m+1;
......................
阅读全部
|
张志昀
贴于 2012年5月30日 23:45
hide
bbsi
#include<stdio.h>
#include<math.h>
int main()
{
int n,k,i,m=0;
for(n=101;n<200;n=n+2) //求101~200之间的素数
{
k=sqrt(n);
for(i=2;i<=k;i++)
if(n%i==0)
break;
if(i>=k+1)
......................
阅读全部
|
wei849690454
贴于 2012年5月19日 23:48
hide
bbsi
#include<iostream>
#include<fstream>
#include<string>
#include<iomanip>
using namespace std;
#define M 200 //可以存信息总量
int N=0; //学生总量
class student
{
public:
student();
void set(); //初始化信息,第一次对信息的录入
......................
阅读全部
|
heweiwei
贴于 2012年5月19日 00:36
hide
bbsi
/**获取当前日期的月份*/
public int getMonth(Date dt){
String date = dt.toString();
int month=0;
if(date.contains("Jan")){
month = 1;
}
if(date.contains("Feb")){
month = 2;
......................
阅读全部
|
chtml小兵
贴于 2012年5月17日 16:13
hide
bbsi
/**遍历数组,并打印到终端设备*/
public static void IterationInt(int[] arr){
for (int i = 0; i < arr.length; i++) {
System.out.print(arr[i]+"\t");
}
}
/**求int数组中的平均值*/
public static int getArrayAvg(int[] arr){
int result = 0;
for (int i = 0; i < arr.length; i++) {
result +=arr[i];
......................
阅读全部
|
chtml小兵
贴于 2012年5月16日 19:56
hide
bbsi