68 Posted Topics
Re: Heh heh... nice one, Ezzaral. Yesterday, my mom grounded me from computer priveleges and then asked me to solve a processing speed/spyware/adware problem on the family PC. Managed to negotiate half the ban off. | |
Re: I recommend [inlinecode]Scanner[/inlinecode] highly. This will work nicely if: a. you replace the commas w/spaces and use [inlinecode]nextInt()[/inlinecode] b. you keep the commas, use [inlinecode]next()[/inlinecode], and set up an elaborate system to trim the commas out of the [inlinecode]String[/inlinecode]s made and convert said [inlinecode]String[/inlinecode]s to ints I'd go with "a". | |
Re: No offense, eyedea2011, but the syntax you're using is either really old or really new, because a lot of it doesn't make much sense to me. Why not just use [CODE]if(a==b){ return true; } else { return false; }[/CODE] Just an idea... | |
I like Star Wars and SW video games, Battlefront II, Empire at War, etc. I plan to write a free, unofficial map editor to create an unofficial map editor for Empire at War in order to create new Galactic Conquest maps. Anyone else like SW games? Sound off! | |
Re: waxyaie, I suggest you and ressi1 team up on the $ register gig. ...reason for wanting to make a cash register GUI? | |
Re: I agree with thegathering, the best way to make a chat program is usually to write inputted lines to a .txt file. This not only works very smoothly but can also be tooled to archive chat lines as well. Good luck! :cool: | |
Re: I always learned that main returns an int so that you can put [INLINECODE]exit(0)[/INLINECODE], [INLINECODE]exit(1)[/INLINECODE] and other constructions in to tell you why the program quit. Or would that not work...? | |
Re: What I would recommend is checking to make sure that all methods that are not called from an object using the [INLINECODE].[/INLINECODE] operator are declared as [INLINECODE]static[/INLINECODE]. Otherwise the compiler may just, oh, gosh, [I]not run[/I] the blasted thing. Some methods didn't have [INLINECODE]static[/INLINECODE] in there; I couldn't tell whether … | |
Re: [code]masijade.Statement()=true; you need to post your code so that switch(we can){ case a: find out where you goofed; break; case b: know you're not just getting Daniweb to do your work for you; break; } while(stillConfused()){ recommendVenomlash="nCr"; }[/code] :icon_cheesygrin: | |
Re: Try C# sometime. I hear it's halfway between JAVA and C++, so that might be useful. Personally, I'd say C++ is easier to work with; strings are mutable, you just have to type cout instead of System.out.print, and many other little things that make coding easier. Of course, I know … | |
Re: ¡Vaca sagrada! You're trying to write (on and for a computer) a cash register program that would work [B]if[/B] it were run on a cash register...it won't work so well unless you have the proper peripherals. You might be eating at McD's too often if you have become enamored with … | |
What is the best compiler for JAVA? BlueJ, Eclipse, or what? Opinion, please...I'm kinda lost. | |
How does one use an interface? The [inlinecode]paint[/inlinecode] interface in particular? ¡Ayúdame, por favor! | |
Is there any way to write a program to check a computer's serial number as sort of a copy-protect? (i.e., if the serial number doesn't match the expected number written into the program, the program quits.) Anyone know? Thanks, venomlash | |
If I create a class called "tree" and inherit from it to classes called "elm" and "oak", can I, using all three header files, create a vector <tree> and use push_back to add an "elm" and an "oak" to that vector? | |
I use Bloodshed Dev-C++ version 4.9.9.2 and it is a little weird in that it accepts "and" as "&&" and "or" as "||", not to mention not requiring parentheses around separate clauses in and/or connected statements. Therefore it would read the following as the same. if(voice==loud or voice==annoying and voice==whiny){ … |
The End.