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