Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
i have a file.txt like this : 2X^2 + 5X+3=0 i want to save 2 to variable a, 5 to variable b, and 3 to variable c . . how i can do that . . ? tanks for your help . . |
|
Re:
How do i read a txt file into a char array. what i have so far only give me blank lines String fname = "c:\\game.txt"; char data; int row = 2; int col = 4; char[] matrix = new char[row]; private void openFile() { try { FileReader reader = new … |