Strings in C Plus Plus
From codeuu,source code
| Change Characters |
Change!
| Convert Characters |
Convert!
| Change Strings |
Change Strings!
| BString |
An extension to Standard C++ string class.
| C plus plus code lexical analysis simulation |
Accept a c++ source code and perform lexical analysis on it.
| Find a Space in a String |
The purpose of this program is to take a string, and and find a given character. In this case, a space.
| count number of char |
count number of character in line of text.
| Pig Latin |
Converts entered text into a simple Pig Latin version, eg: 'hello' becomes 'ellohay'
| StringPrinter |
This small application will let you type in ANY string you want. When you press the PRINT button, it will print the string to your default printer. You can control what font to use, what font height and weight, page margin sizes, and of course the page orientation (portrait or landscape). It is a great tool to have and makes printing text EASY!
| Compare string containing wildcards and ? |
This is heavily commented code of a function called wildcmp() that allows you to compare a string containing wildcards '*' and '?' to another string; used as you would use strcmp() except this returns true or false. It may be a bit confusing for a beginner at first (that's why I added a pile of explanation) but if you can pick it apart and get how it works, I think you'll learn a couple of new things.
| The Array, the Pointer and the String tutorial. |
The article teaches more about the way strings, arrays, pointers and pointer's pointers work.
| Dos Text Editor |
Dos Text Editor is a simple text editor although has a cool theme,colors.
| Dynamic String Class |
A dynamic string class with a few functions, use it as you like.
| deepak G krishnan |
OS designed 4 u. its a command prompt one .
| Encryptor/Decryptor |
This program encrypts or decrypts files. This is handled in a slighty differant way, the algorithm uses strings to complete this task.
| Easy Strings |
To demonstrate the use of strings.
| extract word from string function |
my code extract word from string and display it in new line using c user defined function.it is useful code when multiple space is given in string.
| Find character |
Search characters in a string. It returns the number of character within the string. If you have a question or suggestion, feel free to email me at liteskid@edsamail.com.ph
| Find characters |
To search a character.
| FB.EXE -- A binary file viewer / browser |
Hi, this is fb.c --- A binary file viewer / browser 23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)23:04, 25 August 2008 (MST)~
| Flames Candle Simulation |
Accept the names of a male and a female and perform "Flames Candle" on them.
| Function number in word |
this is program which ask user to input number and it display inputed number in word.
| Getting size-ordered words |
Getting size-ordered words
| Ggrep |
Similar to the known grep, patteren matching
| Inheritance_person |
inherits code of one class to second
| Include Scanner |
Currently, the program will scan any file you specify for #include. If #include is found, the program will search the new file for addition includes, and then print out what files the original file requires.
| Date to Words Conversion |
This is just a simple program (console-based) and a fun way of converting Numbered-Dates into words (e.g. 5/27/1985 -> may twenty-seven, nineteen eighty five). Any events on the inputted date is also shown (Events that are included depends on the country- Philippines, you can later edit the events by opening the header file events.h)
| Letter count with linked list |
The program will prompt the user for a line of text data and output a list of all the letters that occur in the text with the number of times each letter occurs in the line. A linked list is used for this purpose. A period denotes the end of the line.
| Letter Counting Program |
Just another letter counting program. Tell it a file and it will output how many letters are in that file as intgers or as percents. You can have the output put on screen or put into a file for later viewing.
| My Password |
Print an ansterisk (*) while typing. Good for password making.
| Matrix the Movie |
Base from the movie "The Matrix" by Keanu Reeves. Enjoy your watching!
| mystring.h |
This is simple but useful enhanced string header file that contains 15 functions similiar with string.h such as STRLEN , STRCPY , GETS , PUTS
| Moving Character (Updated) |
This code is a console program what it does is
| Morse Code Decoder/Encoder |
Read a string and convert it to Morse Code and Vice-Versa
| STL String XOR Encryption |
STL library string encryption using XOR.
| Scorolling And Moving Sting Effects |
Its will tell How to scroll A string on the screen..
| String component counter |
Really simple to use code which creates an application that takes a string/sentence/text input from the user and then tell how many blanks,consanants,vowels and digits are present in it.Was a good one to code and i figure many students may too have problems coding it so here its is for anyones reference.Please vote for me , it counts, I am not asking anything in return of my code but some votes.
| String scroller |
Takes a string input and scrolls it sidewards on the screen.Must code for all Novices wanting to learn movement.
| Sharing Strings Between Processes |
Allows you to share strings between seperate processes on a windows system. This could be used to send messages from a control application to a service.....
| string functions using both user defined & stdlib |
it gives the o/p of the string in terms of stdlib function & user defined function it works very well in c/c++ i have tested it !!!
| Safe String Handling Library |
Allows you to safely create, modify, and delete strings of any size.
| String Copy |
Ever wanted to copy a string using your own function? Well this code teaches you how to copy a string to another without using the function strcpy from sting.h. Please Rate the code.
| String Replacer |
The function "replace_string" included in this program will replace all occurence
| string.h - System-independent complete |
This are definitions that I wrote for all of the string.h functions. Most are small and fast, and all have been tested and work just like standards say for them to. Check the Readme's for explanations on the included files.
| simple wordcount |
counts the number of words in a sentence
| Split Function |
Pick out certain words in a string.
| String Tokenizer Class version 2.0 |
This is an update of the original class that i have done before(String Tokenizer Class)
| String Tokenizer Class 2.4,same as String Tokenizer Class 2.0 with some new improvements |
new changes:
| TestTxt |
Detects text properties (number of words, letters occurrence etc.)
| This is my "Word Count" |
This program counts the number of words in a text file and separate the number of words starting at uppecase and lowercase.
| Type Conversions (string to int and the int to str) |
The project includes 4 functions. The first converts the strings (char*) to integer and the other 3 the integer to strings. The definition of the funcs are:
| token |
Searches string from a file and get each word and tell me the type of token that they are but I do all this using a predictable table I put a document were I explain who the predictable table work and how to make one
| Various String Functions (VB like) |
Allow users to do the following string functions using a char* or a string:
| Writing to a file |
The question that I'm asked most is "how do you write to a file.... And then how do you read it?" Well, here you go!
| wildcmp() and wildicmp() - Regular Expressions |
wildcmp() compares a string containing wildcards ('?' and '*') with a normal string where '?' represents a single character and '*' represents zero to unlimited characters. It returns true if they are equal.
| WordInList.EXE -- search a dictionary file (included) |
/*
| STL String Manipulation Routines |
This is a very useful collection of routines to manipulate strings. It features string operations such as: trimLeft, trimRight, remove, replace, copy, reverse, etc. And all of this functions are integrated into a namespace: "string_routines".
| A C plus plus implementation of the Levenshtein Distance |
The "Levenshtein distance" is a measure of the similarity between two strings,
| A simple string spliter |
This code split a given string into tokens.
| Use Bubble Sort for Ordering Strings |
This program use the "Bubble Sort Algorythm" for ordering a list of names alphabetically.
| Fuzzy String Matching |
The fuzzy string matching concept provide a powerful way for comparing strings.
| number of lines,chars,words |
hi, the code here calculates the number of lines,words and characters that are entered by the user..plz rate the code....thanx
| number of characters |
hi, the code here calculates the number of time a character is repeated in the string entered by the user...plz rate the code..thanx
| NString |
I'm speak french only. Sorry for my english :)
| NUMEROLOGY calc |
Its a NUMMEROLOGY program....Calculates the numerological value of a name.... Based on the result further predictions of ur future can be made by an astrologer....
| n34r Function Version 1.0 |
1) check_create_file( "filename.txt" )
| overloaded string class |
demonstrate the use of overloaded operators in a string cl?ss
| palindrom word from file |
This program find palindrom word from file
| POSITION SEARCHER |
Search e 1st & last positions of given character.
| Password mask |
Masking the password when you type in.
| Palindrome |
A palindrome is a word, phrase, number or other sequence of units that has the property of reading the same in either direction
| Piglat |
This program takes a user inputed phrase or words and converts them to piglatin. If word begins with vowel it adds "yay" to end, if not it moves the first character to the end and adds "ay". Created for my computer programming class. CAUTION: Source code written using ConTEXT and formatted to print Landscape mode on printer. It uses the entire width of page.
| Pointer Based Address Book |
Uses pointers to keep track of an infinite number of contacts (name, address, phone, etc.). Also saves to a file for later use, and has a print function. Pointers allows for a more prudent use of memory than traditional character arrays.
| Parse String |
Removes white spaces from strings
| pretty printer |
pretty printer for c language
| Pretty Printer II |
This code finds the main C language keywords & changes their color. this is not a fully applicable program though. i just fixed some bugs of the "Pretty Printer" written by Mr. Bahram Ettehadieh.
| pass over string length problem |
showing a sample solution for the problem that faces c/c++ programmers when dealing with unknown string length ..... I know that there is some bugs .... but I may solve them in the next version
| permutat.c |
This program takes a string as input and prints all its permutations
| PALINDROM WORD FROM STRING |
purpose of my code is to find palindrom word from given string by user.
| Recursion example |
This example helps you to use Recursion to count vowel and non-vowels in a string. It also shows you how to identify and convert from lowercase vowels to uppercase and reverse the string.
| reverse words backwards console |
so you can see the words sentences in reverse etc just some string manipulation
| reverse name |
the code here reverses the string that the user types in eg if you enter Yaghwinder then the out put will be redniwhgaY
| replace text within a file -- the executable |
please read my other posting for C source code to this EXE.
| revrsing a number |
reverses the input number
| Repeated Letters |
This code gives us the number of letters repeated in a certain sentence.This is my first submission so I am out with a small and a simple code, later i'll be back with better and utility codes.
| string to float and float to string |
This program of c++ convert string type value into float and float to string this program is convertion between user define object
| Simple File Rename |
A Simple file rename function.
| String Tokenizer Class 3.0 (an update of the previous ones ...) |
String Tokenizer Class version 3.0
| String class ( a la Watcom C strings ) |
It's a well known fact, that standart C/C++ does not have strings. Char* is just a pointer with incerament size of 1, so there is no way it's string. Some compilers have own string, some won't. thus, this code's purpose is to eliminate the lack of strings on those compilers which does not have string workframe. this code does not use any compiler-specific stuff ( at least i think so ) so probably it will work with any compiler and any platform, though is tested only on Watcom compiler
| StrTok Populates Array |
Takes a given string and populates it into a given array i wrote this because i needed a Tokenised function that was an independant function rather than having to write it in Main
| String Generator |
Generates n-strings using length and ASCII character range specified by user. Provides information about number of strings to be generated, space needed and space available on current drive. Useful for BRUTE FORCE Passward cracking as it can create a text file containing the strings generated.
| String Manipulation Utility |
sometimes you need to convert char* or Tchar* to its unicode counterparts. I have found it very tidious calling API to do this so I wrote a class that performs most of the functionality for you.
| str.h |
Next time you need to use <string.h>, use this "str.h" header instead. It gives you additional functions: strfile(),strspc(),strread()
| Speed-- |
Show the number of letters in a vector;
| Aparman,very educational |
when you wish to move into the aparman,a person enters your personal DATA and saves it.Same here.
| A Complete C plus plus String Class |
This code features a complete string class, there are many routines for manipulating strings in the class.
| Anagram |
An anagram (Greek anagramma 'letters written anew', passive participle of ana- 'again' + gramma 'letter') is a type of word play, the result of rearranging the letters of a word or phrase to produce other words, using all the original letters exactly once
| anagrams |
an anagrams generator
| A Beginner's Guide to Strings and Formatting |
A basic tutorial on using a business card printed to the screen to show beginners how to format output on the screen, as in centering a string on the screen. It is only for beginners and is EXTENSIVELY commented.
| ApxString |
ApxString is a lightweight string library. It is written in C++ in the class ApxString. This is my latest version - and have improved upon the speed of Replace() tremendously.
| An example of using Get() |
Fully commented for begginers. Code that shows how to use Get(). This waits for input and when the user types a string containing the character 's' and hits enter, the program terminates. In the meantime, the program simply idles until input. I hope this helps begginers, it shows simple IO and how to use Get().
| Amazing C plus plus String Class |
This is a C++ string class i wrote to make using strings in C++ alot easier it is good to learn form and has many functions. I havn't implemented it with friend functions yet but i hope to soon. If you use this or think its good please vote.
| a name game-matcher |
the program gives almost entire concepts used in arrays and strings.....while you will get the knowledge of how to work out with strings besides that how to put them in along with some animation to make it look better....
| Arab Renamer V2 |
Arab Renamer is a small tool to convert your Arabic letters to the corresponding
| Basic String Manipulation Tutorial |
This will teach very beginners about basic string manipulation (how to make something someone enters do things)
| BSTR2 |
Have you evere dreamt to manage C++ string like VB developers do?
| biopro.c --- search for words that do not exist in the dictionary file |
BioPro.c --
| concate and comparition of two string using operator overloding plus and == |
My this c++ code add two string and cpmpare two string using operator overloding in c++ == for compare and + for add
| Custom Texbox |
This is just a simple texbox entry manipulation, first textbox converts all entries to be CAPS, second textbox allows all entry to be numbers as double and can be use to your calculator programs
| SortStrDataDLList |
SortStrDataDLList is a class that creates an ordered Linked List of CString objects. It also allows variable length data blocks to be assigned to each 'node' in the linked list. When a new CString 'node' is added it will be automatically inserted into the list in alphabetic order (with option for case sensitive or case insensitive ordering).
| stringcount |
To count the charactors on an inputed string in c++
| Calendar |
Do you want to check the calendar of you birth year? or any year?
| Printf Example |
This is an example on using printf, also has an example on using system and getch functions.
| Char Array(String) Manipulation (Parse, Find, LeftCopy, MidCopy, etc.) |
This is a collection of functions that manipulate char arrays (or strings... but not from <string.h>). The functions include: ParseString(), LeftCopy(), RightCopy(), MidCopy(), Find(), ReverseString(), CopyString(), AppendString(), CompareString(), LowerCase(), UpperCase() and i think a few more. Very usefull!!!!!!
| formatting & rounding functions |
Functions to format strings as numbers, or numbers as strings. There are also rounding functions.
| ChAnGe CaSe |
ChangeCase.Cpp will open a user specified text file and change the case of every other letter... This program demonstrates the use of basic screen input and output (with "iostream.h"), basic file input and output (with "fstream.h"), and several character analysis and manipulation functions (with "ctype.h")...
| CutUp Function |
This code lets the programmer CutUp a string, for example: say you have the string "I am cool". You would use the function to get the 2nd word separated by the delimeter the programmer wishes. In this case, you could use the " " character and the second word would be "am".
| Change character to upper cace |
This code helps you to convert any character you've search in a string. If you have a questions or suggestions, feel free to email me at liteskid@edsamail.com.ph
| Change string into Proper case |
This code is the updated code that I submitted. In this code you can Convert the first character of the word into upper case if '.' was found but if the next char is a whitespace the position of the char increment. But wait, the specialty of my code is this: if the first char of the string is whitespace the position of the char increment, while the next char is not a whitespace then the upper case function works. If you have a question or suggestion, feel free to email me at liteskid@edsamail.com.ph
| Convert the first char of every word into uppercase |
This code is also updated of my last code I submitted. It returns the same string but the first char of every word is converted into uppercase format.
| Character, Ascii, and Binary Conversions |
I started this program after writing something similar in VisualBasic, though that took me 5 minutes this took me alot longer. This program was made to convert character to binary and binary to character. Though after not finding the functions like vb has Asc() and Chr(), i made my own. Only problem i had with this is the Character to binary, it works fine, but i wanted it to put all the numbers for the binary number in one variable, look at the code you should see what i mean, if you can help please do.
| Hang Man |
This code allows a user to play a game of hangman from the dos prompt provivded another user has entered a word(s) and a description.
| Character to integer |
converts a char that is 0-9 and returns that value back into an integer. If the char isn't numeric, 0 is returned and an error is displayed.
| Word Search |
This example will search through an edit box and find all the occurances of the entered query word. Good lesson on string manipulation.
| Word count |
This reads the string that you type in and then it tells you how many constants,vowels,tabs,puntuations and words you have typed or used.
| Converting to Upper Case |
This code of mine simply converts all the low case characters to upper case characters and doesnt uses any c or c++ header files(such as string.h) for coverting it into upper case. Its my own function which I developed. Please rate the code for boosting my confidence so that I can work better in the future and post new codes as well.
| change string case |
this code here converts the case of the strings that the user enters eg - if u enter yaghwin then the output will be YAGHWIN n vice versa...plz rate the code if u can ... thnx
