codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  File I/O semi-advanced question  Barbalute at 00:01 on Tuesday, September 20, 2005
 

If I were using
#include <fstream>
How would I find a variable number of characters in to the text document and a variable number of lines down, then get that number as a seperate variable. For example...

Here is my text document:


// row number

111200101 // line number
103010211
100020110
104101210
100131110
100110401

So if I wanted to get the number on row 3 and line 2 it would get the number 3. Now I want that to be a variable. I hope this isn't too confusingly worded and I hope that someone has an answer.
Thanks in advance,
Barbalute.









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Why Use Method?
•  Re: Help with filesystem object & displaying in a table
•  Re: Genetic Algorithm Help
•  Re: How to make an investment calculator
•  Re: line breaks in GUI
•  Re: Graph in Gui...
•  Graph in Gui...
•  Re: Counting zero values in a string
•  Re: Help!


Recent Articles
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net
Creating CSS Buttons


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005