Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 72 results for
consoleio
- Page 1
Please help me
Programming
Software Development
12 Years Ago
by hearty
…of Children --> "); ChildrenNumber =
ConsoleIO
.readInteger(); discountAmount = 0.85*roomprice; …of Children --> "); ChildrenNumber =
ConsoleIO
.readInteger(); discountAmount = 0.25*roomprice; }…
Re: Please help me
Programming
Software Development
12 Years Ago
by hearty
…;\n3)Low season : Starts from June to August" ); season=
ConsoleIO
.readCharacter("please select the season--------->"); if(season…
Data access between multiple related objects
Programming
Software Development
10 Years Ago
by Knoxarama
…UpdataTimeSeconds(Packet input){ input.sys->TimeElapsed++; } } class
ConsoleIO
{ string raw; vector <string> Vraw; vector …class messenger{ public: System * sys; Clock * clk;
ConsoleIO
*Cio; bool SystemLink; bool ClockLink; bool ConsoleLink; public:…
Re: Data access between multiple related objects
Programming
Software Development
10 Years Ago
by JasonHippy
…Packet input){ input.sys->TimeElapsed++; } } class
ConsoleIO
{ string raw; vector <string> Vraw; vector…class messenger{ public: System * sys; Clock * clk;
ConsoleIO
*Cio; bool SystemLink; bool ClockLink; bool ConsoleLink; public: …
May I please have help with a cannot find symbol error?
Programming
Software Development
7 Years Ago
by Nol_1
… highIntRt; //This is the highIntRt expressed as a decimal
ConsoleIO
console = new
ConsoleIO
(); //
ConsoleIO
method System.out.println("Enter the dollar amount…
Algorithm Problems
Programming
Software Development
19 Years Ago
by Lord Felix
….println(); } } } class LifeOutput { public static void main (String args[]) {
ConsoleIO
input = new
ConsoleIO
(); int numberOfSteps; String fileInput; System.out.println("Welcome…
cannot resolve symbol symbol : variable JoptionPane
Community Center
17 Years Ago
by ghackprime
… args) { /* (To contrast this sample with the
ConsoleIO
program, note that no "throws IOException" clause…to those of InputStreamReader and BufferedReader objects of the
ConsoleIO
program.) */ /* Following are the input variables of…
<identifier> expected? Pls help my code!
Programming
Software Development
15 Years Ago
by IMtheBESTatJAVA
… temperature in degrees fahrenheit * @return temperature in degrees celsius */
ConsoleIO
console = new
ConsoleIO
(); double f, fToC; System.out.println("Input temperature…
Re: <identifier> expected? Pls help my code!
Programming
Software Development
15 Years Ago
by stultuske
[CODE]#
ConsoleIO
console = new
ConsoleIO
(); double f, fToC; System.out.println("Input temperature in ยบ…
Need help with max/min'ing multiply
Programming
Software Development
15 Years Ago
by IMtheBESTatJAVA
… lowproduct = (numOneLow * numTwoLow * numThreeLow); int highprodcut = (numOneHigh * numTwoHigh * numThreeHigh);
ConsoleIO
console = new
ConsoleIO
(); System.out.println("This program will calculate three…
Re: Need help with max/min'ing multiply
Programming
Software Development
15 Years Ago
by IMtheBESTatJAVA
…]public class Powers { public static void main(String[] args){
ConsoleIO
console = new
ConsoleIO
(); int input; int numOneTensLow = 10; int numTwoTensLow = 20; int…
Java PigLatin
Programming
Software Development
10 Years Ago
by lobnaallam
…;Enter>. "); char letter; int vowelSpace; char vowel;
ConsoleIO
input = new
ConsoleIO
(); do { englishWord = input.readToken(); letter = englishWord.charAt(0); vowelSpace…
Re: Need help! (Simple programs...)
Programming
Software Development
15 Years Ago
by IMtheBESTatJAVA
…) { char fin; int one, two, three, sum, rem, num;
ConsoleIO
console = new
ConsoleIO
(); System.out.println("Enter your car's make…
Re: wxPython help
Programming
Software Development
15 Years Ago
by Ene Uran
It directs wxPython where to show errors/
consoleIO
. This will go to the console: app = wx.App(redirect = …
Re: Please help me
Programming
Software Development
12 Years Ago
by NormR1
Do you have specific problems with your code? Or do you have specific questions you'd like to ask about it? [QUOTE]but got stuck in putting the boolean to terminate the program when the values entered by the user are wrong [/QUOTE] Can you high light the area where you are having the problem with comments that are easy to see. Please edit your …
Re: Please help me
Programming
Software Development
12 Years Ago
by NormR1
[QUOTE]the program doesn't stop when a wrong value is added instead it just types "ERROR[/QUOTE] You can call the System.exit(0) method to exit/stop a program immediately. Otherwise you set a flag (boolean variable) so that your code can delay exiting the program until it has done some finishing up. Then it can test if the boolean is true and …
Re: Data access between multiple related objects
Programming
Software Development
10 Years Ago
by Moschops
Please post the errors the compiler gives with the above code.
Re: Data access between multiple related objects
Programming
Software Development
10 Years Ago
by JasonHippy
One thing that does look highly suspicious is that you are deleting pointers to objects that are on the stack... Which is definitely wrong. You aren't using new anywhere in your program and if you didn't use new to allocate the memory, then you shouldn't be attempting to delete it!
Re: May I please have help with a cannot find symbol error?
Programming
Software Development
7 Years Ago
by AssertNull
public static void Main(String[] args) "main" is case-sensitive. You have "Main". It's looking for "main". Change "Main" to lower-case ("main"), recompile, and give it a try.
Re: May I please have help with a cannot find symbol error?
Programming
Software Development
7 Years Ago
by Nol_1
Unfortunately, during the compile the changing of "Main" to "main" resulted in the same error.
Re: May I please have help with a cannot find symbol error?
Programming
Software Development
7 Years Ago
by JamesCherrill
The error message should include a line number... that's important Anyway, line 82 of the second class refers to mortgage, which is a variable in the first class. You don't need that to call a method in the same class. You can just say calcC()
Re: May I please have help with a cannot find symbol error?
Programming
Software Development
7 Years Ago
by Nol_1
Dear JamesCherrill, I changed line 82 of the second class from 'mortgage.calcC()' to 'CalcC'. Thank you so much for the help. I really appreciate it. Before: `mortgage.calcC();` After: `CalcC();` Best Regards, -Nol
Re: May I please have help with a cannot find symbol error?
Programming
Software Development
7 Years Ago
by Nol_1
Dear DaniWeb Community, Should I include the CalcMthlyPymt (*starts on line 47*), CalcNmbrOfMthlyPymts (*starts on line 59*), and CalcMthlyIntRt (*starts on line 71*) methods in the while statement as CalcMthlyPymt(); CalcNmbrOfMthlyPymts(); and CalcMthlyIntRt(); ? Thank you again so much for the help. Best Regards, -Nol
Re: Algorithm Problems
Programming
Software Development
19 Years Ago
by jwenting
[quote]For some reason becuase reason it doesnt seem to be working[/quote] huh? What are you trying to say here? What isn't working and why isn't it working. What is it doing and what is it supposed to be doing?
Re: Algorithm Problems
Programming
Software Development
19 Years Ago
by Lord Felix
Sorry for making it unclear. I have to write a program that simulates the game of Life using Two-Dimensional arrays. The size of the grid will be a square 20 x 20 (Which is size of the Two-Dimensional Array). My program is supposed to read the locations of the cells that are in a text file and then store them into the Two-Dimension array. Once …
Re: Algorithm Problems
Programming
Software Development
19 Years Ago
by jwenting
[code] public int countLiveNeighbors (int i, int j) { int limit = 21 - 1; int count = 0; for (int ii = i - 1; ii <= i + 1; ii++) { for (int jj = j - 1; jj <= j + 1; jj++) { if (ii == i && jj == j) continue; if (ii < 0 || ii > limit) continue; if (jj < 0 || jj > …
Re: Algorithm Problems
Programming
Software Development
19 Years Ago
by jwenting
a P.S.: be careful with indentation and braces. Having it poorly done (like in your code, with braces not lined up and indenting with both tabs and spaces interspersed) can make code a lot harder to read. I had to reformat your code to be able to quickly see how it is structured.
Re: Algorithm Problems
Programming
Software Development
19 Years Ago
by Lord Felix
Thanks jwenting, that helped alot. As for the messy coding, I initially had to copy and paste the code from the computer in my school so it messed up the format of the coding. Sorry for that inconveinance. Ill go revise that part of the code. :cheesy: Lord Felix
Re: Algorithm Problems
Programming
Software Development
19 Years Ago
by Lord Felix
Alright, I revised that part of the code: [CODE]for (int i = 0; i < 21; i++) { for (int j = 0; j < 21; j++) { numberOfNeighbors = countLiveNeighbors(i, j); if (CellIsAlive(i, j) == true) { if (numberOfNeighbors <= 1 || numberOfNeighbors > 3) …
Re: Algorithm Problems
Programming
Software Development
19 Years Ago
by Lord Felix
Aliright, I figured out that I closed the file too soon and thats what cuased the program to appear to be stuck at the first generation. The only problem I have right now is that cells that do not have neighbors are not dying in the next generation. I did some debugging and it seems that the program is reading in the cells that have no neighbors to…
1
2
3
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC