Dyskusje Q&A
How can I read from a file this line
19 34 Gateway Arch - St. Louis, MO.
The first digit is age, second timeUsed, and the rest description. So I want to read them and store them in a variable.
The code insime my while loop of my File is int age = reader.nextInt();
Int Tused = reader.nextInt();
Description = reader.next()
0 głosów
4 odpowiedziThe code shown below in the description runs here when I try it, but when I wrote it on code blocks it gave me 5 errors..
1. expected imitializer before '<' token. (line 19).
2. reference to 'pair' is ambiguous. (line 26).
3. expected primary-expression before double. (line 26).
4. expected ';' before 'double'. (line 26).
5. 'obj' was not declared in this scope. (line 27).
Any help please?
0 głosów
5 odpowiedziPopularne dzisiaj
Guys help please
1 Votes
Python question
2 Votes
Are websites hackable?
1 Votes
Python
1 Votes
TICTACTOE
0 Votes
C# and sql
1 Votes
Error
0 Votes
What course to take for AI?
0 Votes
Learn python
0 Votes