代码搜索:编程问题
找到约 10,000 项符合「编程问题」的源代码
代码结果 10,000
www.eeworm.com/read/276181/10758421
c 灯塔问题.c
//灯塔问题
#include
#include
#include
int sz[11][11],cf=1,k,n,a[20],b[20],c[20];
void shuru(void);
void shuchu(void);
bool panduan(void);
void goujian(void);
vo
www.eeworm.com/read/276181/10758501
c 迷宫问题.c
#include
#define r 64
#define m2 8
#define n2 10
int m=m2-2,n=n2-2;
typedef struct
{
int x,y; //行列坐标
int pre;
}sqtype;
sqtype sq[r];
struct moved
{
int x, y; //坐标增量,取值-1
www.eeworm.com/read/273188/10923486
txt 金山问题.txt
1.new delete malloc free
delete会调用对象的析构函数,和new对应free只会释放内存,
new调用构造函数。
malloc与free是C++/C语言的标准库函数,new/delete是C++的运算符。它们都可用于申请动态内存和释放内存。
对于非内部数据类型的对象而言,光用maloc/free无法满足动态对象的要求。对象在创建的同时要自动执行构造函数, ...
www.eeworm.com/read/271491/10992186
dsw 背包问题.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# 警告: 不能编辑或删除该工作区文件!
###############################################################################
Project: "背包问题"=".\背包问题.dsp"
www.eeworm.com/read/271491/10992188
cpp 背包问题.cpp
#include
#include
int knap (int s, int n, int w[])
{
if (s == 0)
{ return 1;}
else if (s < 0 )
{ return 0;}
else if ( s > 0 && n < 1)
{return 0;}
www.eeworm.com/read/271491/10992190
plg 背包问题.plg
Build Log
--------------------Configuration: 背包问题 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\Lain\LOC
www.eeworm.com/read/271491/10992192
ncb 背包问题.ncb
www.eeworm.com/read/271491/10992193
opt 背包问题.opt
www.eeworm.com/read/271491/10992195
dsp 背包问题.dsp
# Microsoft Developer Studio Project File - Name="背包问题" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Cons
www.eeworm.com/read/271311/11000998
cpp 生日问题.cpp
#include
struct Date
{
int month;
int day;
int year;
};
class datetype
{
public:
datetype(Date b);
void modify(int m,int d,int y);
void tomorrow();
void