Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 05-05-08   #1 (permalink)
Overclocker
 
thealmightyone's Avatar
 
intel ati

Join Date: Jul 2006
Location: York, UK
Posts: 2,408

Rep: 175 thealmightyone is acknowledged by manythealmightyone is acknowledged by many
Unique Rep: 148
Trader Rating: 0
Default Any ADA users?

I have to write a program that reports back stats about a text file (no. of letters, most common word etc), but I'm having trouble working out how to actually open a txt file to begin with.

We've been given a template to work with, and the part that is meant to open files is:

Ada.Text_IO.Open(File, Ada.Text_IO.In_File, Ada.Command_Line.Argument(1));

where File : Ada.Text_IO.File_Type;

I have pretty much everything else done, but I get a length check failed error if I run Counter_Driver <a text file> in terminal.
__________________
System: Wolfdale
CPU
E8200
Motherboard
Gigabyte GA-P35-DS3L
Memory
2GB Corsair TwinX
Graphics Card
2900 Pro flashed to XT
Hard Drive
2x Seagate 250
Sound Card
Creative Audigy 4
Power Supply
620W Enermax Liberty
Case
Jeantech Nitro Black
CPU cooling
TR Ultra Extreme
GPU cooling
HR-03
OS
XP
Monitor
19" BenQ LCD

Last edited by thealmightyone : 05-05-08 at 09:45 AM.
thealmightyone is offline   Reply With Quote
Old 05-05-08   #2 (permalink)
Overclocker
 
thealmightyone's Avatar
 
intel ati

Join Date: Jul 2006
Location: York, UK
Posts: 2,408

Rep: 175 thealmightyone is acknowledged by manythealmightyone is acknowledged by many
Unique Rep: 148
Trader Rating: 0
Default

As usual, I solved my own problem. I overlooked a very minor detail, something I should have not overlooked.
__________________
System: Wolfdale
CPU
E8200
Motherboard
Gigabyte GA-P35-DS3L
Memory
2GB Corsair TwinX
Graphics Card
2900 Pro flashed to XT
Hard Drive
2x Seagate 250
Sound Card
Creative Audigy 4
Power Supply
620W Enermax Liberty
Case
Jeantech Nitro Black
CPU cooling
TR Ultra Extreme
GPU cooling
HR-03
OS
XP
Monitor
19" BenQ LCD
thealmightyone is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 07:55 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.19307 seconds with 8 queries