Changeset a6e708f for _old/app/src/gue
- Timestamp:
- 12/14/11 16:08:41 (13 years ago)
- Branches:
- master
- Children:
- 93afab8
- Parents:
- 1e121f4
- git-author:
- tom <tom@…> (12/14/11 16:08:41)
- git-committer:
- tom <tom@…> (12/14/11 16:08:41)
- Location:
- _old/app/src/gue
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_old/app/src/gue/Makefile
r1e121f4 ra6e708f 1 PAR=-Wno-deprecated -O 2 -fpermissive-static2 PAR2=-c -Wno-deprecated -O 2 -fpermissive1 PAR=-Wno-deprecated -O3 -fpermissive -m32 -static 2 PAR2=-c -Wno-deprecated -O3 -fpermissive -m32 3 3 LIB_PATH=../lib 4 4 COMMON_PATH=../common … … 6 6 7 7 8 gue: main.cc guess.o auttools.o word.o cmdline.c common_guess.o common.o 8 gue: main.cc guess.o $(LIB_PATH)/auttools.o $(LIB_PATH)/word.o \ 9 cmdline.c common_guess.o common.o 9 10 g++ $(PAR) main.cc guess.o \ 10 11 $(LIB_PATH)/auttools.o $(LIB_PATH)/word.o cmdline.c common.o common_guess.o \ … … 17 18 g++ $(PAR2) common_guess.cc 18 19 19 common.o: $(COMMON_PATH)/cmdline_common.ggo cmdline_common 20 common.o: $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \ 21 $(COMMON_PATH)/common.h 20 22 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc 21 23 … … 39 41 cp gue ${UTT_BIN_DIR} 40 42 endif 41 42 include $(LIB_PATH)/lib.mk43 include $(COMMON_PATH)/common.mk -
_old/app/src/gue/guess.cc
r1e121f4 ra6e708f 2 2 #include "guess.h" 3 3 4 #include < cstring>4 #include <string.h> 5 5 #include <iostream> 6 #include < cstdlib>7 #include < cassert>8 #include < ctime>6 #include <stdlib.h> 7 #include <assert.h> 8 #include <time.h> 9 9 10 10 #define DICT 1 … … 18 18 #define PREF_SIGN '_' 19 19 20 20 21 using namespace std; 22 21 23 22 24 Guess::Guess(const char* suf_file)
Note: See TracChangeset
for help on using the changeset viewer.