mkdonuts
来自「压缩包内内容有:《遗传算法——理论、应用与软件实现》中所附源程序C或C++代码文」· 代码 · 共 50 行
TXT
50 行
##
## SGPC: Simple Genetic Programming in C
## (c) 1993 by Walter Alden Tackett and Aviram Carmi
##
## This code and documentation is copyrighted and is not in the public domain.
## All rights reserved.
##
## - This notice may not be removed or altered.
##
## - You may not try to make money by distributing the package or by using the
## process that the code creates.
##
## - You may not distribute modified versions without clearly documenting your
## changes and notifying the principal author.
##
## - The origin of this software must not be misrepresented, either by
## explicit claim or by omission. Since few users ever read sources,
## credits must appear in the documentation.
##
## - Altered versions must be plainly marked as such, and must not be
## misrepresented as being the original software. Since few users ever read
## sources, credits must appear in the documentation.
##
## - The authors are not responsible for the consequences of use of this
## software, no matter how awful, even if they arise from flaws in it.
##
## If you make changes to the code, or have suggestions for changes,
## let us know! (gpc@ipld01.hac.com)
SRCS = donuts.c ../lib/random.c
OBJS = $(SRCS:%.c=%.o)
## NOTE: last definition wins ##
CC = gcc
CC = cc
CFLAGS = -O -DTYPE=float -I../lib
.KEEP_STATE:
donuts: $(OBJS)
cc -o donuts donuts.o random.o -lm
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?