#include<iostream>
using namespace std;
class A
{
protected:
//int x, y;如果放在这里那么就相当于private 来访问了
public:
static int i;int x, y;
......................
阅读全部
|
h_c_l
贴于 2012年6月25日 22:22
hide
bbsi
#include <iostream>
#include <string>
#include <cmath>
#include <fstream>
using namespace std;
int t;
fstream file;
class student
{public:
char event[40];
int num;
int a[5];
......................
阅读全部
|
wanghailong
贴于 2012年6月25日 16:16
hide
bbsi
void insort(lnode *&l)
{
lnode *p,*q,*t;
if(l->next!=null&&l->next->next!=null)
{ p=l;
q=p->next;
while(q->next!=null)
{
p=l;
while(q->next->data>p->next->data&&p->next!=q)
p=p->next;
if(q->next->data>p->next->data)
......................
阅读全部
|
AllSunday
贴于 2012年6月15日 21:19
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: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
#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
哪位高人有wincimage.h、winparams.h和winproto.h的源代码,可否共享下,因为我编程急需这些,非常感谢!
邮箱651707479@qq.com
阅读全部
|
ty651707479
贴于 2012年5月6日 13:51
hide
bbsi
//求500以内的完全数(一个数如果恰好等于它的因子(,除本身外)之和,比如6=1+2+3,6为完全数)
#include<iostream.h>
#include<iomanip.h>
void main()
{
int i,sum,n=2;
do
{
i=1;
sum=0;
do
{
......................
阅读全部
|
蓝xuan
贴于 2012年4月6日 19:10
hide
bbsi
在编写基于MFC的开发程序时,头文件为#include "stdafx.h"
#include "yu1.h"
#include "yu1Dlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
总是出现一下的出错提示:\yu1\yu1dlg.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/yu1.pch': No such file or directory,为什么?
阅读全部
|
zhengshinver
贴于 2012年4月2日 06:00
hide
bbsi