Member Avatar
... what ia trying to do is read csv file( contains (product Id and units) and put them in arraylist of objects, then sort the arraylist in ascending order, then I have to look for duplicate product id and add the units to same single product id so their will …
by Ravi_23 in Software Development ()
Member Avatar
How to create a character for my game? Im trying to develope a game in html5,css3,javascript
by Malbora in Game Development ()
Member Avatar
I'm tryng to read sentence for sentence from an input with python: ... (For example: Hello, my name is Mattia) How i can read sentence for sentence? For example: 1 = "Hello" 2 = "," 3 = "my" 4 = "name" 5 = "is" 6 = "Mattia"
by Mattia_1 in Software Development ()
Member Avatar
Hello guys. I have a school assignment and Im having a trouble doing it. I will ask for help. I have a class Product and I need to make 2 subclasses Chocolate and Whine. Each product has a name, barcode, price and tax. Each product has a method for calculating …
by John_97 in Software Development ()
Member Avatar
I have the following code: ... and it gives me the following error: ... I'm using Python 3, what I am doing wrong?
by Anton_6 in Software Development ()
Member Avatar
I am writing a python program on Windows using Python 2.7. Basically, it's a program that takes a 5-digit, negative & positive, number from user & spells it out in English using num2word & then speaks it out too. I have used espeak & pyttsx both but i'm getting errors …
by Sidrah_1 in Computer Science ()
Member Avatar
Given the following code: String string = "0"; int x = Integer.parseInt (string); Which of these statements is correct and why? A) The code goes in error because the variable string is not an integer B) The code does not in error because the string "0" converts to the number …
by Biz_1 in Software Development ()
Member Avatar
Hi, could somebody help me how to write a function that sort elements in two dynamic stacks(contained in an external file) by the quicksort method?I think I have written the other functions correctly but I find hard time on this one.Please help me if you can, I will appreciate it …
by Ivan_9 in Software Development ()
Member Avatar
Hi, I am dealing with the shape drawing functions in C# and I am trying to resize DrawingGroup after drawing some shapes on it. Here is my code: ... How can I resize "drawingGroup"? Is it even possible?
by 9tontruck in Software Development ()
Member Avatar
Hi all, Been really trying to get a grips with objects in PHP. I think my lack of understanding isn't helping here! Basically, with the help of another user here I managed to filter some object values and add them a nice array. I used the following code: ... However, …
by James_43 15 in Web Development ()
Member Avatar
So, my teacher gave me this assignment to write a program to enter a four digit number Andries each digit of the number in a separate line. For example, if a user inputs 1234, the output should be: 1 2 3 4 I'm stuck. Please help ASAP. We have learnt …
by Adhya_1 in Software Development ()
Member Avatar
Member Avatar
I am moving an object around from one node to another. I need to tell the object to stop moving when it has reached its destination node. I am currently using this algorithm for movement and node checking if (!isFinished) { // If the level has arrived at the current …
by DaveTran 3 in Software Development ()
Member Avatar
Hello there, In my program I have an object of a class with some values, and I am trying to create another object, populate it to array and add it to my object. ... In DisplayClient Request i have an array passed to constructor of type AdvertisementType, and in AdvertisementType …
by Bartosz in Programming ()
Member Avatar
Hello. My question is very basic but I can not find/understand the answer anywhere. How check if the name-value "name": value in an object. I know that with Object.keys() method we can checking the names of the properties. I know too that with Object.name or Object["name"] we can see the …
by kouty in Software Development ()
Member Avatar
i know this has been posted many many times but ive been searching everything and looking over old posts but i still cannot figure this out and why it keeps reading it as non object heres my code ... my error is reading on line #87 i cant see what …
by Kevin_22 in Web Development ()
Member Avatar
Hello, I am having a problem with my application. I have designed a class - DisplayClientRequest which has a constructor and some setters and getter. Apart from this i built very simple JavaFX GUI application. For instance if I create a method in my DisplayClientRequest with paramteres, how would I …
by Bartosz in Programming ()
Member Avatar
Hello. My question is very basic but I can not find/understand the answer anywhere. How check if the name-value "name": value in an object. I know that with Object.keys() method we can checking the names of the properties. I know too that with Object.name or Object["name"] we can see the …
by kouty in Software Development ()
Member Avatar
// display records page wise code starts: $adjacents = 3; $tbl_name="feedback"; // $display = "SELECT COUNT(*) as num FROM $tbl_name"; $display = "SELECT COUNT(*) as num FROM $tbl_name"; $total_pages = mysql_fetch_array(mysql_query($display)); $total_pages = $total_pages[num]; /* Setup vars for query. */ $targetpage = "dispfeed.php"; //your file name (the name of this …
by kashif farooq in Web Development ()
Member Avatar
Hello guys, long time no see! i've put together a very small simple console base application that takes a date and a few strings and print them off. Let's look at the code first. Date.java ... then Patient.java ... and the testing class, PatientTest.java ... OK, so here are the …
by Violet_82 35 in Software Development ()
Member Avatar
Hello everyone, I have a shool project that requires me to design a cash register class that uses an inventory class and the cash register should perform the following steps: 1. ask the user for the item and quantity purchased. 2. get the item's cost 3. add 30% profit to …
by jdpjtp910 in Software Development ()
Member Avatar
Although objects collections have a place in the PHP world many years now , their use is now flourishing because more and more PHP programmers turn to OOP. This tutorial is a sequel of ... (we will refer to it as “previous tutorial”) and ... , in order to understand …
by jkon 385 in Web Development ()
Member Avatar
Heya guys, i've been learning python for few weeks now and it's one of the best decisions i have made in my life so far..it's quite an interesting language and very helpful for beginners, i must say..now i tried to do some tickling with django and somehow managed to install …
by NightOwl19 in Software Development ()
Member Avatar
Yes I did read these two posts. ... ... My case is a bit different because I'm using ... . This is what I have tried: ...
by COKEDUDE 13 in Software Development ()
Member Avatar
I have a program nearly complete - it creates a bank object which creates within it customers and accounts of multiple types and can successfully load this information to display on the screen. The problem is that I am now trying to deposit or withdraw a given balance which has …
by Elliander_1 in Software Development ()
Member Avatar
Hi, I am trying to open some dbf files and two of the three I am trying to open does so just fine, but the third one gives this error: "The Microsoft jet database engine could not find the object 'NewStructures'. Make sure the object exists and that you spell …
by tuesirth in Databases ()
Member Avatar
First off, here is the code I will be referencing: ... With this code a partner and I are finding different objects in our object arrays that we can then you to get information from that object for reporting and other data manipulations. In this FindObject class we have 3 …
by toxicandy in Software Development ()
Member Avatar
Hi guys, I can't get passed this error: Call to a member function bind_param() on a non-object. I have spent hours looking for insights, and can see that my $statement returns FALSE, but have no idea why? My understanding of PHP is limited, so it might help if I actually …
by James_43 15 in Web Development ()
Member Avatar
basically, I have some code defined to be executed in a restricted namespace: ... as you can guess... it fails how can I make it succeed?? really what I'm trying to do is collect the function definition for intellisense operations in my IDE. (basically I'm doing what other python IDEs …
by Tcll 9 in Software Development ()