… make the PC stay awake 24/24. Any fix for this issue… Discussion Thread by Ritesh_4 in Microsoft Windows
Thanks for this tip rproffitt, managed to get it to update from this by downloading from the Microsoft Update Catalog Reply by Ritesh_4
4 Weeks Ago
… make the PC stay awake 24/24. Any fix for this issue… Discussion Thread by Ritesh_4 in Microsoft Windows
Thanks for the update. Be aware that most of these are not urgent and important. Some will fail and the telemetry back to Microsoft shows it failing which if high enough tells Microsoft there is a problem. Forcing the install can in extreme cases … Reply by rproffitt
4 Weeks Ago
… 21 DEBUG6: iOffset is 24, xrate is 0.000,… 0.000, subscript is 24 DEBUG6: iOffset is 42,… 30 DEBUG6: iOffset is 24, xrate is 0.000,… 39 DEBUG6: iOffset is 24, xrate is 0.000,… Discussion Thread by JohnMcPherson in Software Development
4 Weeks Ago
…. Your clock will be a 24 hour clock 4. You will… Discussion Thread by Ater Mawut in Software Development
4 Weeks Ago
… 21 DEBUG6: iOffset is 24, xrate is 0.000,… 0.000, subscript is 24 DEBUG6: iOffset is 42,… 30 DEBUG6: iOffset is 24, xrate is 0.000,… 39 DEBUG6: iOffset is 24, xrate is 0.000,… Discussion Thread by JohnMcPherson in Software Development
> It is the fgets and sscanf that do not seem to be working correctly. Garbage in, garbage out. fgets is reading wrong and the scanf code requires that fgets reads correctly in order to do its job. Looking at the very first line, it appears that … Reply by AssertNull
4 Weeks Ago
…. Your clock will be a 24 hour clock 4. You will… Discussion Thread by Ater Mawut in Software Development
Do you have a specific question? I am not going to do the entire assignment for you. Reply by Derek_10
4 Weeks Ago
… 21 DEBUG6: iOffset is 24, xrate is 0.000,… 0.000, subscript is 24 DEBUG6: iOffset is 42,… 30 DEBUG6: iOffset is 24, xrate is 0.000,… 39 DEBUG6: iOffset is 24, xrate is 0.000,… Discussion Thread by JohnMcPherson in Software Development
Be very carefull of naming between various systems. I early on learned to use lower case only in my naming of variables, be carefull with special characters. Sometimes if a file-name uses Upper case or mixed case, one system will read it correctly, but a … Reply by abbott@lantic
4 Weeks Ago
Hiya, http://www.tizag.com/phpT/php-string-strpos.php On the above link, it is stated: PHP Code: $numberedString = "1234567890"; // 10 numbers from 1 to 0 $fivePos = strpos($numberedString, "5"); echo "The position of… Discussion Thread by UI in Web Development
php
… ( [0] => 5 [1] => 24 ) [3] => Array ( [0] =>… Reply by cereal
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
Has your course covered the idera of defining a class? The obvious approach is to create a Tree class with the tree's height and growth rate and the related methods. A Forest is then just a collection (could be an array) of Tree objects. Reaping is just… Reply by JamesCherrill
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
We've touched on it, but I don't really understand it... I'm not really sure what would start the code or be in the main method. This is what I have so far: import java.util.Scanner; … Reply by Heather_6
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
OK, that's a good start. Next step is decide how you will represent your forest of trees inside your program. There are 10 trees, and each tree has a height and a growth rate. A Tree class is the obvious Java solution, but if you have not got that far… Reply by JamesCherrill
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
If I do the array options, it would be an array with 10 rows and 3 columns correct? and how would I generate the random numbers between the min and max height and growth rate? Additionally how do I attach the name of the forest to these trees when the … Reply by Heather_6
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
It sounds like you have not covered creating classes in your course yet, so if that's the case it would be a bad idea for me to try to overlap with your real teacher. I would stick to arrays if that's what you know. If there are just two variables for … Reply by JamesCherrill
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
We went over creating classes, but I didn't understand it. But in displaying the array, how do I get it to print the location in the array as well as the numbers stored there? I know I will need to add 1 to the location as it starts at 0. Reply by Heather_6
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
Well, yes. You just add 1 to the location when you print it, as in `System.out.println ( (i+1) + ": " etc` ps: creating classes is really important in Java. You should go back over your notes and materials until you "get" it. It's… Reply by JamesCherrill
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
This is what I have so far, but I don't know where to put the forest array and generate the random numbers import java.util.Scanner; //============================================================================= public class … Reply by Heather_6
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
You were right to put add/display etc into separate methods. Now your forestName and forest variables need to be declared where they are visible to all those methods - ie inside the class but outside any method. The obvious time to populate the array … Reply by JamesCherrill
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
Be sure to make others aware if you are crossposting. Is this you at http://www.dreamincode.net/forums/topic/403609-need-help-putting-together-forest-program/ Also, is it this assignment? [This is the cache of the assignment I found.](http://webcache.… Reply by rproffitt
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
> Do an object oriented analysis and design Is that right Heather? If so you just wasted a whole load of my time (and yours) by hiding that fundamental requirement. Reply by JamesCherrill
3 Weeks Ago
….93 (72% pa) 6 : 66.24 (91% pa) 7 : 27.40… (89% pa) 8 : 24.68 (77% pa) 9 : 47… (54% pa) Cut 6 : 66.24 (91% pa) New 6 : 3… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… : 27.40 (89% pa) 8 : 24.68 (77% pa) 9 : 47… Discussion Thread by Heather_6 in Software Development
Ha ha ..Why I have these kind of questions in my mail box?? I think that main reason to make a course o programming is....to learn programming. Anyway, If you still want to know how to do it, you have all the clues in your other post: 1. "I have … Reply by ignacio.camachoortiz
2 Weeks Ago
….dylib 0x7fffc14d0000 - 0x7fffc14d1ff3 libsystem_secinit.dylib (24.50.4) <F78B847B-3565… Discussion Thread by Dani in Mac OS X
2 Weeks Ago
….dylib 0x7fffc14d0000 - 0x7fffc14d1ff3 libsystem_secinit.dylib (24.50.4) <F78B847B-3565… Discussion Thread by Dani in Mac OS X
Dani, did you install Zend "out-of-the-box", or did you rebuild it for OSX? I've had to rebuild it in the past for specific versions of Linux. Reply by rubberman
2 Weeks Ago
….dylib 0x7fffc14d0000 - 0x7fffc14d1ff3 libsystem_secinit.dylib (24.50.4) <F78B847B-3565… Discussion Thread by Dani in Mac OS X
I downloaded the .dmg file for OS X, dragged and dropped the application into the Applications folder, and then attempted to open the application. It just kept resulting in that error message. Ultimately restarting the computer fixed the problem. Reply by Dani
2 Weeks Ago
Hello, I work at the U.S. Department of Labor, on the Unemployment Insurance program. I am working on developing a new Benefit Financing model for the state of Oregon, and I am having an issue with passing a struct between mutiple .c and .cfn files( the .… Discussion Thread by JohnMcPherson in Software Development
… "rgqi.cfn", line 24: warning: implicit function declaration: mkxtxy_… Reply by JohnMcPherson
1 Week Ago
…,886 2022-2 2.01 24,006,027 15,180,352…,647 2022-3 1.95 24,911,015 11,817,728…,186 2022-4 2.32 24,958,919 8,684,426… Discussion Thread by JohnMcPherson in Software Development
1 Week Ago
…,886 2022-2 2.01 24,006,027 15,180,352…,647 2022-3 1.95 24,911,015 11,817,728…,186 2022-4 2.32 24,958,919 8,684,426… Discussion Thread by JohnMcPherson in Software Development
I don't know what IDE you use but I'd examine the cst() function in depth. I fear there's a few chances that the integers in there are not the right choice. Maybe you should try a ready to use function for float to string? https://www.google.com/search… Reply by rproffitt
1 Week Ago
…,886 2022-2 2.01 24,006,027 15,180,352…,647 2022-3 1.95 24,911,015 11,817,728…,186 2022-4 2.32 24,958,919 8,684,426… Discussion Thread by JohnMcPherson in Software Development
SInce the cst function works for everyother state( and other double printed for Oregon), I am leery of trying to do any changes within that function. I hunted around Google and found simple C routine to convert doubles to strings with commas, and it works … Reply by JohnMcPherson
1 Week Ago
…,886 2022-2 2.01 24,006,027 15,180,352…,647 2022-3 1.95 24,911,015 11,817,728…,186 2022-4 2.32 24,958,919 8,684,426… Discussion Thread by JohnMcPherson in Software Development
I wonder if the fact you are coding for Oregon that the numbers are lower in value than for Oregon. Remember I don't know your IDE, compiler and more so all I can do is read the cst() function code and see what could be an issue with overflowing a data … Reply by rproffitt
1 Week Ago
…,886 2022-2 2.01 24,006,027 15,180,352…,647 2022-3 1.95 24,911,015 11,817,728…,186 2022-4 2.32 24,958,919 8,684,426… Discussion Thread by JohnMcPherson in Software Development
As a general comment, you've had many threads dealing with buffer overflows, NULL pointers, spacing issues, conversion issues, etc., etc. that would appear to be less problematic is you used C++ rather than C. I'm not a purist, so I'm all for leaving … Reply by AssertNull
1 Week Ago