/*我编写了个程序,源代码如下:*/
#include <stdio.h>
#define SIZE 2
struct Student_type
{
char name[10];
int num;
int age;
char addr[15]; } stud[SIZE];
void save()
{
FILE *fp;
......................
阅读全部
|
guoq416
贴于 2013年4月5日 18:02
hide
bbsi
#include <stdio.h>
main()
{
int i=2,j=3,k;
k=i+j;
{
int k=8;
if(i=3)
printf(“%d”,k);
else
printf(“%d”,j);
}
......................
阅读全部
|
guoq416
贴于 2013年4月5日 17:53
hide
bbsi
#include<iostream>
using namespace std;
int f(int x,int y);
int main()
{
cout<<f(2,3);
system("pause");
return 0;
}
int f(int x,int y)
{
if(x==1 && y==1) return 1;
......................
阅读全部
|
qunxingw
贴于 2013年4月5日 12:01
hide
bbsi
#include<stdio.h>
void main()
{
const char * p="ssss";
char * q=0;
q=p;
ptintf(" %s",q);
}
阅读全部
|
haoyasen
贴于 2013年4月4日 08:39
hide
bbsi
#include <stdio.h>
main()
{
int i=2,j=3,k;
k=i+j;
{
int k=8;
if(i=3)
printf(“%d”,k);
else
printf(“%d”,j);
}
......................
阅读全部
|
蛋蛋1991
贴于 2013年4月4日 07:37
hide
bbsi
老毛桃一键还原,安全高效 稳定可靠 全面兼容WINDOWS系统。本程序基于Ghost(v11.02)内核,具有良好的安全和稳定性,真正达到快速备份还原;全面支持和兼容32位和64位的Windows等主流操作系统平台,支持最新的Windows7操作系统,Vista、XP、2000、2003等更不在话下;支持备份还原隐藏分区,大大降低被误删除或被破坏的可能性,使您无后顾之忧。
http://www.laomaotao.net/?B2963
阅读全部
|
马柯
贴于 2013年4月3日 19:05
hide
bbsi
/*我编写了个程序,源代码如下:*/
#include <stdio.h>
#define SIZE 2
struct Student_type
{
char name[10];
int num;
int age;
char addr[15]; } stud[SIZE];
void save()
{
FILE *fp;
......................
阅读全部
|
RebelRebel
贴于 2013年4月3日 17:33
hide
bbsi
FileStream fs = new FileStream(ExcelPath, FileMode.Open);
HSSFWorkbook workbook = new HSSFWorkbook(fs);
HSSFSheet currentSheet = (HSSFSheet)workbook.GetSheet("sheet");
HSSFCellStyle style8 = (HSSFCellStyle) workbook.CreateCellStyle();
style8.FillForegroundColor = NPOI.HSSF.Util.HSSFColor.WHITE.index;
style8.FillBackgroundColor = NPOI.HSSF.Util.HSSFColor.RED.index;
HSSFCell cell = new HSSFCell(workbook, currentSheet, 4, (short)(4));
cell.CellStyle = style8;
cell.SetCellValue("123");
fs.close();
阅读全部
|
helen_gqq
贴于 2013年4月3日 13:58
hide
bbsi
# include<stdio.h>
# include<malloc.h>
# include<stdlib.h>
typedef struct SQLIST
{
int * pBase;
int size;
int MAXSIZE;
} L ;
void Init_SqList(L * pList, int maxsize)
......................
阅读全部
|
zxh2013
贴于 2013年4月2日 19:11
hide
bbsi
下面是一游戏程序的一段,调试结果是非法定义:如何改正?
char PlaceMade::roomthreeeast(){ int x; cout << "当你迈进城堡最东边的屋子你注意到\n"; cout << "屋子完全是空的, 没门, 没窗, 甚至 \n"; cout << "没有对问题的任何描述. 程序员走进这间房时\n"; cout << "一定相当累了.\n"; cout << "你想做点什么?\n"; cout << "(1) West: \n"; cout << "(2) 杀死自己: \n"; cin >> x;if (x == 1){ cout << "\n\n\n"; return roomtwoeast();}else if (x == 2){ cout << "有些人呢太自负. 你认为\n"; cout << "事情会如此简单吗?\n\n\n"; system("pause"); return roomthreeeast2();}}
阅读全部
|
laizihebei
贴于 2013年4月2日 19:01
hide
bbsi