Access Violation

Robert Jones robertjones21 at HotPOP.com
Thu May 11 10:35:05 PDT 2006


Why am i getting an access violation:

C:\Documents and Settings\jareth\Desktop>dmd -v -w ly2au.d
parse     ly2au
semantic  ly2au
semantic2 ly2au
semantic3 ly2au
code      ly2au
generating code for function 'main'
c:\dmd\bin\..\..\dm\bin\link.exe ly2au,,,user32+kernel32/noi;

C:\Documents and Settings\jareth\Desktop>ly2au
Enter number of light years: 5
Error: Access Violation

Attached is the source code.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ly2au.d
Url: http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20060511/38c71d51/attachment.diff 


More information about the Digitalmars-d-learn mailing list