Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters
Register

Reply
 
LinkBack Thread Tools
Old 19.06.2002, 02:21   #1
killa-hilla
 
Join Date: 03 2002
Location: Yaktown
Posts: 382
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Question Joxovurd es incha???

Joxovurd es incha,erb vor C++ ov grum em cragir
<<sxal>> ,MsgBox-a tali ...Cx050000... Access Violation...u Codi texa talisa sa
Code:
  00401E2E   mov         byte ptr [ecx],dl
00401E30   mov         eax,dword ptr [this]
00401E33   mov         ecx,dword ptr [eax]
00401E35   mov         edx,dword ptr [ecx+4]
00401E38   mov         eax,dword ptr [this]
00401E3B   mov         ecx,dword ptr [eax+edx+4]
00401E3F   call        streambuf::stossc (00404130)
00401E44   jmp         istream::operator>>+78h (00401d98)
00401E49   cmp         dword ptr [i],0
00401E4D   jne         istream::operator>>+152h (00401e72)
00401E4F   mov         ecx,dword ptr [this]
00401E52   mov         edx,dword ptr [ecx]
00401E54   mov         eax,dword ptr [edx+4]
00401E57   mov         ecx,dword ptr [this]
00401E5A   mov         edx,dword ptr [ecx+eax+8]
00401E5E   or          edx,2
00401E61   mov         eax,dword ptr [this]
00401E64   mov         ecx,dword ptr [eax]
00401E66   mov         eax,dword ptr [ecx+4]
00401E69   mov         ecx,dword ptr [this]
00401E6C   mov         dword ptr [ecx+eax+8],edx
00401E70   jmp         istream::operator>>+15Bh (00401e7b)
tak beskanechno
Es incha?????
Reply With Quote
Old 19.06.2002, 03:24   #2
Школьник
 
Join Date: 05 2002
Location: Yerevan
Posts: 202
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Haytararac massiv unes, u cragrit mech inch vor tegh indexnerd paxnum en massivi sahmanneric durs. Ushadir stugi indexnerd.

Lavaguyn maxtanqnerov.
Reply With Quote
Old 19.06.2002, 04:00   #3
The Reloaded
 
Aram Hambardzumyan's Avatar
 
Join Date: 01 2002
Location: behind the flesh and gelatinе of soft dull eyes
Posts: 3,387
Downloads: 4
Uploads: 0
Reputation: 146 | 4
Post

Quote:
Originally posted by Yaki:
Joxovurd es incha,erb vor C++ ov grum em cragir
<<sxal>> ,MsgBox-a tali ...Cx050000... Access Violation...u Codi texa talisa sa
Code:
  00401E2E   mov         byte ptr [ecx],dl
00401E30   mov         eax,dword ptr [this]
00401E33   mov         ecx,dword ptr [eax]
00401E35   mov         edx,dword ptr [ecx+4]
00401E38   mov         eax,dword ptr [this]
00401E3B   mov         ecx,dword ptr [eax+edx+4]
00401E3F   call        streambuf::stossc (00404130)
00401E44   jmp         istream::operator>>+78h (00401d98)
00401E49   cmp         dword ptr [i],0
00401E4D   jne         istream::operator>>+152h (00401e72)
00401E4F   mov         ecx,dword ptr [this]
00401E52   mov         edx,dword ptr [ecx]
00401E54   mov         eax,dword ptr [edx+4]
00401E57   mov         ecx,dword ptr [this]
00401E5A   mov         edx,dword ptr [ecx+eax+8]
00401E5E   or          edx,2
00401E61   mov         eax,dword ptr [this]
00401E64   mov         ecx,dword ptr [eax]
00401E66   mov         eax,dword ptr [ecx+4]
00401E69   mov         ecx,dword ptr [this]
00401E6C   mov         dword ptr [ecx+eax+8],edx
00401E70   jmp         istream::operator>>+15Bh (00401e7b)
tak beskanechno
Es incha?????
а на какой из этих строк останавливается с ошибкой?
а если серьезно, то лучше перейти в исходный текст и посмотреть там, чем в ассемблере. судя по отрывку, отладочная информация присутствует, значит не все еще потеряно если это msvc, то закрой ассемблерно окно и нажми alt+'grey*' (т. е. * рядом с num lock)
Reply With Quote
Old 19.06.2002, 05:49   #4
killa-hilla
 
Join Date: 03 2002
Location: Yaktown
Posts: 382
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Nayek orinak erba senc linum!!!
Code:
#include <iostream.h>
main(){
int a;
cin >> &quot;valod >> a;
cout << a << endl;
return 0;
}
Reply With Quote
Old 19.06.2002, 08:48   #5
Консервативн
 
VX's Avatar
 
Join Date: 01 2002
Location: Кавказская Албания
Posts: 889
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Code:
 
#include <iostream.h>
main(){
int i;
cout <<&quot;[b]VALOD[\b]&quot;; //xoti zachem tebe tegi?!
cin>>i //zdes' 1,2,3...no ne 3.4, ili &quot;Yaki&quot;

cout <<i<<endl;

}
Reply With Quote
Old 19.06.2002, 16:14   #6
The Reloaded
 
Aram Hambardzumyan's Avatar
 
Join Date: 01 2002
Location: behind the flesh and gelatinе of soft dull eyes
Posts: 3,387
Downloads: 4
Uploads: 0
Reputation: 146 | 4
Post

Quote:
Originally posted by Yaki:
Nayek orinak erba senc linum!!!
Code:
#include <iostream.h>
main(){
int a;
cin >> &quot;valod >> a;
cout << a << endl;
return 0;
}
ну так это вообще не будет компилиться...
Reply With Quote
Old 19.06.2002, 23:20   #7
D € S I G N € ®
 
gorvard's Avatar
 
Join Date: 05 2002
Location: Yerevan
Age: 34
Posts: 422
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Cool

Yaki jan et meqenajakan kodna ajsinqn
Assembler cragir@ - da ugtagorcum en C++ um, bajc da arandzin cragr. lezu a ev shat dzvar..
ete uzum es sovores Assembler xorhurd em talis gni Zubkov girq@
Reply With Quote
Old 20.06.2002, 04:25   #8
Младенец
 
Join Date: 04 2002
Location: Yerevan
Posts: 59
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Bratan , nu i cod u tebya , ty lutchshe skaji chto programka doljna delat' , potom razberyomsu.

A to chto ty vidish eto Assembler , toist mashinny cod togo chto ty napisal.
Reply With Quote
Old 20.06.2002, 17:06   #9
Магистр
 
Join Date: 02 2002
Location: Am
Posts: 952
Downloads: 0
Uploads: 0
Reputation: 26 | 4
Post

Ludshe debogov gna
henc etex sxal ta..
het ari komandanerov u nai qo mot vor komandaic hetoya sxal tali..
et kode sdex qci naenq asenq..
Reply With Quote
Old 21.06.2002, 00:08   #10
Moderator
 
Mono's Avatar
 
Join Date: 10 2001
Location: Yerevan
Posts: 5,466
Downloads: 1
Uploads: 0
Blog Entries: 1
Reputation: 110 | 5
Thumbs up

VX

a dumayu on xochet programu napisat kotori budet xakat etot forum
Reply With Quote
Old 21.06.2002, 04:10   #11
killa-hilla
 
Join Date: 03 2002
Location: Yaktown
Posts: 382
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Thumbs up

to MOno>>
es uzum eir Humor aneir? ???
Joxovurd teger@ es drel ei vor stex Bold ov gri aysinkn et a sxal@ ,te che es xom tebil chem
C++ - i mej Bold Teg Dnei ,,,merci,bolorin!!!
TanX
Reply With Quote
Old 21.06.2002, 06:09   #12
The Reloaded
 
Aram Hambardzumyan's Avatar
 
Join Date: 01 2002
Location: behind the flesh and gelatinе of soft dull eyes
Posts: 3,387
Downloads: 4
Uploads: 0
Reputation: 146 | 4
Post

Quote:
Originally posted by Yaki:
to MOno>>
es uzum eir Humor aneir? ???
Joxovurd teger@ es drel ei vor stex Bold ov gri aysinkn et a sxal@ ,te che es xom tebil chem
C++ - i mej Bold Teg Dnei ,,,merci,bolorin!!!
TanX
ну а одинарная кавычка перед valod-ом? непонятно, то ли это имя переменной, то ли строковый литерал...
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 15:49.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.