Joined: 01 May 2007 Posts: 266 Location: Ontario, Canada
Posted: Tue Apr 13, 2010 3:37 pm Post subject:
I didn't come crying for help...I just don't feel like doing it myself atm.
Either way if I get it done here or not i still have to do it tomorrow in class
Really i just wanted a good example because looking on google for everything gets annoying and takes for ever to find the answer or an example...my schools proxy blocks half the websites and the teacher doesn't even know how to program its a supply for the class, my actual programming teacher is teaching math (we are short on teachers).
If you want to post anything that will even help go ahead.
@gogodr Thanks for that
Last edited by zaczac on Tue Apr 13, 2010 3:40 pm; edited 1 time in total
instantiate a scanner object from Scanner class. then use nextInt methods to fetch the input. you might wanna read up on exceptions to make sure they're ints though. use Integer.parseInt() and then catch NumberFormatException if you're not gonna use the scanner
gogodr wrote:
Slugsnack wrote:
lol put your money where your mouth is. I don't believe you can deliver the fully working java implementation in 1 minute
I can do it in visual basic in 3 minutes with a pretty GUI
:/
or in C# or C++ with the Command line panel ugly GUI in a minute
with a pretty GUI in a little more than 5 minutes.
a command line program can't be a 'gui'. it's clearly text/command based if it runs in a console lol
Joined: 01 May 2007 Posts: 266 Location: Ontario, Canada
Posted: Tue Apr 13, 2010 3:46 pm Post subject:
@gogodr How would you break the string inputted into 3 number variables?
@Slugsnack We can't use scanner won't work at the school (using an older version of java) We have to use bufferedReader
Last edited by zaczac on Tue Apr 13, 2010 3:49 pm; edited 1 time in total
instantiate a scanner object from Scanner class. then use nextInt methods to fetch the input. you might wanna read up on exceptions to make sure they're ints though. use Integer.parseInt() and then catch NumberFormatException if you're not gonna use the scanner
gogodr wrote:
Slugsnack wrote:
lol put your money where your mouth is. I don't believe you can deliver the fully working java implementation in 1 minute
I can do it in visual basic in 3 minutes with a pretty GUI
:/
or in C# or C++ with the Command line panel ugly GUI in a minute
with a pretty GUI in a little more than 5 minutes.
a command line program can't be a 'gui'. it's clearly text/command based if it runs in a console lol
if you can see it and use it for something its a graphical user interface :/
the command promp is a GUI, a very primitive one but a gui in the end.
instantiate a scanner object from Scanner class. then use nextInt methods to fetch the input. you might wanna read up on exceptions to make sure they're ints though. use Integer.parseInt() and then catch NumberFormatException if you're not gonna use the scanner
gogodr wrote:
Slugsnack wrote:
lol put your money where your mouth is. I don't believe you can deliver the fully working java implementation in 1 minute
I can do it in visual basic in 3 minutes with a pretty GUI
:/
or in C# or C++ with the Command line panel ugly GUI in a minute
with a pretty GUI in a little more than 5 minutes.
a command line program can't be a 'gui'. it's clearly text/command based if it runs in a console lol
if you can see it and use it for something its a graphical user interface :/
the command promp is a GUI, a very primitive one but a gui in the end.
instantiate a scanner object from Scanner class. then use nextInt methods to fetch the input. you might wanna read up on exceptions to make sure they're ints though. use Integer.parseInt() and then catch NumberFormatException if you're not gonna use the scanner
gogodr wrote:
Slugsnack wrote:
lol put your money where your mouth is. I don't believe you can deliver the fully working java implementation in 1 minute
I can do it in visual basic in 3 minutes with a pretty GUI
:/
or in C# or C++ with the Command line panel ugly GUI in a minute
with a pretty GUI in a little more than 5 minutes.
a command line program can't be a 'gui'. it's clearly text/command based if it runs in a console lol
if you can see it and use it for something its a graphical user interface :/
the command promp is a GUI, a very primitive one but a gui in the end.
a command prompt is an interface, just not a graphical user one.
@zaczac : read the whole string, then parse it with Integer.parseInt(). catch NumberFormatException in a try()/except(). you can use the StringTokenizer class to split the string
instantiate a scanner object from Scanner class. then use nextInt methods to fetch the input. you might wanna read up on exceptions to make sure they're ints though. use Integer.parseInt() and then catch NumberFormatException if you're not gonna use the scanner
gogodr wrote:
Slugsnack wrote:
lol put your money where your mouth is. I don't believe you can deliver the fully working java implementation in 1 minute
I can do it in visual basic in 3 minutes with a pretty GUI
:/
or in C# or C++ with the Command line panel ugly GUI in a minute
with a pretty GUI in a little more than 5 minutes.
a command line program can't be a 'gui'. it's clearly text/command based if it runs in a console lol
if you can see it and use it for something its a graphical user interface :/
the command promp is a GUI, a very primitive one but a gui in the end.
a command prompt is an interface, just not a graphical user one.
@zaczac : read the whole string, then parse it with Integer.parseInt(). catch NumberFormatException in a try()/except(). you can use the StringTokenizer class to split the string
you can fucking right click in the command promp >.> it is NOT a pure command line interface like DOS.
a GUI is not only pretty buttons you know >.>....
btw:: I dont use VB, the language I use mostly now is C#
and very proud of what I achieved to make in 2 months.
instantiate a scanner object from Scanner class. then use nextInt methods to fetch the input. you might wanna read up on exceptions to make sure they're ints though. use Integer.parseInt() and then catch NumberFormatException if you're not gonna use the scanner
gogodr wrote:
Slugsnack wrote:
lol put your money where your mouth is. I don't believe you can deliver the fully working java implementation in 1 minute
I can do it in visual basic in 3 minutes with a pretty GUI
:/
or in C# or C++ with the Command line panel ugly GUI in a minute
with a pretty GUI in a little more than 5 minutes.
a command line program can't be a 'gui'. it's clearly text/command based if it runs in a console lol
if you can see it and use it for something its a graphical user interface :/
the command promp is a GUI, a very primitive one but a gui in the end.
a command prompt is an interface, just not a graphical user one.
@zaczac : read the whole string, then parse it with Integer.parseInt(). catch NumberFormatException in a try()/except(). you can use the StringTokenizer class to split the string
you can fucking right click in the command promp >.> it is NOT a pure command line interface like DOS.
a GUI is not only pretty buttons you know >.>....
btw:: I dont use VB, the language I use mostly now is C#
and very proud of what I achieved to make in 2 months.
instantiate a scanner object from Scanner class. then use nextInt methods to fetch the input. you might wanna read up on exceptions to make sure they're ints though. use Integer.parseInt() and then catch NumberFormatException if you're not gonna use the scanner
gogodr wrote:
Slugsnack wrote:
lol put your money where your mouth is. I don't believe you can deliver the fully working java implementation in 1 minute
I can do it in visual basic in 3 minutes with a pretty GUI
:/
or in C# or C++ with the Command line panel ugly GUI in a minute
with a pretty GUI in a little more than 5 minutes.
a command line program can't be a 'gui'. it's clearly text/command based if it runs in a console lol
if you can see it and use it for something its a graphical user interface :/
the command promp is a GUI, a very primitive one but a gui in the end.
a command prompt is an interface, just not a graphical user one.
@zaczac : read the whole string, then parse it with Integer.parseInt(). catch NumberFormatException in a try()/except(). you can use the StringTokenizer class to split the string
you can fucking right click in the command promp >.> it is NOT a pure command line interface like DOS.
a GUI is not only pretty buttons you know >.>....
btw:: I dont use VB, the language I use mostly now is C#
and very proud of what I achieved to make in 2 months.
when you right click on it
it shows a menu
that menu is highlighted with light blue when the mouse is over right?
that highlighted blue and the background rectangle are .bmp s compiled into one of the windows applications that cmd is using (( you can even edit them with the correct tools ))
therefor it is using graphics, it is a FUCKING GUI
instantiate a scanner object from Scanner class. then use nextInt methods to fetch the input. you might wanna read up on exceptions to make sure they're ints though. use Integer.parseInt() and then catch NumberFormatException if you're not gonna use the scanner
gogodr wrote:
Slugsnack wrote:
lol put your money where your mouth is. I don't believe you can deliver the fully working java implementation in 1 minute
I can do it in visual basic in 3 minutes with a pretty GUI
:/
or in C# or C++ with the Command line panel ugly GUI in a minute
with a pretty GUI in a little more than 5 minutes.
a command line program can't be a 'gui'. it's clearly text/command based if it runs in a console lol
if you can see it and use it for something its a graphical user interface :/
the command promp is a GUI, a very primitive one but a gui in the end.
a command prompt is an interface, just not a graphical user one.
@zaczac : read the whole string, then parse it with Integer.parseInt(). catch NumberFormatException in a try()/except(). you can use the StringTokenizer class to split the string
you can fucking right click in the command promp >.> it is NOT a pure command line interface like DOS.
a GUI is not only pretty buttons you know >.>....
btw:: I dont use VB, the language I use mostly now is C#
and very proud of what I achieved to make in 2 months.
when you right click on it
it shows a menu
that menu is highlighted with light blue when the mouse is over right?
that highlighted blue and the background rectangle are .bmp s compiled into one of the windows applications that cmd is using (( you can even edit them with the correct tools ))
therefor it is using graphics, it is a FUCKING GUI
lmao no they're not you retard. .bmps compiled into one LOL. who the hell told you that. you should take a look into TrackPopupMenu(). and yes, you can edit it with a hook.
summary of your posts :
BAWWW SLUGSNACK AND WIKI ARE WRONG, CLIs DUN EXIST. CMD.EXE IS A GUI.
All times are GMT - 6 Hours Goto page Previous1, 2, 3Next
Page 2 of 3
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum