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...
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...
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...
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...
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.