代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/255347/12085891
c swap.c
#include
main()
{
int a,b;
scanf("%d%d",&a,&b);
a=a^b;
b=a^b;
a=a^b;
printf("%d\n",a);
printf("%d\n",b);
}
www.eeworm.com/read/253867/12179901
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/150710/12269873
s swap.s
# swap.s: assembly "swap" function for Bubble Sort example: SH target.
#
# Equivalent C code:
#
# void swap (int array[])
# {
# int temp = array[0];
# array[0] = array[
www.eeworm.com/read/150709/12269900
s swap.s
; swap.s: assembly "swap" function for Bubble Sort example: PowerPC target.
;
; Equivalent C code:
;
; void swap (int array[])
; {
; int temp = array[0];
; array[0] = a
www.eeworm.com/read/150708/12269919
s swap.s
; swap.s: assembly "swap" function for Bubble Sort example: 68K target.
;
; Equivalent C code:
;
; void swap (int array[])
; {
; int temp = array[0];
; array[0] = array
www.eeworm.com/read/150707/12269936
s swap.s
; swap.s: assembly "swap" function for Bubble Sort example: ColdFire target.
;
; Equivalent C code:
;
; void swap (int array[])
; {
; int temp = array[0];
; array[0] =
www.eeworm.com/read/252132/12300221
vhd swap.vhd
LIBRARY ieee ;
USE ieee.std_logic_1164.all ;
USE work.components.all ;
ENTITY swap IS
PORT ( Data : IN STD_LOGIC_VECTOR(7 DOWNTO 0) ;
Resetn, w : IN STD_LOGIC ;
Clock, Extern :
www.eeworm.com/read/250827/12382416
vhd swap.vhd
www.eeworm.com/read/250397/12408809
cpp swap.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/250397/12409136
cpp swap.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that