Character Arrays, getline, cin.get...

Поиск
Список
Период
Сортировка
От Stephane Pinard
Тема Character Arrays, getline, cin.get...
Дата
Msg-id 000c01c1c52d$e7680a40$96b29c18@supermang
обсуждение исходный текст
Список pgsql-novice
Hi
I need the code for a function that
- retrieves a string of characters from the user (ex: Hello world!)
- outputs the number of each character, upper or lowercase in this exact format: (using an array)
 
        A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z
        0   0  0   0  1   0  0   1  0 0  0  2   0   0  1   0   0  1   0  0  0   0   1  0   1  1
 
- this is the function declaration (which is called in function main that declares char inString[MAX]....MAX = 81 (global variable))
  void DisplayNumLetters (char inString[])
 
Thank you

В списке pgsql-novice по дате отправления:

Предыдущее
От: Faudzy Sulaiman
Дата:
Сообщение: Postmaster with -i
Следующее
От: "Yannick ALLUSSE"
Дата:
Сообщение: Size of the empty database