This program can determin very accurately the nature of the user input, it detects whether it is an integer, a float, a number in scientific notation or simply an invalid input. To be capable of doing this the program uses a simple FSM (Finite State Machine) to represent the possible states of the input.( INT, FLOAT,.. )
File List:
FSM/
0b
FSM/FSM.cpp
3Kb
FSM/FSM.dsp
4Kb
FSM/FSM.dsw
1Kb
FSM/FSM.ncb
41Kb
FSM/FSM.opt
55Kb
FSM/FSM.plg
1Kb
Similar code
Natural Language Processing: Sentence Matching Algorithm
(Popularity: ) : This is my own attempt to create a program that can match sentences by using the "edit distance" or "Levenshtein ... CCITT Cyclic Redundancy Codes (CRC)
(Popularity: ) : Calculate CCITT cyclic redundancy codes (CRC)without clobbering the rocessor's data cache. Both 16 and 32 bit codes are provided. A Keyboard Recorder
(Popularity: ) : The purpose of these program is to simulate a human typist,the way that these program proceed to do this is ... Lines Counter
(Popularity: ) : Have you ever wanted to count the lines of your code in C or C++ without the commentaries and blank ... Two basic programs, one in PowerBasic the other in QB45
(Popularity: ) : Two basic programs, one in PowerBasic the other in QB45, to demonstrate to beginning programmers how to construct a SIMPLE ...