Hey, I am currently trying to read a text file, which looks something like this:
1
2
3
4
.
.
a
b
c
.
.
.
I would like to read the integers and characters into the same array. I tried using a char, string.. hoping that it would be recognized as a string or something but I continuously get the compiling error "cannot implicity convert 'int' to 'string'. Does anyone know what im talking about and if so how could i get around this problem.
Thanks in advance.
Barbarrosa
0
Light Poster
Recommended Answers
Jump to PostIt would be easier i guess to help if u could give us a clue as to what error message u r getting.
As far as the code u have posted...
Well it looks pretty OK with me...
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.