online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Online Java Compiler from onlinegdb Code, Compile, Run and Debug java program online. Write your code in this editor and press "Run" button to execute it. <-------- https://thefellowprogrammer.blogspot.com --------> *******************************************************************************/ /*package whatever //do not write package name here */ // Don't change class name import java.io.*; class Main { public static void main (String[] args) { // <--- https://thefellowprogrammer.blogspot.com ---> String str = "44"; String str1 = "-44"; int num = Integer.parseInt(str); int num1 = Integer.valueOf(str1); System.out.println("Number converted using parseInt : "+num); System.out.println("Number converted using valueOf : "+num1); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue