基于visual Studio2013解决C语言竞赛题之0610冒泡排序函数
题目
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdwAAAAVCAYAAADsM189AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAbWSURBVHhe7Zzrbh03DITjvriRJ287QQYYDIYitWfXOQ70AYQkXoaU/GORJu7Hv//z43A4HA6Hw6P883s9HA6Hw+HwIOeDezgcDofDF3A+uMLHx8fvXQ9yV7aiiu/6QdeLTPPu4Ml7fEdwt6k5KUdtRRXv6sg070nSDE/da1U/1U6k2lf0dpn06maczntXXjePM+1LdvPv4m3+DvfKAzwxOuZ4RbeqV/9kr3T+Ku5M866g2pO94zGcE1X9lEp3xas9J6zeJlHlq3+y79jJJaipuKKVal7xT/aOx3BOpPqk2/Wa4jNN+zvdjBMNMs2t8q76d+qmvrt5qw/uzih3PA40pniv7ge2ivtKqhqF8UmtM8l5Ber7Sqr+6q9qQVW/w67GHT07Vj26d1jFfSVVzS7UVlI/kuZw0lydVtJRNA97X4mfifqrWjD1Afgd79Ex6Zf6gK4OqC/FQaWfqOrVP+1TzZXqX/HdzeiDWw0CP7h7yK+4eEXXW+M7e6wVmqskPeBnUvmVSc4VfHZF76Go3/dpzuR7hbv1rlDNoP6dPdYKzVVYx/gEz9fzZJ9gHGtiVUuqHpUm0PkU9fs+9XGf64FJLfepnlQ6IGkpHleoS1Ke6iX9Du+5YtWr6j3Jm/ruZvl3uBgAluBwsCrnFdg72buQ7o5z+qHxrRT1sY5n9xOesbrR/ydAb50TqI/z8ax+rsz5Stg32dOgx+S+yPF5qlr43K8+1vHsK0n9FM+/E86ns0366ZukeV1DfdW7UAer6k+hpupNNbTWbQXjk16qp2uqq/yA71OZojrcq6mfQCOdtQeN/nfi58+fv9blB9cvTXgp8sQF2TvZO+HzrObTd8O682bM1Xo3+ivY/+6fFblyP+TRHNSrPYH2d3sS3Genh+eualUb65W3u1q3g+pP3wN5NGVSr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/SqoNb0f9jTEunkTrP3b0LfpzKFv+nNQ4GeOkmrg87xU61T6O6z6YvVZAX0pznr1Y09DjPpTtH4X9kv2neFbPkHS1Z8BbeV37nzzt/lfO07gg9wxcvW4K670RR/UVbNrXGOrs9YA3QOetb5jN9/RWRTquv6qH7UqpjpXYf+7dYHe7U59vkM1u8Y1pueq1nENpYpRG3T6YCe/mltn6XI0F/hZoVaF9uw0qVX5V1TzOZUW6jWWZqBP98DPZKUHqjpllaMx7tlT96Drk1j1voNv9cE9HA6Hw+G78pa/h3s4HA6Hw9/G+eAeDofD4fAFnA/u4XA4HA6P8+PHf3kWJFqbRrBdAAAAAElFTkSuQmCC" alt="" />
解决代码及点评
/*
10. 写一主函数输入一数组,写一子函数实现对该数组的冒泡排序并输出。
*/ #include <stdio.h>
#include <stdlib.h>
const int N=10;
void f610(int *p)//冒泡排序
{
for (int i=0;i<N;i++)
{
for (int j=0;j<N;j++) // 冒泡比较
{
if (p[i]>p[j])
{
int temp;
temp=p[i];
p[i]=p[j];
p[j]=temp;
}
}
}
}
void main()
{ int a[N];
for (int i=0;i<N;i++) // 初始化数组
{
a[i]=rand();
printf("%d\t",a[i]);
} f610(a); // 进行排序 for (int i=0;i<N;i++) // 输出结果
{
printf("%d\t",a[i]);
}
system("pause");
}
代码编译以及运行
由于资源上传太多,资源频道经常被锁定无法上传资源,同学们可以打开VS2013自己创建工程,步骤如下:
1)新建工程
2)选择工程
3)创建完工程如下图:
4)增加文件,右键点击项目
5)在弹出菜单里做以下选择
6)添加文件
7)拷贝代码与运行
程序运行结果
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqUAAAG6CAYAAAAxsD/hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACrfSURBVHhe7d0JnGVVYSfgU910yy6NoRcwMbsaWZpFFBBEtkYFl2hU3FDjOMlkMahBxSzOj4hiFCXJxCwaCWrUTCZO4i5bo4JREZDFGDNO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vxpOO+208nHr1q3DnrMjlAIAMLIYSmO54IILwsqVK8tw+uhHPzocfvjhZSCNbXMhlAIA0GlqampGieEzlje/+c3lp/Mf+9jHjhVII6EUAIBOMXg2BdNt27aFpz3taeVjvK73mQ2hFACATjGUxm9gqofOGEQ3b948diCNhFIAADqlQFqX6qphtKnfKIRSAAA6Nb1LOkqZDaEUAIBObaE0So/jEkoBAOh01113zanMxtQpp5yy7X0XfDh8955tw6qZvnzx34fjjz9+eAUAALPzyEc+Mnzzph8Or2bae+ep8MsvO60/lD5mvz2GzwAAYG7GDqUAALBQUij1NaUAAGQnlAIAkJ1QCgBAdkIpAADZCaUAAGQ3/d33AACQw/SPhBpeAwBABiH8fzPEV8iYYNynAAAAAElFTkSuQmCC" alt="" />
基于visual Studio2013解决C语言竞赛题之0610冒泡排序函数的更多相关文章
- 基于visual Studio2013解决C语言竞赛题之0602最大值函数
题目
- 基于visual Studio2013解决C语言竞赛题之0608水仙花函数
题目 解决代码及点评 /* 功能:写一函数判断某数是否"水仙花数",所谓"水仙花数"是指一个三位数, 其各位数字立方和等于该数本身. */ #includ ...
- 基于visual Studio2013解决C语言竞赛题之0710排序函数
题目
- 基于visual Studio2013解决C语言竞赛题之1030计算函数
题目 解决代码及点评 /********************************************************************** ...
- 基于visual Studio2013解决C语言竞赛题之0605strcat
题目
- 基于visual Studio2013解决C语言竞赛题之0604二维数组置换
题目
- 基于visual Studio2013解决C语言竞赛题之0609矩阵处理
题目
- 基于visual Studio2013解决C语言竞赛题之0905文件读写显示
题目
- 基于visual Studio2013解决C语言竞赛题之1013字符串查找
题目 解决代码及点评 /* 功能:编写函数IND,让它判断一个字符串是否为另一个字符串的子串的功能,若是则返回第一次出现的起始位置,否则返回0 时间:13:55 2013 ...
随机推荐
- ppt类似工具AxeFile使用心得
一个所谓的傻瓜式过渡效果自动生成工具.定义好展示窗口大小,加入时序.所谓的闪烁效果,也是相当的滑稽. 是一个非专业的简单的快速PPT工具. 但是体现的确是扁平化的设计思路,很值得深思. ------ ...
- 「OC」构造方法和分类
一.构造方法 (一)构造方法的调用 创建一个可用的对象:Person *p=[Person new]; new方法实际上是分为两步来创建一个对象: 1)使用+alloc方法来分配存储空间(返回分配的对 ...
- BZOJ 1613: [Usaco2007 Jan]Running贝茜的晨练计划( dp)
dp乱搞即可...( 我就是这样 A 的.. 后来想改快一点..然后就WA了...不理了 ------------------------------------------------------- ...
- ASP.NET MVC5 学习笔记-2 Razor
1. Razor @*注释*@ 你在用 @Request.Browser.Browser, 发送邮件给support@qq.com, 转义@@qq @{ var amounts = new List& ...
- mysqld守护进程
1.安装方式:安装文件:可执行的二进制文件: 源代码编译. 2.版本选择:常见版本区别:GA(一般应用,尽量使用最新版本)/RC(候选发布版本)/测试版本实版本选择主要是够用.适用.好用!不一定是最新 ...
- wchar_t是内置还是别名(亲测有效:wchar_t在windows下是16位整数的别名,在linux等平台下是32位整数的别名。MSVC2008开始默认是/Zc:wchar_t)
接前一篇C++ ABI之名字改编(以Qt为例),继续看看C++名字改编相关的问题. 问题 MSVC 有一对选项/Zc:wchar_t- 与 /Zc:wchar_t控制wchar_t 于是 wchar_ ...
- lua学习:使用Lua处理游戏数据
在之前lua学习:lua作配置文件里,我们学会了用lua作配置文件. 其实lua在游戏开发中可以作为一个强大的保存.载入游戏数据的工具. 1.载入游戏数据 比如说,现在我有一份表单: data.xls ...
- cocos2dx进阶学习之CCSprite
继承关系 CCSprite -> CCNodeRGBA -> CCNode, CCRGBAProtocol CCTextureProtocol 从继承关系可以看出,CCSp ...
- BZOJ 3390: [Usaco2004 Dec]Bad Cowtractors牛的报复
题目 3390: [Usaco2004 Dec]Bad Cowtractors牛的报复 Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 53 Solve ...
- Swift - 2 (?和!、结构体、类、协议、扩展、闭包)
1> 可选类型(?)和强制解包(!) 在swift中,可选类型(?) 其根源是一个 枚举型,里面有 None 和 Some 两种类型.其实所谓的 nil 就是 Optional.None , 非 ...