这是主函数文件 main.c
#include <stdio.h>
#include "creaters.h"
int main ()
{
int choice;
printf( "Witch Coder do you want:\n"
"1.Header_Coder\n"
"2.Menu_Coder\n" );
......................
阅读全部
|
edward_eric
贴于 2011年12月27日 00:34
hide
bbsi
dxsafc sad fsvgd sbdfb heNDFHB DHeGBF DJGFA JGHSX,LXK,JN,KXD J,JDfHerH DF,LHFJZXY.ZETJKGjaeJNZHDXYKFMGDXLDMGXDK SRJSFZJKSZKSLZJSK6YRKHZ JSZRJFSJZSKLH hT JZJH JEDUJdfHGHGFJFG
阅读全部
|
hacklaohan
贴于 2011年12月25日 23:34
hide
bbsi
//-----------------------------------------------------------------------------------------------------------------------------------------//
//-----------------------------------------------------------------------------------------------------------------------------------------//
#include <stdio.h>
#include <time.h>
#include <windows.h>
#include <fstream.h>
#include <string.h>
#include <conio.h>
#pragma comment(lib,"winmm.lib")
#define NULL 0
#define LEN sizeof(struct books)/*定义结构体books的长度为LEN*/
#define FILENAME "workers.db"/*定义数据库文件名为books.db*/
......................
阅读全部
|
逝、忄
贴于 2011年12月24日 23:08
hide
bbsi
求注释
/*
GRAPHICS DEMO FOR TURBO C 2.0
Copyright (c) 1987,88 Borland International. All rights reserved.
From the command line, use:
tcc bgidemo graphics.lib
*/
......................
阅读全部
|
qqwer2010
贴于 2011年12月23日 22:05
hide
bbsi
#include<iostream>
#include<iomanip>
#include<string>
#include<fstream>
#include<windows.h>
#include<math.h>
#include<sys\stat.h>
using namespace std;
string strFilePathName3;
const int FilePathLen = 1024;
const int ClassNameLen = 32;
//-------------------------------------
......................
阅读全部
|
qqwer2010
贴于 2011年12月23日 21:44
hide
bbsi
#include<iostream>
#include<iomanip>
#include<string>
#include<fstream>
#include<windows.h>
#include<math.h>
#include<sys\stat.h>
using namespace std;
string strFilePathName3;
const int FilePathLen = 1024;
const int ClassNameLen = 32;
//-------------------------------------
......................
阅读全部
|
qqwer2010
贴于 2011年12月23日 21:42
hide
bbsi
#include<stdio.h>
#include <stdlib.h>
struct Link
{
int data;
struct Link *next;
};
bool InsertNode(struct Link *ptr,int Loact);
struct Link *CreatLink(struct Link *ptr);
bool DleteNode(struct Link *pt,int i);
void Print(struct Link *p);
......................
阅读全部
|
练家志
贴于 2011年12月21日 21:26
hide
bbsi
import java.util.*;
import javax.swing.JOptionPane;
public class Simple{
public static void main(String[] agrs){
String str = JOptionPane.showInputDialog("输入第一个年份:");
int firstYear = Integer.parseInt(str);
str = JOptionPane.showInputDialog("输入月份:");
int firstMonth = Integer.parseInt(str);
str = JOptionPane.showInputDialog("日期:");
int firstDay = Integer.parseInt(str);
......................
阅读全部
|
niu91
贴于 2011年12月21日 16:38
hide
bbsi
public class StringExample{
public static void main(String[] agrs){
String s1 = new String("you are a student"),
s2 = new String("how are you");
if(s1.equals(s2)){
System.out.println("s1与s2相同");
}else{
System.out.println("s1与s2不同");
}
String s3=new String("22030219851022024");
if(s3.substring(0,6).equals("220302")){
......................
阅读全部
|
niu91
贴于 2011年12月21日 16:30
hide
bbsi