I'm sorry, but this sort of question is way beyond the scope of what this
mailing list is about. We're willing to help people trying to use the M5
simulator or with specific questions about how M5 works, but not with
general programming questions. There are plenty of resources available to
help you figure out your problem.
Nathan
> i am not able to open text file in simulator.
> the code i have written in simulator is
>
> ifstream infile("file.txt",ios::in)
> if(!infile)
> {
> printf("\nerror");
> exit(1);
> }
> else
> printf("\n fileopened");
>
> but it alsways printing "error" only
> could any one tell me whether this is correct or not
> Thank you.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users