代码搜索:reverse
找到约 4,015 项符合「reverse」的源代码
代码结果 4,015
www.eeworm.com/read/332926/12717033
c 5.34.c
5.34⑤ 试编写递归算法,逆转广义表中的数据元素。
例如:将广义表
(a,((b,c),()),(((d),e),f))
逆转为:
((f,(e,(d))),((),(c,b)),a)。
要求实现以下函数:
void Reverse(GList &L);
/* 递归逆转广义表L */
广义表类型GList的定义:
typedef enum {ATOM,L
www.eeworm.com/read/245818/12779502
c setbuf.c
/* reverse.c -- displays a file in reverse order */
#include
#include
int main(void)
{
printf("%d\n", BUFSIZ);
return 0;
}
www.eeworm.com/read/144420/12796030
java recur-02.java
//=====================程序描述==================
//程序名称:recur-02.java
//程序目的:演示递归方法反向输出一个字符串
//作者:张中强
//=====================程序描述==================
class recur02
{
static String str=null;
stati
www.eeworm.com/read/244387/12869483
makefile
# Makefile for cbook/09-Strings/programs
# Created by the ExportAll facility
# ***************************************************************
PROGRAMS = \
acronym \
addlist \
lastchar \
www.eeworm.com/read/243993/12901125
cpp main.cpp
//2007.10.2
#include"Tmatrix.h"
#include
void main()
{
struct TMatrix T,Tb,C,D;
Elemtype x;
int row,col;
Elemtype a[M][N]={{1,0,0},{0,2,0},{0,3,1},{4,0,0}};
CreatTmatrix(T,a)
www.eeworm.com/read/142793/12919267
cpp liststability.cpp
//: C07:ListStability.cpp {-bor}
// From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison.
// (c) 1995-2004 MindView, Inc. All Rights Reserved.
// See source code use permissions stated
www.eeworm.com/read/327775/13062089
asv cecompensation.asv
%-------------- Fading compensation by CE symbol --------------
function [icompen,qcompen] = cecompensation (ch2,ch7,ce)
%If you would like to simulate performance under CE-based compensation, pleas