代码搜索:cpp
找到约 10,000 项符合「cpp」的源代码
代码结果 10,000
www.eeworm.com/read/192089/8407498
cpp main3_3b.cpp
// Section 7.3.3
// $ CC putval2.cpp main3_3a.cpp
// defined in putval2.cpp
// parameter is a reference to an array of 10 ints
void putValues( int (&arr)[10] );
int main() {
int i = 23, j[
www.eeworm.com/read/192089/8407501
cpp main3_0a.cpp
// Section 7.3
// $ CC main3_0a.cpp swap.cpp
/*
Before swap(): i: 10 j: 20
After swap(): i: 10 j: 20
*/
#include
using std::cout;
using std::endl;
// definition i
www.eeworm.com/read/192089/8407510
cpp main3_1b.cpp
// Section 7.3.1
// $ CC ptrswap.cpp main3_1b.cpp
/*
Before ptrswap(): pi: 10 pj: 20
After ptrswap(): pi: 20 pj: 10
*/
#include
using std::cout;
using std::en
www.eeworm.com/read/192089/8407522
cpp main3_0c.cpp
// Section 7.3
// $ CC main3c.cpp rswap.cpp
/*
Before rswap(): i: 10 j: 20
After rswap(): i: 20 j: 10
*/
#include
using std::cout;
using std::endl;
// definition in
www.eeworm.com/read/192089/8407526
cpp main3_0b.cpp
// Section 7.3
// $ CC main3_0b.cpp pswap.cpp
/*
Before pswap(): i: 10 j: 20
After pswap(): i: 20 j: 10
*/
#include
using std::cout;
using std::endl;
// definition i
www.eeworm.com/read/192089/8407530
cpp main4.cpp
// Section 13.4
// $ CC screen.cpp main4.cpp
/*
###
#*#
###
@@@@@###
@@@@@###
@@@@@###
@@@@@###
@@@@@###
########
########
########
*/
#include "screen.h"
i
www.eeworm.com/read/192089/8407537
cpp main6.cpp
// Section 13.6
// $ CC screen.cpp main6.cpp
/*
#*#
###
###
#*#
###
#@#
*/
#include "screen.h"
int main() {
Screen myScreen( 3, 3 );
myScreen.home().mo
www.eeworm.com/read/192089/8407728
cpp main8.cpp
// Section 10.8
// $ CC screen.cpp main8.cpp
#include "screen.h"
int main() {
Screen *ps = new Screen(8, 8, '%');
ps->display();
delete ps;
return 0;