Jump to content

Filters in C

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
banderas55

banderas55

    Newbie

  • Members
  • Pip
  • 1 posts
Hi everyone. I have some problems. I just start my work with C programming that’s why I have problem with creating even simply program. In next week I will have a exam and the teacher gives as to do a list of program which probably are similar to those on exam. Maybe someone can know how to do one of this program below?? This is the filters which I can later use it in CMD to filtering some .txt file.

List:
- Change all lowercase characters to uppercase characters and vice versa.
- Calculate the number of all words starting with an uppercase character.
- Change all characters to uppercase characters.
- Select all lines shorter then n characters.
- Select all lines with the number of characters from n to m.
- Select all lines starting with a given character.
- Select all lines starting with a given string.
- Write a filter that displays the number of occurrences of characters 'a' 'b' 'c' 'd' and 'e' in the standard input.
- Write a filter that displays the number of occurrences of all characters from the
standard input.

Please help me.

#2
Guest

Guest

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,414 posts
What do you have so far? What are you stuck on? No one here is going to do your homework for you.
Root Beer == System Administrator's Beer
Download the new operating system programming kit! (some assembly required)