Thread C++ =>Einstieg: Was man dafür braucht... (71 answers)
Opened by Gast at 2006-06-16 15:15

esskar
 2006-06-17 22:59
#11431 #11431
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
[quote=Tom,17.06.2006, 19:36]
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream.h>
#include <conio.h>
int m;
main()
 {
 m = 2;
 cout << "\n m = " << m;
 m =2*m+1;
 cout << "\n m = "  << m  ;
 m=m-6  ;
 cout << "\n m = " <<  m;
 m=7+5*m*m;
 cout << "\n m = " <<  m;
 getch();
 }


So funktioniert es.

Tom[/quote]
wieso will man da eine globale variable haben?

View full thread C++ =>Einstieg: Was man dafür braucht...