Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hedvule

    EOF problems

    Thank you very much!! It was exactelly what I needed.
  2. hedvule

    EOF problems

    Hi, I have a text file that looks like this: 0 169 26 1 172 27 2 172 27 0 134 15 1 134 15 2 134 15 0 219 18 And I'm reading it with very simple loop HitsIn.open(HitsFile); while (!HitsIn.eof()) { HitsIn >> DetectorNo >> Row >> Column; // do something with these data } The problem is that...
  3. hedvule

    Passing reference to class as a function parameter

    Hi, the class1.h file is included. My compiler sais everything is fine, the problem is following: when I run the program, the function doesn't run when called, but the program skips it and finish correctly. When I try to run it in debugger, then appears a small window saying just: An access...
  4. hedvule

    Passing reference to class as a function parameter

    Hi, i have following problem: I have a function in which I need to change some variables of class. I tried to pass a reference to this class as a function parameter but I get a violation acces warning and the function doesn't run. Could you please help me? The code looks like this: Class1...
  5. hedvule

    Find a letter in char

    Hi, thanks to you both, unfortunatelly I've explained my problem a little bit unclearly. I'm reading strings from file all of them are mixtures of numbers and letters. I don't know how the particular string looks like - on which position is the letter, and what is it for letter. In any case I...
  6. hedvule

    Find a letter in char

    Hello, I have a following problem: I have a char, which is a mixture of numbers and letters - something like 23H9. How can I obtain from it the letter (in my exemple H). Please help me, thanks, Hedvika.
  7. hedvule

    Deleting parts of text file

    I have a following problem: I have a text file, I have to read each row and if it fullfills some conditions delete this line. The file looks like this: 1234 472 890 278 9009 12.348 etc. I have to check e.g. 1234+472+890 > 7899 ? If yes, delete this line! Is it possible within this...

Part and Inventory Search

Back
Top