Member Avatar
Can anyone help me with this? You have been hired by the Wayne County Road Commission to write a Java console application that dispatches patching trucks on county roads. It reads truck and route data from files and stores them in objects. It then reads an order file to dispatch …
by Kajal_3 in Community Center ()
Member Avatar
[This recently published article](http://techbeacon.com/how-learning-smalltalk-can-make-you-better-developer) seems to suggest so. However, since JavaScript is eating the world, I don't know that *any* "new" programming language today can gain traction. Am I wrong?
by Nathan_7 in Software Development ()
Member Avatar
Hi,I am new to android programming In my app I am launching an another app(whats app,calculator,etc) I can launch any app successfully by using this code: Intent i=getPackageManager().getLaunchIntentForPackage("your package name"); i.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); startActivity(i); But it always created new instance/restarted of the app.I want it to launch and resume it from where …
by Adarsh_2 in Mobile Development ()
Member Avatar
Hi, I am a newbie to web application and I am facing a problem in uploading a csv file. This is the input tag that I am using to select a file, `<input id="imprtUpldFileInpt" name="file" type="file"/>` And this is how I process the file details with jQuery, var file = …
by Deepika_7 in Web Development ()
Member Avatar
**NOTE: I do relize this question was answered, but not meeting what I wanted to know. ** Sorry if this in the wrong area or something, I am really new to daniweb :3 So I am 12 and quite interested in game development and computers in general. If you guys …
by _1_28 in Game Development ()
Member Avatar
hi i have encountered a error in my script and i am struggling to find the solution the following error is An Internal Error has Occured. Please report following error to the webmaster. select count(*) from user where user_name LIKE '%matureco%' and status = '1' and the section for the …
by janice_1 in Programming ()
Member Avatar
Write a program in C++ to prepare a frequency distribution table of the percentage marks in Computer studies of sixty students, to be taken as inputs, into the following categories Category Marks(%) Fail 0-34 Pass 35-59 Good 60-79 Very Good 80 and above
by sam_21 -6 in Computer Science ()
Member Avatar
I really want to learn Java but I have no idea how to study it. I just keep reading the books yet have no idea how to program. :(
by Shellie_1 in Computer Science ()
Member Avatar
Hey I'm coding Tron which is basically a two player snake game, I'm a noob when it come to pygame and python and need help with the collision logic and would love it if you could help me. (the comments are just ideas I had for the loops for the …
by Mariano_1 in Game Development ()
Member Avatar
Hi, everyone. I want to create a RISK-style game in C++ with decent graphics, of course. I would like to create a map with countries as buttons [I know that this is possible in java through extensions but I want to do this in c++] Could anyone please help me …
by Nathan_6 in Game Development ()
Member Avatar
We need to select a foreign language out of German,Chinese,Japanese,Korean & French for our third semester of B.tech degree in computer Science,so which language should i choose???
by Sourav_6 in Computer Science ()
Member Avatar
I have installed magento2 on my ubuntu system. Its worked fine. Then i have created a simple module in magento2. After that i am getting the following error a:4:{i:0;s:66:"Setup version for module 'Sample_CustomControllers' is not specified";i:1;s:3170:"#0 /opt/lampp/htdocs/Magento2/vendor/magento/framework/Module/DbVersionInfo.php(56): Magento\Framework\Module\DbVersionInfo->isModuleVersionEqual('Sample_CustomCont...', false) #1 /opt/lampp/htdocs/Magento2/vendor/magento/framework/Module/DbVersionInfo.php(79): Magento\Framework\Module\DbVersionInfo->isSchemaUpToDate('Sample_CustomCont...') #2 /opt/lampp/htdocs/Magento2/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(55): Magento\Framework\Module\DbVersionInfo->getDbVersionErrors() #3 [internal function]: Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), …
by Amesh_1 in Community Center ()
Member Avatar
Hi i'm make an Inventory System for my personal game project with C++ Composite pattern. What I'm going to do is set a limit so player unable add item once hit the specific limit. but here my problem : 1. Did i set the limit & add item function correctly? …
by _1_5 in Programming ()
Member Avatar
Hi, i have been making a maze game in pygame. I have made every level and have them all in different folders so i can find them easily. I have been trying to make a menu for the game where you are able to pick any level and play it. …
by rhys_2 in Game Development ()
Member Avatar
on my university I got an assignment to build a program on OpenGl that read from a given txt file a coordinates of some lines and draw them to the screen. i thank everyone that might help me, I know a little bit programming on C but I'm a little …
by יוחאי in Game Development ()
Member Avatar
I am working with a code which stores the information of customers in a file called customer_details.txt then asks the user to enter a name and then searches for the name in customer_details.txt, if the name is found, the entire details of the user is displayed on the output screen. …
by nivedita5 in Software Development ()
Member Avatar
Can anyone provide me C++ implementation of Adaptive Huffman Coding ?
by Zlatan25 -3 in Computer Science ()
Member Avatar
hi,i'm beginner for programming and i don't know how to use pointer in a c++ programming.
by meron seyoum in Programming ()
Member Avatar
I want to learn java for competitive programming . I'm actually aware of all the great books on java like thinking in java , effective java etc. But those books are very detailed . i want to learn enough for competitive programming without going into too much of unnecessary details …
by vishalsingh1080 in Computer Science ()
Member Avatar
There is a problem of facility location that I solve with genetic algorithms. I can get good results. So I would like to compare my genetic algorithm complexity O(n^2) with the brute force algorithm. But I am not getting an answer. (n = number of individuals in my population, usually …
by quatrosem in Computer Science ()
Member Avatar
Is the SDL the best software for programming Games??
by ÂyØùùb in Game Development ()
Member Avatar
void Selection_Sort(int SUM_1[], int n){ int Lid, tmp; for (int i = 0; i < n - 1; i++){ Lid = i; for (int j = i + 1; j < n; j++){ if (SUM_1[j] != 0 && SUM_1[Lid] != 0 && SUM_1[j] < SUM_1[Lid]){ Lid = j; } tmp …
by NEwB!e in Programming ()
Member Avatar
Hi, everyone! I have to make a function which would get a c-string of an inputted text and it would output the number of times each unique word occurs in it. Of course, I must use c-strings [yeah yeah, I know but that is what the assignment is]. Here's my …
by Nathan_6 in Programming ()
Member Avatar
Hi I am a beginner in game programming and would like to make a rocketmania clone using opengl, the display and interaction part is done. I also have a classes named gameboard and tiles with their properties. but I am having problems on game logic, where the fuel flows into …
by daniel955 7 in Game Development ()
Member Avatar
Hi, this was my previous post https://www.daniweb.com/programming/software-development/threads/504670/need-help-with-a-java-program-that-will-indent-code-from-another-java-file#post2204763 I heard it would make more sense if I put all the code on one line and worked on it from there. I already have code that will indent properly, but I need code that will properly separate the text in Code.java This …
by Brian_18 in Programming ()
Member Avatar
I'm trying to Add a method to create a random size and position rectangle and add it to the Python list created in my constructor, The colour of the rectangles are based on the rainbow colours (‘red’, ‘orange’ ‘yellow’ ‘green’, ‘blue’ and ‘purple’) this is the current code I have, …
by rey619 in Computer Science ()
Member Avatar
Hello. We're going into Constructora and super, using extends, subclasses etc. I have this code: class Student { private String name; private String matric_no; public Student(String n, String m) { name = n; matric_no = m; } } class UndergradStudent extends Student { private String programme; public UndergradStudent(String n, String …
by nadiam in Computer Science ()
Member Avatar
Hello all hope all is well, Im new to c# and new to the site so bare with a noob :). any way I have an assignment and Im running in to a problem where I don't know how to have c# read a text file and turn the numbers …
by Adam_28 in Computer Science ()
Member Avatar
I am using Visual Studio 13 and programming in visual basic for a intro CSCi class. I need to write a program to calculate weekly pay using a textbox to enter the number of hours via click event, a listbox showing the hours entered, then a text box for hourly …
by Scott_14 in Computer Science ()
Member Avatar
Assignment Overview1 This assignment focuses on the design, implementation and testing of a Python program which uses file processing, lists and strings to solve the problem described below. Program Specifications: The New York Times newspaper has published “best seller” lists since 1942. Book sales are tracked nationwide, leading to a …
by Aries_Child in Computer Science ()