代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/159184/10683852
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/350922/10696071
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/421785/10698745
c swap2.c
/* swap2.c -- researching swap1.c */
#include
void interchange(int u, int v);
int main(void)
{
int x = 5, y = 10;
printf("Originally x = %d and y = %d.\n", x , y);
int
www.eeworm.com/read/421785/10698777
c swap1.c
/* swap1.c -- first attempt at a swapping function */
#include
void interchange(int u, int v); /* declare function */
int main(void)
{
int x = 5, y = 10;
printf("Originally
www.eeworm.com/read/421785/10698786
c swap3.c
/* swap3.c -- using pointers to make swapping work */
#include
void interchange(int * u, int * v);
int main(void)
{
int x = 5, y = 10;
printf("Originally x = %d and y = %d.
www.eeworm.com/read/421644/10718330
npp swap.adb.npp
with Ada.Text_Io, Ada.Integer_Text_Io;-- Ada.Swap;
use Ada.Text_Io, Ada.Integer_Text_Io;
procedure Main is
Books_Room_1 : Integer;
Books_Room_2 : Integer;
procedure swap (First : in out In
www.eeworm.com/read/350642/10722120
cpp swap_b.cpp
#include
#include "Swap_B.h"
#if defined (WIN32)
#define IS_WIN32 TRUE
#else
#define IS_WIN32 FALSE
#endif
#define IS_NT IS_WIN32 && (BOOL)(GetVersion() < 0x8000000
www.eeworm.com/read/350642/10722124
rc swap_b.rc
#include "windows.h"
#include "Swap_B.h"
MYAPP ICON DISCARDABLE "GENERIC.ICO"
MYAPP MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit",
www.eeworm.com/read/350642/10722128
mak swap_b.mak
# Nmake macros for building Windows 32-Bit apps
all: Swap_B.exe
# Update the resource if necessary
Swap_B.res: Swap_B.rc Swap_B.h
rc -r -fo Swap_B.res Swap_B.rc
# Update the object fi
www.eeworm.com/read/350642/10722134
h swap_b.h
#define IDM_EXIT 100
#define IDM_TEST 200
#define IDM_ABOUT 301
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK About (HWND, UINT, WPARAM