Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 280 results for
readfromfile
- Page 1
Program doens't run properly. What's wrong?
Programming
Software Development
12 Years Ago
by Chario0z
…} catch(IOException e) { // methods } } public void
readFromFile
(String filename) { DataInputStream dis = null; try { dis =… register.writeToFile(filname); } public void
readFromFile
( String filename ) { register.
readFromFile
(filname); }[/CODE] My error is:…
text file - stream object issues
Programming
Software Development
15 Years Ago
by QuantNeeds
…// set file-position pointer to beginning of
readFromFile
readFromFile
.seekg( 0 ); // read first record from…outputLine( outPrintFile, tool ); // read next record from record file
readFromFile
.read( reinterpret_cast < char * >( &tool), sizeof…
Re: text file - stream object issues
Programming
Software Development
15 Years Ago
by QuantNeeds
…// set file-position pointer to beginning of
readFromFile
readFromFile
.seekg( 0 ); // read first record from…outputLine( outPrintFile, tool ); // read next record from record file
readFromFile
.read( reinterpret_cast < char * >( &tool), sizeof…
File Processing C++
Programming
Software Development
18 Years Ago
by fsloke
…;<endl; //set file-position pointer to beginning of
readFromFile
readFromFile
.seekg(0); //read first record from record file CourseData …empty records outputLine(outPrintFile,course); //read next record fromrecord file
readFromFile
.read(reinterpret_cast<char *>(&course), sizeof(CourseData)); …
15 error(s), 0 warning(s)
Programming
Software Development
17 Years Ago
by gothicpurple
…; << endl; // set file-position pointer to beginning of
readFromFile
readFromFile
.seekg( 0 ); // read first record from record file ClientData client… records outputLine( outPrintFile, client ); // read next record from record file
readFromFile
.read( reinterpret_cast< char * >( &client ), sizeof( ClientData ) ); } // end…
printing text file string contents (array) - padded characters
Programming
Software Development
15 Years Ago
by QuantNeeds
…// set file-position pointer to beginning of
readFromFile
readFromFile
.seekg( 0 ); // read first record from…outputLine( outPrintFile, tool ); // read next record from record file
readFromFile
.read( reinterpret_cast < char * >( &tool),…
Re: printing text file string contents (array) - padded characters
Programming
Software Development
15 Years Ago
by QuantNeeds
… // set file-position pointer to beginning of
readFromFile
readFromFile
.seekg( 0 ); // read first record from…outputLine( outPrintFile, tool ); // read next record from record file
readFromFile
.read( reinterpret_cast < char * >( &tool), …
writing to a file
Programming
Software Development
15 Years Ago
by QuantNeeds
…// set file-position pointer to beginning of
readFromFile
readFromFile
.seekg( 0 ); // read first record from…outputLine( outPrintFile, tool ); // read next record from record file
readFromFile
.read( reinterpret_cast < char * >( &tool), sizeof…
Re: writing to a file
Programming
Software Development
15 Years Ago
by QuantNeeds
…set file-position pointer to beginning of
readFromFile
readFromFile
.seekg( 0 ); // read first … outputLine( outPrintFile, tool ); // read next record from record file
readFromFile
.read( reinterpret_cast < char * >( &tool), sizeof…
reading from a txt file
Programming
Software Development
14 Years Ago
by polska03
…int num_ships; public SpacePort(){
readFromFile
(); } public void
readFromFile
(){ try { String s =…throw new Exception("Dealer.
readFromFile
:missing numships"); } int…
hardware store problem
Programming
Software Development
12 Years Ago
by coxxie
… double cost; } toolData; void textFile(fstream &
readFromFile
); int enterChoice(); void updateRecord(fstream &updateFile); void… != 0) { outputLine(outPrintFile, tool); outputLine(cout, tool); }
readFromFile
.read((char *)&tool, sizeof(toolData)); } } void updateRecord(fstream …
Re: Program doens't run properly. What's wrong?
Programming
Software Development
12 Years Ago
by Chario0z
… that line i posted in the first post. also gui.
readFromFile
("data.dat"); on line 215 i have…
readFromFile
method which you can find in the box with 9 … the way i want it to, something wrong with the
readFromFile
and readObjectFromFile methods i guess.
Phonebook program!
Programming
Software Development
17 Years Ago
by mozala
… text file for printing void textFile( fstream &
readFromFile
) { ofstream outPrintFile( "c:\\print.txt&… person.getMobilNumber() != 0 ) // skip empty records outputLine( outPrintFile, person);
readFromFile
.read( reinterpret_cast<char *>( &person ), sizeof(phonebook ) );…
Re: Phonebook program!
Programming
Software Development
17 Years Ago
by mozala
… text file for printing void textFile( fstream &
readFromFile
) { ofstream outPrintFile( "c:\\print.txt&… person.getMobilNumber() != 0 ) // skip empty records outputLine( outPrintFile, person);
readFromFile
.read( reinterpret_cast<char *>( &person ), sizeof(phonebook ) );…
Re: Too Few Arguments
Programming
Software Development
13 Years Ago
by zhinokin
….open(fName,ios::in|ios::binary); while(!database.eof()) { tmp.
readFromFile
(database); if(tmp == d) { // overloaded == database.close();…char*,int,long); void writeToFile(fstream&)const; void
readFromFile
(fstream&); void readKey(); int size() const {…
Unable to write to file
Programming
Software Development
12 Years Ago
by dodgers
… // Lager en formatert tekstfil for printing void createTextFile(fstream &
readFromFile
) { ofstream outPrintFile( "userdata.txt", ios::out); if…lt;< "Email" << endl;
readFromFile
.seekg(0); userdata user;
readFromFile
.read( reinterpret_cast< char * >(&user), …
plz help student info system with file handling
Programming
Software Development
12 Years Ago
by ishaan3731
…void DelRecord(); void CreateFile(); void ViewRecord(); private: void
ReadFromFile
(Data[]); //precondition:array has been filled by the value…found; int confirm; int location; int target; char ans;
ReadFromFile
(record); do { clrscr(); found=SearchEmptyRecord(record,11,location); //…
File writing Error
Programming
Software Development
18 Years Ago
by harshchandra
….h> void writetofile(struct node *); void
readfromfile
(FILE *,struct node **); void append(struct node…c:\\cheque\\data.txt","r");
readfromfile
(fp,&p); do { menu: clrscr();…q->link; } last: fclose(fp); } void
readfromfile
(FILE *fp,struct node **q) { while(!feof(fp…
Help on selection sort for strings?
Programming
Software Development
15 Years Ago
by fmylife
…CompareStrings(char s1[10], char s2[10]); int
readFromFile
(char text[NUM][LEN]); void selectionSort(char text… main() { char input[NUM][LEN]; int i; if(
readFromFile
(input) == -1) { printf("Error reading from file…..n"); return -1; }
readFromFile
(input); printf("UNSORTED ARRAY: ..n"); for(i …
Making a File Compressor. Need Help
Programming
Software Development
14 Years Ago
by leftovas17
… handle3 ;moves the buffer_Size into ecx call
ReadFromFile
;calls
ReadFromFile
mov bytesRead, eax ;move eax into bytesRead…;moves the buffer size into ecx First: call
ReadFromFile
cmp eax, 0 je Quit2 cmp eax, "…eax ;moves the data into bytesread New: call
ReadFromFile
;reads data from file cmp eax, 0 ;…
Re: Making a File Compressor. Need Help
Programming
Software Development
14 Years Ago
by leftovas17
… handle3 ;moves the buffer_Size into ecx call
ReadFromFile
;calls
ReadFromFile
mov bytesRead, eax ;move eax into bytesRead…;moves the buffer size into ecx First: call
ReadFromFile
cmp eax, 0 je Quit2 cmp eax, "…eax ;moves the data into bytesread New: call
ReadFromFile
;reads data from file cmp eax, 0 ;…
Re: Making a File Compressor. Need Help
Programming
Software Development
14 Years Ago
by leftovas17
… handle3 ;moves the buffer_Size into ecx call
ReadFromFile
;calls
ReadFromFile
mov bytesRead, eax ;move eax into bytesRead… BUFFER_SIZE ;moves the buffer size into ecx call
ReadFromFile
cmp eax, 0 je Quit2 cmp buffer, &…BUFFER_SIZE ;moves the buffer size into ecx call
ReadFromFile
;reads data from file cmp eax, 0…
ifstream identifier error
Programming
Software Development
12 Years Ago
by bobanderson93
…[SIZE]; float unitcost[SIZE]; char description[SIZE][MAXNAME]; public: void
ReadFromFile
(ifstream); void SortByDescription(); void Output(); }; #endif[/CODE] this is … #include "Inventory.h" using namespace std; void Inventory::
ReadFromFile
(ifstream &fin) <-----------Read from file causing error { for…
Help with "exception in thread "main" java.lang.NullPointerException"
Programming
Software Development
10 Years Ago
by codys21
…(GradeBook.java:25) at defaultpackage.GradeBookDemo.
readFromFile
(GradeBookDemo.java:52) at defaultpackage.GradeBookDemo…" + gb.getLetterGrade(i)); } } /** *
readFromFile
method */ public static void
readFromFile
(GradeBook gb) throws IOException { int i = 0;…
I want to convert the following java program into c++
Programming
Software Development
6 Years Ago
by Sajjad_4
…split(","); return array; } public static void
readFromFile
() { int counter = 1; try { for …(","); return array; } public static void
readFromFile
() { int counter = 1; try { for …
Array data not setting
Programming
Software Development
18 Years Ago
by Kus
…; } int main(int argc, char *argv[]){ if (argc == 2){ if (
ReadFromFile
(argv[1]) == 0){ cout << "Unable to open… read" << endl; cin >> sFiletoRead; if (
ReadFromFile
(sFiletoRead.c_str()) == 0){ cout << "Unable to open…
Dont know where to go next.
Programming
Software Development
17 Years Ago
by ScottishWarrior
… ("I/O exception reading 'students.txt'"); return; } } //
readFromFile
method // The main program. Read a list of students into… order. static public void main (String args []) { linkList = new LinkList ();
readFromFile
(); } // main method } /* LinkListTest class */ [/code] [code]. public class Customer …
Structure of arrays
Programming
Software Development
16 Years Ago
by aus_fas1
…h> #include <fstream> using namespace std; void
ReadFromFile
(const char *filename, int ArraySize); int main() { static const char… = "data.dat"; int ArraySize=3072;
ReadFromFile
(filename, ArraySize); return 0; } void
ReadFromFile
(const char *filename, int ArraySize) { int i;…
No match for operator...
Programming
Software Development
14 Years Ago
by DawnOfIkaros
Could someone help me with this? [CODE] ifstream
readfromfile
("stats.txt");
readfromfile
>> lvl >> xp >> str…::basic_istream<char, std::char_traits<char> >*)(&
readfromfile
))->std::basic_istream<_CharT, _Traits>::operator>>…
How to avoid to repeated code in java
Programming
Software Development
14 Years Ago
by kgkamaraj
… //Second document docsum=2; fex.
readFromFile
("f:/project/document/training/2.… //Third document docsum=3; fex.
readFromFile
("f:/project/document/training/3.…
1
2
3
5
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC