代码搜索:cpp
找到约 10,000 项符合「cpp」的源代码
代码结果 10,000
www.eeworm.com/read/289731/8531919
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/289731/8531931
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/289731/8531948
cpp main4.cpp
// Section 13.4
// $ CC screen.cpp main4.cpp
/*
###
#*#
###
@@@@@###
@@@@@###
@@@@@###
@@@@@###
@@@@@###
########
########
########
*/
#include "screen.h"
i
www.eeworm.com/read/289731/8531965
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/289731/8532287
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;
www.eeworm.com/read/289731/8532291
cpp main7.cpp
// Section 10.7
// $ CC screen.cpp main7.cpp
/*
Output:
****
****
****
****
@@@@@@
@@@@@@
---
---
---
---
---
*/
#include "screen.h"
int main() {
Scree
www.eeworm.com/read/289731/8532651
cpp main5_2.cpp
// Section 8.5.2
// $ CC fibon.cpp main5_2.cpp
/*
Fibonacci Series: 16
0 1 1 2 3 5 8 13 21 34 55 89
144 233 377 610
*/
#include
using std::cout;
// Defined in fibon.C
v
www.eeworm.com/read/389295/8534382
am makefile.am
AM_CPPFLAGS = -I../.. -Wall
LDADD = ../../tsk3/libtsk3.la
LDFLAGS = -static
EXTRA_DIST = .indent.pro fscheck.cpp
bin_PROGRAMS = blkcalc blkcat blkls blkstat ffind fls fsstat icat ifind ils \
ist