CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - INT 1
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - INT 1 - List
[
Printing program
]
sprintf
DL : 0
不怕溢出的sprintf int main() { string s stringprintf(s, "int: d, double: f, str: s", 18, 18.55, "test") cout << s << endl }-Not afraid of overflow sprintf int main () (string s stringprintf (s, " int: d, double: f, str: s" , 18, 18.55, " test" ) cout < < s < < endl )
Date
: 2026-01-07
Size
: 1kb
User
:
zhuzhu
[
Printing program
]
test
DL : 0
const int TOTAL_PRINTERS = 2 //打印机总数 const int TOTAL_SCANNERS = 1 //扫描仪总数 const int TOTAL_MODEMS = 1 //调制解调器总数 const int TOTAL_CDS = 2 //光驱总数 const int TOTAL_MEMORIES = 1024 //内存大小-const int TOTAL_PRINTERS = 2 //total of printer const int TOTAL_SCANNERS = 1 //total of scanner const int TOTAL_MODEMS = 1 //count of MODE const int TOTAL_CDS = 2 //count of CDROM const int TOTAL_MEMORIES = 1024 //COUNT OF MEMORY const int TOTAL_CDS = 2 / const int TOTAL_MEMORIES = 1024 //
Date
: 2026-01-07
Size
: 6kb
User
:
幽幽
[
Printing program
]
Print_calendar
DL : 0
在日历中输入日期后,程序自动打印日历的年、月、日。-This program prints a calendar for a year specified int text
Date
: 2026-01-07
Size
: 1kb
User
:
yangzhw
[
Printing program
]
nova
DL : 0
将int类型的数中 某两位的大小判断出来 如00 打印出0 01打印出1-Number in the int type to determine the size of a two out, such as 00 out of 001 print print 1
Date
: 2026-01-07
Size
: 3kb
User
:
猪猪
[
Printing program
]
no.1
DL : 0
定义一个结构体typedef struct{int num char name[10] int score[4] }STU ,里面有两个整形数组和一个字符数组,用来存储学生的信息;主函数中接收数据并存入结构体,然后调用函数进行数据的查找,修改删除;编写三个函数 find_stu(STU per[],int t) :输入学生的学号进行查找 modify_stu(STU per[],int t) 对找到的学生的姓名和成绩进行修改; delete_stu(STU per[],int m) 接受用户输入的学生学号,删除其,并打印出其余的学生的信息。 -Define a structures typedef struct {int num Char name [10] Int score [4] } STU And there are two plastic array and a string array, used to store the students information The main () function to receive data structures, and then calling function of data search, modification and deletion Write three function Find_stu (STU per [], int t) : input the student id to undertake searching students Modify_stu (STU per [], int t) To find students name and grades modified Delete_stu (STU per [], int m) Accept user input students student id, delete it, and print out the rest of the students information.
Date
: 2026-01-07
Size
: 1kb
User
:
张树
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.