CS 202 Computer Science II Lab Fall 2009 November 5
Today Topics Makefile Sort Algorithms Palindrome String
Makefile main main.o cylinder.o main.cpp cylinder.h cylinder.cpp circle.opoint.o circle.h point.h circle.h point.h circle.cpppoint.cpp point.h
Bubble Sort
Selection Sort
Insertion Sort current temp: current current temp: 10
Insertion Sort current temp: current current temp: 7 temp: 15
Insertion Sort temp: current temp: current
Palindrome String A palindrome is a word, phrase, number or other sequence of units that has the property of reading the same in either direction. (Wikipedia) 1.K 2.IMLOBOLMI Create: bool ifPalindrome( char inStr[], int start, int end)
List All Palindrome Create a function which shows all palindrome substrings of the input string. Size of substrings are more than one. GBNCCNBPBNCCNBK 1.CC 2.BNCCNB 3.BNCCNBBNCCNB 4.…?
Questions?