搜索资源列表
WindowsApplication4
- 进行的常用数据之转换的工具,可以在字节数组和Base64之间互换,字节数组和字符串互转,转发为网页的POST数据,还有网页的U字符转换等-Common data for the conversion tool, you can swap between byte array and Base64, byte arrays and strings conversion, forwarding POST data to web pages, as well as the U-character co
paixusuanfajiqiyingyong
- 这个文档里面含源代码和实现文档,主要包含以下几个功能:1.从键盘输入n个数,并按从小到大输出,并且可以多次进行。2.从一个.txt文件中读出数据,并且按从小到大输出 。 3.从键盘输入一个数组的值,将数组的值逆序并输出 4.输入一行字符,统计其中的英文字母,空格,数字,和其他字符的个数 等等,里面有实现6个功能-This document which contains the source code and implementation documentation, including the
6
- 在一个字符数组c中存放了10个整数,以空格相间隔,要求将它们放到整型数组中,再按大小排序,然后再存放回字符数组c中。-C in a character array of 10 integers in the store, with a space interval, requiring them into the integer array, and then sorted by size and then placed back into a character array c.
huiwen
- 《数据结构》实验三:“回文”判断---本程序,主要利用队列、字符数组来进行判断-" Data structure" Experiment 3: " palindrome" judge--- the program, the main advantage of the queue, to judge the character array
Cyuyan
- C 语言易于描述复杂的数据结构。C语言的数据类型有;整型、实型、字符型、数组类型、指针类型、结构体类型、共用体类型等,可以方便的描述各种常用的数据结构,如链表、树、图等,这使得C语言在开发大型的系统和应用程序方面有很强的优势。 -C language is easy to describe complex data structures. C data types integer, real, character, array type, pointer type, structure
no.1
- 定义一个结构体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)
nixu
- 从键盘读取字符串到字符数组中,直到结束符 # ,将字符逆序。-Reads a string from the keyboard to an array of characters until the end of the character # character will reverse.
4
- 已知在文件IN.DAT中存有10个产品销售记录,每个产品销售记录由产品代码dm(字符型4位)、产品名称mc(字符型10位)、单价dj(整型)、数量sl(整型)、金额je(长整型)几部份组成。其中:金额=单价×数量,可计算得出。编程:函数readData()读取这10个销售记录并存入结构数组sell中。函数sortData()按产品名称从小到大进行排列,若产品名称相同,则按金额从大到小进行排列,最终排列结果仍存入结构数组sell中。函数writeData()把结果输出到文件OUT.DAT中。结构数
c-P-P-algorithm-procedures
- 程序开始运行,要求用户首先输入两个大数。 然后进行菜单选择,进行相应的大数运算。 分析说明:由于大数的范围太大,不能直接定义为int或者float等, 所以我们的想法就是定义成字符串类型, 输入的数字一位一位地存入字符数组里面。 然后在运算的时候也是一位一位地运算。 这个过程就得从最基本的数学运算法则做起,不乏多种判断。 涉及到数组和指针的应用。最难的就是判断情 况还有应用数组和指针过程中出现的多种未可预知的错误, 还得通过逐步调试慢慢找出。我们先从加减
fz
- 作者:阿桂 QQ:45203026 取一组数组正弦多峰值 参数:Str传入字符型字符串,以“,”分隔 返值:得出每个峰值字符串 峰值2 * 峰值3 峰值1 * * * * * * 峰值4 * * * * * * * * --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- - * * * * * * * - 作者:阿桂
testjava
- 将字符串存储到数组中,并循环显示,保证其中的每个字符都是没有空格且能完整显示的-put string into array at a perfec formput and make sure ever world not contain a block and nice
CPP-LIU
- C++流相关的程序,如将磁盘文件读入内存并输出到显示器,将学生数据保存在字符数组中-C++ flow related procedures, such as disk input file into memory and output to a monitor, students will be stored in the string array of data
GetInputTest
- 个人原创代码:编写Java Application程序,将命令行第一个参数每个字符放入一字符数组,然后逆序输出。-The original code of the individual: to write a java application program, the first parameter of the command line for each character in a character array, and then reverse output.
language-assistant
- 在主函数中通过LINE=NEW WENXUE[N] 来建立line,来存储输入的字符, 利用into函数输入字符,通过ch="\0"作为结束标志通过for循环,输入n个要搜索的字符。 存放在字符串数组ZIFU中。 再通过主函数中利用for循环调用saomiao函数,对引入的文本文件进行扫描,然后根据累加判断, 逐行进行扫描判断,且没出现一次time++ 并且记录该行的行数。 在函数show中,通过for循环将输出line[i]中所标记的行数row[i],和该字符串出
c
- 经典算法:已知树T中结点的前序和中序序列分别放在字符型数组a1,a2中,试编写构造此二叉树的算法。-The classical algorithm: the known tree T node in the preorder and inorder sequence on the character array a1, a2, try to write the constructed binary tree algorithm.
PL0_C
- 此为广工09级编译原理课程设计,与往届是有区别的 1. 课内实验(考试前交报告) 对PL/0作以下修改扩充: (1)增加单词:保留字 ELSE,FOR,STEP,RETURN 运算符 +=,-=,++,--,&,|,! (2)修改单词:不等号# 改为 <> (3)增加条件语句的ELSE子句,要求:写出相关文法,语法图,语义规则。 2. 课程设计 基本内容(成绩范围:“中”、“及格”或“不及格”) (1)扩充赋值运算:+= 和 -=
chengxu1
- 删除以各字符串中指定下标的字符。其中,a指向原字符串,删除后的字符串存放在b所指的数组中,n中存放指定的下标。 -Delete the specified subscr ipt characters to each string . Among them , a point to the original string , delete the string stored in the array b referred to store the specified subscr ipt n .
Memory-alignment
- 结构体内的字节对齐问题,以及字符指针和字符指针数组的区别,都是字节问题,关于占多大内存的问题-Memory alignment of the struct
soying-use
- 索引数据的使用,包括一些数组和单个字符等等,使用较为简便-The use of index data
Exercise5.5
- 1.已经4个字符串,编程输出它们中最小的一个 2.将一个长度为n的字符串,编程实现其逆序输出 3.已知一个二维int型数组,编程求出它的最小的元素值 4.已知字符型指针数组中存放若干个字符串,编程从键盘上修改其中某个字符串 5.有n个小孩排成一圈,从第一个小孩开始作1到3的报数,凡报数为3的小孩从圈中出来,求最后出圈的小孩的顺序号是多少? -1 has four strings, programmed output the smallest of them A