Member Avatar
I'm in a Java class we are using netbeans to create a program. I have the code in and it builds but it will not run. Can anyone assist
by lo022 in Databases ()
Member Avatar
Hi All, In below design i would like to know the appraoch of deletion the base class pointer deletion.It is pritty clear that deletion of base class object obj won't take place inside Draw destructor. Apart from this same code i have tested using unique_ptr and as expected it is …
by can-mohan in Software Development ()
Member Avatar
Hey I'm pretty new to C++. I'm taking a class on it now but I don't know how to make sounds in C++... I've done QBasic so I have a little programming background. I'm right now thinking of what to do for a program, and it largely depends on if …
by Demetrius in Software Development ()
Member Avatar
PLEASE NEED HELP WITH THIS HOMEWORK.... THANKS THE FOLLOWING CODE PERFORMS A SNAKE GAME USING GRAPHICS.H LIBRARY IN TURBO C++ COMPILER... PLEASE ADD TWO MORE FEATURES... USING AN "+" CHARACTER TO INCREASE VELOCITY OR REDUCE DELAY AND ALSO AN OPTION TO RECORD HIGHER SCORES. PICTURE: THE FOLLOWING CODES NEED TO …
by andyherebi in Software Development ()
Member Avatar
Hi, I'm still practice learning Python. I have a litte homework, make Class method, Class Date and Class Delta without using import. it must be like this... ... ... ... ... ... ... ... ... must be tuple and without import. I'm using python2.7 If i using two init or …
by templar77 in Programming ()
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
How to combine two class? so the output can be equal... here's my code.. ... this code will make output... ... Wrong output.. because, the output must be equal, like this... ... Note: This is my homework, not allowed using ... ... python2.7 thanks before :)
by linda777 in Programming ()
Member Avatar
Hi. Im trying this java program that's suppose to register the "staff"'s "car" and there's this boolean method that I don't know how to solve. There are 3 classes: Tester, Staff and Car. the boolean part is suppose to check if the staff has 1 or 2 cars registered and …
by nadiam in Software Development ()
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
Hi, recently I am taking part in a project which using data-id and data-type to perform script selection. I had read a few articles regarding the issue 'HTML5 Custom Data Attributes ' including ... I am here asking opinions on the usage of difference in performance, tidyness of code and …
by lps 71 in Web Development ()
Member Avatar
... Two classes defined above. Now I want to create a vector of type ... further I want to use the vector features using the vector container. How i can create a vector container having two class objects ? please help me.
by prahesh in Software Development ()
Member Avatar
Hi there, I have a class definition like : ... I have list of all students. I want to get count, average, min, max etc using IntSummaryStatistics. Below is the code for sub1: ...
by prakash2813 in Software Development ()
Member Avatar
Another common statistical measure is the standard deviation, which provides an indication of how the indivdual values in the distribution differ from the mean. to calculate the standard dev. whose element are x1, x2.....xn you need to perform the ff steps a. calculate the mean of the distribution b. go …
by michael_51 in Computer Science ()
Member Avatar
Write a C++ program that reads in two partially filled arrays. One array contains student IDs (with int type) and the other contains GPAs (with double type). The program will sort the two arrays according to the student ID and print out the results.
by Noureldin_1 in Computer Science ()
Member Avatar
Hi, I was using booleans earlier in my class. --> isProductRestricted --> internal --> isProductGlobal I am using lombok too. So putting @Data at the top of class too. But, now I changed these boolean to Boolean variable. I got errors where ever ... was used. I am not getting …
by nitin1 15 in Software Development ()
Member Avatar
Hey, I have one class Company and one Item class which is an object in Company class as shown: ... So, many class inherits the Company abstract class say ClassA, ClassB, ClassC. So, ... So, now when I declare a variable of ClassA say: classAObj . I called: ... Now, …
by nitin1 15 in Programming ()
Member Avatar
Hey I just found this site because I have been working on a program to make answer and create questions to the game 24. (24 is a game where players are given 4 numbers and by either adding, subtracting, multiplying and Dividing the given numbers the number at the end …
by spoch in Software Development ()
Member Avatar
Hi there, i have a ball: void ball (void) { glColor3f(0.0, 1.0, 0.0); //set ball colour glTranslatef(0.0,0.0,1); //moving it toward the screen a bit on creation glutSolidSphere (0.6, 7, 7); //create ball. } I am trying to get the ball to move in a direction when i press theJ key. …
by thehivetyrant 2 in Software Development ()
Member Avatar
hi! I haven't been here in a while, but i'm glad you're still around since I need some help! I've got to implement a round-robin simulation of process execution. I've decided to do this in VB.NET because it's my strongest language and it's a difficult concept! I've got some of …
by SelArom 9 in Software Development ()
Member Avatar
Hey guys. I seem to be having a problem with my code. ... i keep getting this error, class, interface, or enum expected for line 77. I am sorry if this problem is very easy to solve, I am just starting to learn java and I would appreciate any help …
by WarriorsFan510 in Software Development ()
Member Avatar
I've an abstract class Area, which is subclassed as Province, Division, District and City. Now, I need to specify in the City class in which district this city exists. So, I will have an instance of District class inside City class (Composition), so that I could pass id of a …
by Mohsin01 in Software Development ()
Member Avatar
I have a Points class and a Segment class as follows: ...
by ztdep -8 in Software Development ()
Member Avatar
This program displays a simple analog clock to show the current system time. Uses a Hand class to create objects - hour, minute and seconds hands.The 'hands' are just straight lines, and two circles make the 'frame' of the clock. Compiles correctly on TurboC++ v3.0
by vicky_dev 12 in Software Development ()
Member Avatar
Member Avatar
Hy Guys,I Need Your Help Regarding This Question.. I run this Program on Dev c++ and Compiler did not Show Error but During INput I can not input Name and Address in both student class and School Class.. Sorry For bad English.. :) ...
by Muhammad_102 in Computer Science ()
Member Avatar
Hi,i want to use this ClassParser to parse another file(class) in another package , in my code i used ClassParser to parse only existing file (class) in existing package ,,,how can i use it to parse any file and from any package ,if i can't use it ,is there any …
by Mar. Na. in Programming ()
Member Avatar
I have the code for my InventoryManager class, my Product class, and my InventoryApp class . Based off this code, I need someone help me correctly call the methods I already have in place. There is a section where the method is supposed to be called and I have made …
by jjones0150 -3 in Computer Science ()
Member Avatar
Hi, I guess I'll post here with my problem as well my introduction. I've coded in Java in high school for 2 years but my teacher was horrible so I decided to wait till college to take another programming class. Well I'm Programming Fundamentals and have been assigned a program …
by Megaz221 25 in Software Development ()
Member Avatar
Can anyone please look at code and tel what is issue in ... Computer::show(); which is a base class member is not being called here.Compute::show() is define in below code. M using cfree boorland 5 compiler. orignal code is below ...
by me vicky in Programming ()