There are three kinds of actuaries: those who can count, and those who can't.
TestCode28.java:243: error: illegal escape character
java.io.FileNotFoundException: D:\M_SOUTH ECON (The system cannot find the file specified)
Do I need to put extensions at the ends of the file names like "D:\M_SOUTH ECON.asc" and "D:\M_SOUTH ECON.txt"?
Often the most important part of the news is what they didn't tell.
Is it? You can use const to fix the value of a pointer in C, and you can then use const again to fix the contents of the pointer. That is particularly useful to reassure the caller of a function that their values passed as arguments will not be changed. The keyword const does exist in Java®, but is never used and the JLS (=Java® Language Specification) has its own ideas why const (and goto) are still thereTim Holloway wrote:. . . "final" is basically the same as "const" in languages such as C. . . .
. . . are really good ideas which I think, agreeing with Tim H, you should implement.None of the above are mandatory, but they . . .
Often the most important part of the news is what they didn't tell.
Tim Holloway wrote:Helpful hint:
Done.
Piet Souris wrote:
If you want to use a '\', proceed it with another '\', so use: "D:\\M..".
Done. I got the single backslash from right-clicking on the M_SOUTH ECON file and selecting properties.
Why is only one backslash shown there?
Norm Radder wrote:
How did you get that source to compile?
java.io.FileNotFoundException: D:\M_SOUTH ECON (The system cannot find the file specified) Does that file exist?
Another problem I see is the output file having the same name and location as input file. When FileWriter executes it will create a new empty file over the old file.
Ron McLeod wrote:What error messages are you seeing?
Ron McLeod wrote:
Isn't this (below) the type of report that comes from the instrument?
Milo Hockinger wrote:
Build path specifies execution environment JavaSE-22. There are no JREs installed in the workspace that are strictly compatible with this environment.
Often the most important part of the news is what they didn't tell.
There are three kinds of actuaries: those who can count, and those who can't.
Piet Souris wrote:Do you mean by 'proceeding' 'following'? Here is a third version, after Careys and Rons code:
Let's get him boys! We'll make him read this tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|