C++ |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| #include <windows.h>
#include <cstdlib>
#include <iostream>
#include <cstdio>
#pragma hdrstop
#include <conio.h>
using namespace std;
bool correct(char ch)
{
if ((ch >= 'a'&& ch <= 'z')||(ch >= 'A' && ch <= 'Z')&&(ch >='а'&& (ch <= 'я')||(ch >= 'А'&& ch <= 'Я')))
return false;
else return true;
}
int main(int argc, char* argv[])
{
char *str="Vvedite stroky";
std::cin>>*str;
getch ();
return 0;
} |
|
Вот видимо, что он хотел.