Results 1 to 18 of 18
Thread: C++ -
Hybrid View
-
4th January 2007 16:25 #1
C++ -
C++ .
Visual C++ 6 . , Visual C++ Express Edition . 6'. cout readf readf . cin , cout cin readf ... MiniGW , Visual C++ Express. 3- - iostream . , endl .
:
, "" "" MiniGW (Borland#include <iostream.h>
#include <conio.h>
//Returns the factorial of n
int Factorial(int n) {
//Loop variable
int i;
int Result;
//Initialize the result
Result = 1;
//Now multiply by 1 .. n
for (i = 1; i <= n; i = i + 1)
Result = Result * i;
return Result;
}
void main() {
int n;
//Get a value
cout << "What value?";
cin >> n;
//Print the factorial
cout << Factorial(n) << endl;
cout << "\nPress any key" << endl;
while (!kbhit());
}
)
Crashing is NOT normal. It is accepted as normal because of Windows.
Ah the Geforce 440 MX...all the power of the Geforce 2MX, without nearly a damn being changed...
-
4th January 2007 16:55 #2
Visual C++ Express Edition 2005.
cin/cout
"namespace std;"
.: XaMaB; . 0.42
In God we Trust (all others must submit a X.509 certificate). , ()
-
4th January 2007 17:29 #3Registered User
Join Date: Mar:2004
Location:
Posts: 3,748
-
using namespace std;
std:: stdc++ .
-
4th January 2007 17:46 #4
: include- <iostream.h>, a <iostream>. C++, - 100%. 10 , . -, . .
-
4th January 2007 19:01 #5
Last edited by wolfshark; 4th January 2007 at 19:35.
Crashing is NOT normal. It is accepted as normal because of Windows.
Ah the Geforce 440 MX...all the power of the Geforce 2MX, without nearly a damn being changed...
-
4th January 2007 20:00 #6
-
4th January 2007 22:32 #7
http://msdn.com e .
, - :
1. ++?
2. ?
3. ( )?
:
1. " - 100 " .
2. , .
-
5th January 2007 00:03 #8
100 . 200, 4 . , , .
:
1 : VB C++
2 : , - C++
3 : Visual Basic ,
http://www.cplusplus.com/doc/tutorial/Crashing is NOT normal. It is accepted as normal because of Windows.
Ah the Geforce 440 MX...all the power of the Geforce 2MX, without nearly a damn being changed...
-
5th January 2007 03:12 #9
wolfshark: " "
, (. data structures).
To , ( ). , , . "", data structures , " " (HTML LaTex ). , Visual Basic ( ) , (++ - "" o Visual Basic, VB ). VB ,
. , , . , // .
, : , , - .
- ++ data/mind structures:
++
- C++ Cookbook by D. Ryan Stephens, Christopher Diggins, Jonathan Turkanis, and Jeff Cogswell - , ++. () ;
- C++ Primer (4th Edition) by Stanley B. Lippman, Josée Lajoie, and Barbara E. Moo - , ++ . ( C++ Primer Answer Book by Clovis L. Tondo, Bruce P. Leung);
- The C++ Programming Language (3rd Edition) by Bjarne Stroustrup - (
). ;
- Secure Programming Cookbook for C and C++ by John Viega and Matt Messier - . ;
- C++ Gems: Programming Pearls from The C++ Report Stanley B. Lippman - "" Java C#
+ "More C++ Gems by Stanley Lippman and Robert C. Martin";
- Numerical Recipes in C++. The Art of Scientific Computing. by William H. Press, Saul A. Teukolsky, William T. Vettering, and Brian P. Flannery - " ", " ";
- Parallel Programming Using C++ by Gregory V. Wilson and Paul Lu - ", ". ( ) MPI;
Data structures
- Introduction to Algorithms by Thomas H. Cormen (2nd edition) - . Cambridge, Mass., USA , () ;
- Introduction to the Theory of Computation by Michael Sipser - ( )! , !!!;
- The Art of Computer Programming, Volumes 1-4 by Donald E. Knuth - 4 . . , ( , );
- Hacker's Delight by Henry S. Warren Jr. - "The Art of Computer Programming, Volume 0: Bit Manipulation". , ;
Mind structures
- () . ;
- Problem-Solving Strategies by Arthur Engel - , .
;
:
1. - , , - .
2. 2008 ++ , -
. " ", !
-
5th January 2007 11:42 #10, . .
"640K ught to be enough for anybody" - Bill Gates, 1981
::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel
-
5th January 2007 11:56 #11
C++0x Duke Nukem Forever. 1.0 D Programming Language.
-
5th January 2007 14:24 #12
C, D. B ?
- ,: XaMaB; . 0.42
In God we Trust (all others must submit a X.509 certificate). , ()
-
5th January 2007 15:23 #13
Last edited by haste; 5th January 2007 at 15:31.




Reply With Quote



Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in