oo WYZNACZNIKI2 (Running) - Microsoft Visual Studio (Administrator)
File Edit View Project |
Build Debug Team Data Tools Architecture Test Analyze Window Help | ||
i 9\ |
Si | *^ ” V Release - Win32 |
wskaznik2 | |
: ^3 % ^3 A- ni l w |
w '3 2 I □ Q ^ i > jj j j | s> 'i i ri |
Hex -% l3 "■ v | |
• Process: |
’ Thread: ~ ^ ^ Stack Frame: |
▼ | |
WYZNACZNIK32.cpp X |
▼ | |
(Global Scope) |
~ | v _tmain(int argc, _TCHAR * argv[]) |
3 |
24
25
26
27
28
*
$ So today is... Google
lueshirtstudio Customized Web Seifi
Pokaż źródło’ JL Ustawienia’
%
*
void gotoxy(int x, int y);
std::ostream& (_cdecl kol)(void* str,int i);
std::ostream& (_cdecl kol)(char* str,int i);
std::ostream& (_cdecl kol)(int str,int i);
29r std::ostream& (_cdecl kol2)(double str,int i);
301
31 void funk2(double wskaznik[l][3]);
32
33 Eint _tmain(int argc, _TCHAR* argv[])
34
35
36
37
38
39
40 |
41
42
43
44
45
46
47
48
49 50|
51
52 I
641 65
E) C:\Users\rewertyn\documents\visual studio 2010\Projects\WYZNACZNIK32\Release\WYZNACZNIKI2.
1.21 3.^8 7.75
1.72 3.8625 8.056 5.29 6.5<» 10.198
U.98 13.8075 16.012
0021F818 0021F820 0021F828
0021F830 0021F838 0021F8WJ
0021 F8^»8 0021F850 0021F858
0021F860 0021F868 0021F870
0021F818
0021F830
0021F848
0021F860
exe
0021F818
0021F878
{
double tablica[4][3]={0}j //nasz wskaźnik
for(int i=0;i<4;i++){for(int j=0;j<3;j++){tablica[i][j]=i*i*i*l.53/(j+3.0f)+j*j+1.27*j+1.21;}}
kol("przed: tablica [i] [j] ",4),kol("| ",2),kol(" &tablica[i][j]",4),kol(” |",2),kol (" &tablica[i]”,4),kol(”
for(int i=0;i<4;i++){for(int j=0;j<3;j++){cout.width(5),kol2(tablica[i][j],3)«" ";}kol(" ,",2)<<endl;}
cout<<endlj
for(int i=0;i<4;i++){for(int j=0;j<3;j++){cout.width(5)>gotoxy(25+j*10,2+i),kol(&tablica[i][j],8)<<" ";}kol(" , ",2)<<endl;} cout<<endlj
for(int i=0;i<4;i++){for(int j=0;j<l;j++){cout.width(5),gotoxy(57+j*10,2+i),kol(&tablica[i],15)<<" }kol(" ,",2)<<endl;} cout<<endl;
for(int i=0;i<2;i++){for(int j=0;j<l;j++){cout.width(5),gotoxy(72+j*10,2+i),kol(&tablica+i,7)<<" }cout<<endl;} gotoxy(l,7);
//double tablica[4][3]={0}j //wskaźnik typu tablica
funk2(&tablica[0]); //przekazanie adresdu tablica[4][3] do wskaźnika : void funk2(double wskaznik[l][3]);
kol("po: tablica[i][j] ",4),kol("| ",2),kol(" &tablica[i][j]",4),kol(" |”,2),kol(” &tablica[i]",4),kol("
for(int i=0;i<4;i++){for(int j=0;j<3;j++){cout.width(5),kol2(tablica[i][j],3)«" ";}kol(" ,",2)<<endl;}
cout<<endl;
for(int i=0;i<4;i++){for(int j=0;j<3;j++){cout.width(5),gotoxy(25+j*10,ll+i),kol(&tablica[i][j]>8)<<" ";}kol(" , ",2)<<endl;} cout<<endl;
for(int i=0;i<4;i++){for(int j=0;j<l;j++){cout.width(5),gotoxy(57+j*10,ll+i),kol(&tablica[i],15)<<" }kol(" ,",2)<<endl;} cout<<endlj
for(int i=0;i<2;i++){for(int j=0;j<l;j++){cout.width(5),gotoxy(72+j*10,ll+i),kol(&tablica+i,7)<<" ”j}cout<<endl;} gotoxy(l,16);
____A.__/ '» - .
-12.216 -12.216 -12.216 0021F818 -12.216 -12.216 -12.216 0021F830 -12.216 -12.216 -12.216 0021F8<»8 -12.216 -12.216 -12.216 0021F860
0021F820 0021F828
0021F838 0 0 21F 8 40
0021F850 0021F858
0021F868 0021F870
0021F818
0021F830
0021F848
0021F860
0021F818
0021F878
Aby kontynuować, naciśnij dowolny klawisz