Reading Text Files
-
Hi All, I'm a newbie. I am trying to find out how to store string data read from a file into a table or another string. I keep getting the error, cannot implicitly assign a string to string?! Help!:((
-
Hi All, I'm a newbie. I am trying to find out how to store string data read from a file into a table or another string. I keep getting the error, cannot implicitly assign a string to string?! Help!:((
boomer1946 wrote: I keep getting the error, cannot implicitly assign a string to string?! Perhaps if you posted your code, we could see what's going on ? There's no reason why you can't build a string from the value of another string. What do you mean by table ? How do you want the string to move into it ? Christian Graus - Microsoft MVP - C++
-
Hi All, I'm a newbie. I am trying to find out how to store string data read from a file into a table or another string. I keep getting the error, cannot implicitly assign a string to string?! Help!:((
-
boomer1946 wrote: I keep getting the error, cannot implicitly assign a string to string?! Perhaps if you posted your code, we could see what's going on ? There's no reason why you can't build a string from the value of another string. What do you mean by table ? How do you want the string to move into it ? Christian Graus - Microsoft MVP - C++
Hi Christain, I solved the problem. It was my error using improper syntax. Thanks for your reply. Isaac:)
-
Sounds as if you have a simple problem, but cannot be sure as you haven't posyed your code. Try using the ToString() method, contained within most classes in the .NET Framework
Yes, it was a simple problem solved by using the proper syntax. I guess you would call it a newbie error. I keep building on acquired knowledge. I'm getting there. Thanks for your prompt:) reply. Isaac