##注册的域名信息
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*编写职工信息类,包含数据成员:工号、姓名、性别、出生年份,包含成员函数:输入职工所有信息、修改职工出生年份、修改职工姓名、修改职工性别、修改职工工号、输出职工的所有信息,实现并测试这个类 | |
*/ | |
#include <iostream> | |
#include <cstdlib> | |
using namespace std; | |
class teacher | |
{ | |
private: | |
long int number; | |
string name; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdlib> | |
/* run this program using the console pauser or add your own getch, system("pause") or input loop */ | |
#include <string> | |
#include "student.h" | |
//mysql所需的头文件和库文件 | |
//#include "winsock.h" | |
//#include "mysql.h" | |
//#pragma comment(lib,"libmySQL.lib") | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdlib> | |
//#include <shop.h> | |
using namespace std; | |
class caffee{ | |
public: | |
float NetProfit(){ | |
return saleNum*(saleprice-costprice); | |
} | |
float SaleNumber(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class transport{ | |
public: | |
int wheel; | |
} ; | |
class bike :public transport{ | |
}; | |
class car :public transport{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo ------------------正在建立 text.bat,请输入内容。------------------ | |
echo ----- ----- | |
echo ----- CTRL+Z :保存 ----- | |
echo ----- CTRL+C :终止 ----- | |
echo ----- ----- | |
echo ------------------------------------------------------------------- | |
copy con text.java | |
echo 是否显示当前目录文件 | |
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int LCD1602_RS=12; | |
int LCD1602_RW=11; | |
int LCD1602_EN=10; | |
int DB[] = { 6, 7, 8, 9}; | |
char str1[]="Welcome to"; | |
char str2[]="1111"; | |
char str3[]="this is the"; | |
char str4[]="4-bit interface"; | |
void LCD_Command_Write(int command) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.hookheart.qq; | |
import java.awt.BorderLayout; | |
import java.awt.EventQueue; | |
import java.awt.GridLayout; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.awt.event.WindowEvent; | |
import java.awt.event.WindowFocusListener; | |
import java.awt.event.WindowListener; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Servo.h> | |
Servo servo1f; | |
Servo servo1b; | |
Servo servo2f; | |
Servo servo2b; | |
Servo servo3f; | |
Servo servo3b; | |
Servo servo4f; | |
Servo servo4b; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************************** | |
* | |
* 数据库原理算法实现——by zxy_snow 2012.1.6 23:15 | |
* | |
***************************************************************/ | |
#include <set> | |
#include <map> | |
#include <queue> | |
#include <stack> | |
#include <math.h> |
OlderNewer