,   CyberForum.ru

- C++


C++ switch http://www.cyberforum.ru/cpp-beginners/thread341914.html
: int i_1x; i_1x = 0; char a_n; ifstream input("input.txt"); input >> a_n; switch (a_n)
C++ #include<iostream> using namespace std; class a {protected: int a1; public: void fc() {a1=5;cout<<a1<<endl; http://www.cyberforum.ru/cpp-beginners/thread341900.html
C++ . .
, ... , :wall: #include"stdafx.h" #include <iostream> using namespace std; class NameDataSet{ public: char FirthName; char LastName; int creditCard;
C++
Dev-C++ 4.9.9.2 : Default compiler g++.exe... g++.exe "C:\Documents and Settings\777\ \ \primer.cpp" -o "C:\Documents and Settings\777\ \ \primer.exe" -g3 -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" ...
C++ http://www.cyberforum.ru/cpp-beginners/thread341874.html
++, : An = An-1 + (1/m)*O, n n-1 , O - , , excel, , - , ...
C++ char[] string char ch string str, ch, .. ch str ( str = ch). ? C++.

Kopmec
0 / 0 / 0
: 13.08.2011
: 31
14.08.2011, 22:17  []    
talis
C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdlib.h> // system()
#include <conio.h>  // getch()
#include <stdio.h>  // getchar()
 
int main()
{
    /*    */
 
 
    system( "pause > nul" );
 
    //
    getch();
 
    //
    getchar();
 
    return 0;
}
, .

:

, ...

C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*Ýò* ïðîãð*ìì* ïðåîáð*çóåò ã*ëëî*îû â ëèòðûñ ïîìîùüþ 
÷èñåë ñ ïë*â*þùåé òî÷êîé.*/
#include <iostream>
using namespace std;
int  main()
{
     double gallons,liters;
     cout<<"Ââåäèòå êîëè÷åñòâî ã*ëëî*îâ:";
     cin >> gallons; " Ââîä ä***ûõ îò ïîëüçîâ*òåëÿ: ";
     liters= gallons * 3.7854; //Ïðåîáð*çîâ**èå â ëèòðû.
     cout <<"Ëèòðîâ:"<<liters;
     cin.get();
     cin.get();
     return 0;
}


30

- ┬ :1
╦:3.7854



C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*Ýò* ïðîãð*ìì* ïðåîáð*çóåò ã*ëëî*îû â ëèòðûñ ïîìîùüþ 
÷èñåë ñ ïë*â*þùåé òî÷êîé.*/
#include <iostream>
using namespace std;
int  main()
{
     double gallons,liters;
     cout<<"Ââåäèòå êîëè÷åñòâî ã*ëëî*îâ:";
     cin >> gallons; " Ââîä ä***ûõ îò ïîëüçîâ*òåëÿ: ";
     liters= gallons * 3.7854; //Ïðåîáð*çîâ**èå â ëèòðû.
     cout <<"Ëèòðîâ:"<<liters;
     cin.get();
     cin.get();
     return 0;
}


C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*Ýò* ïðîãð*ìì* ïðåîáð*çóåò ã*ëëî*îû â ëèòðûñ ïîìîùüþ 
÷èñåë ñ ïë*â*þùåé òî÷êîé.*/
#include <iostream>
#include <locale>
#include <cmath>
#include <stdlib.h> // system()
#include <stdio.h>  // getchar()
using namespace std;
int  main()
{   
     setlocale(LC_ALL,"Rus");
     double gallons,liters;
     cout<<"Ââåäèòå êîëè÷åñòâî ã*ëëî*îâ:";
     cin >> gallons; " Ââîä ä***ûõ îò ïîëüçîâ*òåëÿ: ";
     liters= gallons * 3.7854; //Ïðåîáð*çîâ**èå â ëèòðû.
     cout <<"Ëèòðîâ:"<<liters;
     system( "pause > nul" );
     getchar ();
     return 0;
}
 
: 15:51. GMT +3.
- , ,
-
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
@Mail.ru