代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/350637/10725830
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 val
www.eeworm.com/read/350636/10727305
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 val
www.eeworm.com/read/276309/10748220
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/272934/10936024
c swap3.c
www.eeworm.com/read/418361/10951144
c check_swap.c
#include
#include
#include
#include "sys.h"
#include "crisutils.h"
#define N 8
#define W 4
#define B 2
#define R 1
extern inline int cris_swap(const int mode, int x)
www.eeworm.com/read/272513/10954785
cc swap_rows.cc
//
// Copyright 1997, University of Notre Dame.
// Authors: Andrew Lumsdaine, Jeremy G. Siek
//
// This file is part of the Matrix Template Library
//
// You should have received a copy of the License
www.eeworm.com/read/272513/10954820
cc vecvec_swap.cc
#include
#include
#include
/*
example output:
[2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1]
[1,1,1,1,1,1,1,1,1,1]
*/
int
main()
{
using namespace mt
www.eeworm.com/read/417462/10988448
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/270960/11018157
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. Josuttis 19
www.eeworm.com/read/270960/11018299
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. Josuttis 19