Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 12 results for
readingfile
- Page 1
need someone to guide me in the right direction
Programming
Software Development
16 Years Ago
by newport
…} int main() { int main() { char file[LEN][MAX_NAME]; EnterFile(file);
ReadingFile
(file); CompareStrings(name); BubbleSort(name); OutputFile(name); return 0; } [/CODE]
Re: need help with classes
Programming
Software Development
14 Years Ago
by mrnutty
…); } }; bool FileReader::readFileData() { //open file for reading ifstream
readingFile
(fileName.c_str()); if(!
readingFile
) { //check if file exist return false; } char ch =… 0; fileRead = true; while(
readingFile
.get(ch)) fileContent += ch; return true; } bool FileReader::printFileData() { …
Re: Help me....
Programming
Software Development
13 Years Ago
by Mitja Bonca
…YourMain(); } private void YourMain() { string[] lines =
ReadingFile
(); List<List<int>> list = SeperatingNumbers…); ShowingArray("vertical", newArray); } private string[]
ReadingFile
() { string path = @"C:\1\test6.txt&…
Re: Import text file to sql server using vb.net. HELP!
Programming
Software Development
12 Years Ago
by Mitja Bonca
… New SqlCommand(query, conn) For Each line As String In
ReadingFile
(fileName) Dim data As String() = line.Split(New Char() {"… Try Next End Using End Using End Sub Private Function
ReadingFile
(path As String) As IEnumerable(Of String) Using sr As…
Re: formal concept analysis
Programming
Software Development
11 Years Ago
by Mitja Bonca
…;(); int counter = 1; foreach(string item in
ReadingFile
(filePath) { string[] data = item.Split(' …item); counter++; } } private IEnumeravble<string>
ReadingFile
(string filePath) { using(StreamReader st = new StreamReader(…
Re: stream encoding setting
Programming
Software Development
13 Years Ago
by Mitja Bonca
… code a bit, and now it works: [CODE] private void
ReadingFile
() { using (StreamReader sr = new StreamReader(@"C:\1\map.txt…
Re: Read rows/columns of numbers in a text file
Programming
Software Development
13 Years Ago
by Mitja Bonca
… (which I prefer most in this case): [CODE] private void
ReadingFile
() { List<string> list = new List<string>…
Re: need someone to guide me in the right direction
Programming
Software Development
16 Years Ago
by ithelp
You forgot to mention the problem that you are facing with your project assignment, without that it is not possible to help .
Re: need someone to guide me in the right direction
Programming
Software Development
16 Years Ago
by newport
[QUOTE=ithelp;557790]You forgot to mention the problem that you are facing with your project assignment, without that it is not possible to help .[/QUOTE] I'm not sure how to combine the use of bubble sorting and c I/O functions. After opening the file, I don't know how to read the contents.
Re: need someone to guide me in the right direction
Programming
Software Development
16 Years Ago
by WaltP
[QUOTE=newport;558121]I'm not sure how to combine the use of bubble sorting and c I/O functions. After opening the file, I don't know how to read the contents.[/QUOTE] Do you have a book? If so, there's a chapter on I/O (input and output). Might want to read that. if you don't have a book, you need to get one.
Re: need someone to guide me in the right direction
Programming
Software Development
16 Years Ago
by jephthah
god forbid someone ask a legitimate question here without getting told to RTFM. i see now how Walt has so many 'solved' threads. one problem is youre putting your filenames in quotes. otherwise, its pretty simple, just use "fopen" and "fgets" in a this manner. [code=c] printf("enter filename: "); …
Re: need someone to guide me in the right direction
Programming
Software Development
16 Years Ago
by jephthah
I just thought i'd point out this nugget of wisdom [QUOTE=newport;558121]I'm not sure how to combine the use of bubble sorting and c I/O functions. After opening the file, I don't know how to read the contents.[/QUOTE] [QUOTE=WaltP;558322]Do you have a book? if you don't have a book, you need to get one.[/QUOTE]
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