We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 16: Exceptions - String to Integer
Day 16: Exceptions - String to Integer
Sort by
recency
|
978 Discussions
|
Please Login in order to post a comment
Why does this not work?
But this works?
`
Doesn't work with python.... Error reading result file.You should use exception handling concepts.
hey, as there are a few pwople in java so i thought i should post my solution with explaination: public class Solution { public static void main(String[] args) throws IOException { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
}
include
using namespace std;
int main() { string S; getline(cin, S);
}
PHP the best way to do it with Exceptions: