possibly. Looking for ggetchar equivalents + java perhaps will result in something usefull. Marlon 2008/2/25, Sina Bahram <sbahram@xxxxxxxxx>: > The characters that aren't there, actually are, and that has to do with the > text editor you are using. So use a good text editor that informs you of > such things rather than hiding them. > > As for java: I think you should read some beginning books on java, and you > mentioned you were taking a class, so I would consult your textbook's > section on how to make methods. Understanding how methods, in other > languages: functions, work is sometimes tricky, but it's absolutely > essential, so rather than just hacking at the code until it works, you need > to understand why it said no return type and so on. It's a very simple > problem, but one that will come up again. > > As for grabbing character input: I do believe this is actually possible, but > not sure how to do it off hand ... something like a getchar is what you > want. > > Take care, > Sina > > -----Original Message----- > From: programmingblind-bounce@xxxxxxxxxxxxx > [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex Hall > Sent: Monday, February 25, 2008 9:08 AM > To: programmingblind@xxxxxxxxxxxxx > Subject: Re: free and accessible vb compiler? > > The main problem with java for this is that the command line in Windows > requires that you press enter before it will send the program anything, so > hitting an arrow key to move around a game board cannot happen, unless I > missed something in the responses. > I appreciate the advice and seewhat you are saying; this just seems to not > be possible in Java unless I make a gui and I have no clue how to do that. > I got some code online for making one but it froze EdSharp completely when I > tried to compile and the java cmd line compiler gave me errors that did not > exist, like no return type for main (it was void just as it should have > been) and odd characters being in the file that were not actually there, > like \160. > > Have a great day, > Alex > > > ----- Original Message ----- > >From: "Marlon Brandão de Sousa" <splyt.lists@xxxxxxxxx > >To: programmingblind@xxxxxxxxxxxxx > >Date sent: Mon, 25 Feb 2008 09:43:36 -0300 > >Subject: Re: free and accessible vb compiler? > > >Hello Alex, > >You can do it in java, indeed ... you asked about key hooks and > you > >got a response. Java can also manage sounds, you just need to > research > >it. Programmers are always trying to do what nobody already did, > so > >they are always researching and trying things. If programmers > did what > >was already there then they would not be needed because what have > >already been done is done. So far, the main required hability of > a > >programmer is not its techniccal aspect, because one can always > learn > >a new language and such. The main required hability is its > hability of > >researching and figuring out a way of doing what is needed to be > done. > >So far, if you need to do it in java, go and do it in java > because > >it's what you have to do. And java, as a advansed language it > is, will > >certainly allow a relatively easy project like your game to be > done > >with no problems. I think probably if you're going to work with > >programming one day you will have a task and you won't be allowed > to > >say a, it can't be done using this language, so I will switch to > that > >other I have heard is good for doing this. > >You can get hungry with me and others here for giving you these > >advices, and personally if you don't like them you just drop me a > >letter and I am not gonna follow with them, but again the right > way to > >go may be not as easy and the easier way to go can make your > learning > >almost unusefull if you don't follow and acomplish your tasks. > >hth > >Marlon > > >2008/2/25, Valiant (on laptop) <valiant@xxxxxxxxxxxxx>: > >> as far as I know yes indeed they will. > >> ----- Original Message ----- > >> From: "Alex Hall" <mehgcap@xxxxxxx > >> To: <programmingblind@xxxxxxxxxxxxx > >> Sent: Sunday, February 24, 2008 8:55 PM > >> Subject: Re: free and accessible vb compiler? > > > >>> Will the express edition still allow me to make programs that > can > >>> play sounds and use kbd input? > > >>> Have a great day, > >>> Alex > > >>>> ----- Original Message ----- > >>>>From: "Valiant \(on laptop\)" <valiant@xxxxxxxxxxxxx > >>>>To: <programmingblind@xxxxxxxxxxxxx > >>>>Date sent: Sun, 24 Feb 2008 20:45:21 -0500 > >>>>Subject: Re: free and accessible vb compiler? > > >>>>Hi. > >>>>I never did manage to get it to work, but vb express 2007 or > >>> which ever the > >>>>newest one is is free from microsoft.com > >>>>----- Original Message ----- > >>>>From: "Alex Hall" <mehgcap@xxxxxxx > >>>>To: <programmingblind@xxxxxxxxxxxxx > >>>>Sent: Sunday, February 24, 2008 5:53 PM > >>>>Subject: free and accessible vb compiler? > > > >>>>> Hi all, > >>>>> As I cannot do what I want for my battleship game using java I > >>> am thinking > >>>>> of doing the java part to satisfy the requirements for my > >>> computer science > >>>>> class but furthering the game by switching to vb. I have heard > >>> that vb is > >>>>> the best language for playing sounds, using keyboard input, and > >>> all that. > >>>>> Is there a free and accessible vb compiler? It could even be > >>> command line, > >>>>> like the java compiler from Sun. > > >>>>> Have a great day, > >>>>> Alex > >>>>> __________ > >>>>> View the list's information and change your settings at > >>>>> //www.freelists.org/list/programmingblind > > > > >>>>__________ > >>>>View the list's information and change your settings at > >>>>//www.freelists.org/list/programmingblind > > > >>> __________ > >>> View the list's information and change your settings at > >>> //www.freelists.org/list/programmingblind > > > >> __________ > >> View the list's information and change your settings at > >> //www.freelists.org/list/programmingblind > > > > > >-- > >When you say "I wrote a program that crashed Windows," people > just > >stare at you blankly and say "Hey, I got those with the system, > for > >free." > >Linus Torvalds > >__________ > >View the list's information and change your settings at > >//www.freelists.org/list/programmingblind > > > > __________ > View the list's information and change your settings at > //www.freelists.org/list/programmingblind > > __________ > View the list's information and change your settings at > //www.freelists.org/list/programmingblind > > -- When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind