Here, you can access a list of flowcharts created from original
C++ source code. You can have the original source code from which the
Logiccoder document is created, you can also have the word document but
you will have to make purchase of the logiccoder source code file from
which the word document is generated if you want to edit and regenerate
the flowchart. You will also need to make download purchase of a trial
version of LogicCoder which will cost you an additional US$12.00
Description
Source/ Get logiccoder
source file
SEARCH AND PATTERN MATCHING
THE BINARY SEARCH ALGORITHM
The Binary Search does search to locate an item in a list consisting
of N values in time proportional to Log2 (N). However, the
data set must first be ordered for the algorithm to work. In comparison
to the Linear Search algorithm, the average time taken to locate a single
value depends on the manner in which the search data value is distributed
within the set. Statistical analysis shows an expected time of O(N)
See flowchart
in Ms Excel
Purchase LogicCoder
THE LINEAR SEARCH ALGORITHM
In this implementation, the algorithm is actually been used to do search
on a Company database system to extract related data whenever the user
enters a company name. The essential part of this control logic that
implement the linear search is highlighted red and is nested within
the last outer loop of the control logic.
See flowchart
in Ms Excel
Purchase LogicCoder
STRING SEARCH 1
Function to search for a substring in a larger string. There are no start or end delimiting characters. Therefore, the substring can also appear within another delimited or non-delimited substring. Both this and the next function returns the first character position where the substring is located. The function returns zero when the substring is not located. Therefore, the function only returns the first occurrence of the substring in the larger string.Use the 3rd overloaded version of this function to specify the start location in the larger string where you want the search to begin.
See flowchart
in Ms Excel
Purchase LogicCoder
STRING SEARCH 2
Function to search for a substring in a larger string with given delimiting characters. The first delimiting character specify the character type that must delimit the start of the substring and the second delimiting character specify the character that must delimit the end of the substring when it is located in the larger string. NOTE that most overloaded functions have simple variation in their implementation.
You can use LogicCoder to quickly and easily design and code overloaded functions in ANSI C++
See flowchart
in Ms Excel
Purchase LogicCoder
SORTING AND DATA ORDERING
Sorting and Data Ordering Algorithms. These are used to order data
values in memory before other data processing operation is done on them. CAUTION: NOT ALL LINKS ARE CORRECT!!
BUBBLE SORT
See flowchart
in Ms Excel
Purchase LogicCoder
INSERTION SORT
See flowchart
in Ms Excel
Purchase LogicCoder
QUICK SORT
See flowchart
in Ms Excel
Purchase LogicCoder
SHELL SORT
See flowchart
in Ms Excel
Purchase LogicCoder
HEAP SORT
See flowchart
in Ms Excel
Purchase LogicCoder
STANDARD MERGE
See flowchart
in Ms Excel
Purchase LogicCoder
MERGE SORT
See flowchart
in Ms Excel
Purchase LogicCoder
RADIX SORT
See flowchart
in Ms Excel
Purchase LogicCoder
DATABASE PROCESSING
Use the following sample program control algorithms to get solutions
for your own data processing needs. Modify the flowchart to implement
your own program solution and then use your flowchart to regenerate
the source code to implement the solution.
CHEQUEING ACCOUNT
See flowchart
in Ms Excel
Purchase LogicCoder
MILEAGE ALLOWANCE
Does calculation for mileage allowance base on distance covered by a sales person.
See flowchart
in Ms Excel
Purchase LogicCoder
CLUB MEMBERS FEES
See flowchart
in Ms Excel
Purchase LogicCoder
CAMPING FEES
This flowchart illustrates the logic used to determine campers fees base on residency and period camping period. The flowchart illustrates an example implementation of nested case structures and validate the ability of LogicCoder to generate accurate program code from relatively simple case structures in BASIC, VB and ANSI C++.
See flowchart in
Ms Excel
Purchase LogicCoder
TRAFFIC CITATION
The control logic for a program that iterate through a data file with
information on traffic violation. The control logic for the implemented
program does processing for the number of traffic violation and their
associated fines and penalties.
See flowchart
in Ms Excel
Purchase LogicCoder
FACILITIES RENTAL FEE
See flowchart
in Ms Excel
Purchase LogicCoder
HOSPITAL BILL
Here is the control logic for a function that calculates a hospital
accommodation bill base on service type, patient care and patient accommodation
room type. There are many other kinds of similar accommodation bill
calculation services such as Hotel accommodation or Seminar accommodation
or exhibition accommodation. Note that this bill calculation routine
uses a sequential file with data stored in a database system.
See flowchart
in Ms Excel
Purchase LogicCoder
THE CONTROL-BREAK LOGIC
You can modify the control-break logic so that it does any kind of
switch in data processing pattern whenever a sequence of data values
in a selected field(s) of records in a data file changes. The flowchart
illustrated here is a simple example implementation of this system.
However, you can use LogicCoder to do quick modification in more than
one way to implement your own required control logic. For example, you
can abstract section of the control logic and then replace the abstracted
section with your own abstract control logic.
See flowchart in Ms Excel
Purchase LogicCoder
MATHEMATICAL AND STATISTICS
Algorithms for doing mathematical and statistic operations. Use these
algorithms as routines in more complex mathematical systems or do modifications
to meet your requirements.
FIND THE AVERAGES
This algorithm has an nth dimensional generic form that can be used to determine summary within a data set and their extreme. The logic presented here can be used to determine the Mean, Mode, and Median of a set of ordered data values
as an array. Use logic illustrated in image file
See flowchart
in Ms Excel
Purchase LogicCoder
SYMETRY OF MATRICES
Determine if a matrix with regular diagonal elements is asymmetric or not.
See flowchart
in Ms Excel
Purchase LogicCoder
GREATEST COMMON DIVIDOR
Determine the greatest common divider of a pair of integer values U and
V. This algorithm uses the Euclid method.
See flowchart
in Ms Excel
Purchase LogicCoder
GET PRIME NUMBERS BETWEEN RANGE
Select the set of prime numbers between a range of values. I have not
spent enough time to determine the actual running time of this implementation
but it appears 'trivial from first sight'.
See flowchart
in Ms Excel
Purchase LogicCoder
FABONACI NUMBER
Determine the Fabanocci number for
See flowchart in
Ms Excel
Purchase LogicCoder
FRACTAL
Does recursive calculation on a given shape parameter values and then
draw the shapes recursively at given point along selected parameters
on the shape's boundary. The shape implemented in this case, is a box. You can tweak the code to implement your own shape. The flowchart will help you to better understand the code!
See flowchart in
Ms Excel
Purchase LogicCoder
Select All