15,908,111 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Yuxi Long (Top 8 by date)
Yuxi Long
19-Jun-18 21:26pm
View
Thanks to Mohibur Rashid, the problem has been solved. Thank you for your effort as well!
Yuxi Long
19-Jun-18 21:25pm
View
I've run these lines and it printed out the first line of the file, no error message! I've added "throws IOException" to all the methods involved. Thank you, sir!
Yuxi Long
19-Jun-18 20:53pm
View
Here's what I got:
C:\Users\longyuxi>dir C:\Users\longyuxi\Documents\ICPResult.txt
Volume in drive C is OS
Volume Serial Number is 9E72-6765
Directory of C:\Users\longyuxi\Documents
06/17/2018 05:00 PM 61,372 ICPResult.txt
1 File(s) 61,372 bytes
0 Dir(s) 8,098,463,744 bytes free
Yuxi Long
19-Jun-18 19:40pm
View
I've updated my question. I've also copied the file into different locations, as well as temporarily disabling my antivirus software, just to be sure that no other program is blocking the file.
Yuxi Long
19-Jun-18 10:26am
View
Hi,
Thank you so much for your response. I'm using an IDE and I've pulled out what I believe are the error messages:
Error:(30, 33) java: unreported exception java.io.FileNotFoundException; must be caught or declared to be thrown
Error:(31, 22) java: unreported exception java.io.IOException; must be caught or declared to be thrown
Error:(32, 23) java: unreported exception java.io.IOException; must be caught or declared to be thrown
Yuxi Long
23-Jan-18 22:25pm
View
Thank you!
Yuxi Long
23-Jan-18 20:51pm
View
Hi,
Thanks for helping. My full program is attached below. Thank you!
Yuxi Long
23-Jan-18 20:51pm
View
Hi,
Thanks for helping. My full program is attached below. Thank you!
Show More