LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How to store text(strings) in a 2D character array reading from a text file(C++) (https://www.linuxquestions.org/questions/programming-9/how-to-store-text-strings-in-a-2d-character-array-reading-from-a-text-file-c-620315/)

bewidankit 02-11-2008 10:33 AM

How to store text(strings) in a 2D character array reading from a text file(C++)
 
Hello everyone...
i m making a project in my college software competition.
i have to read text(like an email) from a text file and i have to store all the characters in a 2D array...
can u help me out??
i tried to do it... the program is working... but it shows some of the characters allright... but many weird characters in place of the correct characters...
I wil b grateful if u can help me quickly....

Matir 02-11-2008 11:15 AM

Well, showing us the broken code might help us fix it. :) Make sure you use code tags.

Also, since it is an assignment, don't expect anyone to just give you the answer. You're not learning anything if we just tell you the answer.

Tinkster 02-11-2008 11:45 AM

Moved: This thread is more suitable in <Programming> and has been moved accordingly to help your thread/question get the exposure it deserves.

bewidankit 02-14-2008 07:08 AM

its not an assignment... its a competition... i was able to fix it however... thnx for ur help....


All times are GMT -5. The time now is 07:39 AM.