IHYPRESS.NET
C
HOME | ASP | C | CSS | HTML | JAVASCRIPT | PERL | PHP | PYTHON | RUBY | SVG
C > 08. Strings
  1. Reading a String with scanf
    A program that askes the user for city names using scanf.
  2. Reading a String with fgets
    A program that askes the user for city names using fgets.
  3. Reading a String from a file
    A program that reads a sentence from a file.
  4. Comparing two Strings
    A program that reads two city names and compares them by alphabetical order.
  5. Manipulating Strings
    Functions that take a sentence and remove all characters but letters and transform all letters into capitals.
  6. Splitting a Compound Formula
    A program that splits a chemical compound formula into its elemental components.
  7. Counting a Character in a String
    A recursive function that counts how many occurrences of a character are in string.
  8. The Words in Reverse Program
    A recursive function that reads words from the keyboard and prints them in the reverse order they were entered.
COPYRIGHT © 2015-2024 IHYPRESS.NET. A DIVISION OF IHY PRESS. ALL RIGHTS RESERVED.