代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/135259/13944532
cpp swap.cpp
#include "stlexam.h"
#pragma hdrstop
/**************************************************************************
*
* swap.cpp - Example program of swap algorithm. See Class Reference Section
*
www.eeworm.com/read/236729/14000690
asm swap.asm
www.eeworm.com/read/236649/14005912
cpp swap.cpp
// swap() does not swap the value of the arguments!
void swap( int v1, int v2 ) {
int tmp = v2;
v2 = v1;
v1 = tmp;
}
www.eeworm.com/read/134087/14009100
c swap.c
/* swap.c -- swap two complex numbers (by their addresses) */
#include
void swap(a,b)
complex *a, *b;
{
complex t;
t = *a;
*a = *b;
*b = t;
}
www.eeworm.com/read/235954/14039171