代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/186068/8963033
cpp pointer_swap.cpp
#include
template
void pointer_swap(type *psa, type *psb)
{
type temp = *psa;
*psa = *psb;
*psb = temp;
}
void test()
{
float a = 1, b = 388;
float *i = &a,
www.eeworm.com/read/382584/9018728
c use_swap.c
#include
void swap_values(int *, int *);
void main(void)
{
int a = 1, b = 2;
printf("Original values a %d b %d\n", a, b);
swap_values(a, b);
printf("Swapped value
www.eeworm.com/read/382395/9031028
c use_swap.c
#include
void swap_values(int *, int *);
void main(void)
{
int a = 1, b = 2;
printf("Original values a %d b %d\n", a, b);
swap_values(a, b);
printf("Swapped value
www.eeworm.com/read/380940/9120374
c use_swap.c
#include
void swap_values(int *, int *);
void main(void)
{
int a = 1, b = 2;
printf("Original values a %d b %d\n", a, b);
swap_values(a, b);
printf("Swapped value
www.eeworm.com/read/378420/9231457
c swap3.c
www.eeworm.com/read/180601/9300766
c use_swap.c
#include
void swap_values(int *, int *);
void main(void)
{
int a = 1, b = 2;
printf("Original values a %d b %d\n", a, b);
swap_values(a, b);
printf("Swapped value
www.eeworm.com/read/376169/9328193
c swap3.c
www.eeworm.com/read/179954/9329133
cpp swap1.cpp
/* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference"
* by Nicolai M. Josuttis, Addison-Wesley, 1999
*
* (C) Copyright Nicolai M. Josutti
www.eeworm.com/read/179954/9329307
cpp swap1.cpp
/* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference"
* by Nicolai M. Josuttis, Addison-Wesley, 1999
*
* (C) Copyright Nicolai M. Josutti
www.eeworm.com/read/376114/9330395
c use_swap.c
#include
void swap_values(int *, int *);
void main(void)
{
int a = 1, b = 2;
printf("Original values a %d b %d\n", a, b);
swap_values(a, b);
printf("Swapped value