www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



c++ - unexpected characters

↑ ↓ ← Paul <wcount12 aol.com> writes:
Hello, I am writing a program to read in a csv text file.

The program works fine for over 1411 iterations then crashes.
Looking in the debugger, there appears to be additional characters
in the front of the expected input, I have no ideal where there
coming from, as they do not appear in the input file. (The file
starts with the date, see input example file attached)

Please find attached my program, and the relevent section of the
input file.  The following post, will include screens shots of
what im seeing in my debugger.

Kind regards

Paul
Apr 09 2007
↑ ↓ Derek Parnell <derek nomail.afraid.org> writes:
On Mon, 9 Apr 2007 12:10:09 +0000 (UTC), Paul wrote:

 Hello, I am writing a program to read in a csv text file.

Hi Paul, Sorry to butt in here, but I'm keen to promote the D programming language, as it is makes it easier to write safer programs. I've made a quick attempt to recode your program in D. Please have a look if you like ... http://www.users.bigpond.com/ddparnell/procon.d However, please ignore this post if you feel it is inappropriate. -- Derek (skype: derek.j.parnell) Melbourne, Australia "Justice for David Hicks!" 10/04/2007 5:37:30 PM
Apr 10 2007
↑ ↓ → Paul <wcount12 aol.com> writes:
Hi Derek, thanks for your input.  However ive never looked
at the D language, and at present its been a while since
ive programmed in 'C'.  As you can see im having a few
difficulites with it.

Ill keep to 'C' for the moment ;)

Thanks for your input.

Paul
Apr 10 2007