![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
rain2580
这个作者很懒,什么都没留下…
展开
-
矩阵的转置
2.cpp#includeusing namespace std;extern void convert(int array[3][3]){int i,j,temp;for(i=0;ifor(j=0;j{temp=array[i][j];array[i][j]=array[j][i];array[j][i]=temp;}}1.cp翻译 2016-08-11 09:07:34 · 465 阅读 · 0 评论 -
链表的建立,插入,删除,显示
#includeusing namespace std;struct node{char date;node *next;};node *head;int n=0;void createList()//建立链表{node *p,*s;char x;//输入的字符int z=1;p=head;coutwhile(z){coutc转载 2016-08-11 20:05:01 · 247 阅读 · 0 评论