132,724 Archived Topics
Remove Filter ![]() | |
I am havin an issue with the findVolume for the sphere part. It seems to ignore the "4/3" part but calculates everything else. Is there a way I can make it include this function? Here is the code: public class Sphere extends threeDShape{ double r; public Sphere(double x, double y, … Software Development java | |
i have a question that is this possible to create database application through c++ ? don't be confused in database application and file oriented application . if yes, then how can we create database application ? Software Development c++ | |
Hello, all. I'm creating a program that lets a user play Hangman. I've attached the directions for the program for clarification. My code is pasted below. I've set up a couple methods for it, but I'm having difficulty in understanding how to call these methods in the main class (assuming … Software Development java | |
Hi all, I need some help regarding dynamic vector. Shape2DLink.cpp void Shape2DLink::InputSensor() { string shape,type; cout<<endl<<"\n"<<"[ Input sensor data ]"<<endl; cout << "Please enter name of shape: " << endl; cin >> shape; shape2D.setName(shape); cout << "Please enter special type : " << endl; cin >> type; shape2D.setWarpSpace(type); if(shape == … Software Development c++ | |
Hello, I've searched around and found similar threads to my question, but haven't really found something that has helped this concept click. I'm trying to create 4x4 array that holds 8 pairs of numbers in randomly generated spaces. For example, the array: 1 1 2 2 3 3 4 4 … Software Development c++ | |
Hi, I'm working on my assignment there are two parts of the assignment first part was to create class (ClassOne,ClassTwo,ClassThree,ClassFour,ClassFive) ClassFive extends ClassTwo and ClassTwo is abstract the secod part is to add the iobserver and iSubject , but I don't know how to implemet this part in the UML … Software Development java | |
Im new to java and I need a little help. I store the usernema, password and name in user.dat file. The user enters his usernema and password , if its a match it prints his name on the screen. If its not a match the user is asked to register-add … Software Development java | |
I have some c# code using the tweetsharp library and when I run it with mono it gives this error: Missing method .ctor in assembly /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/TweetSharp.dll, type System.Runtime.CompilerServices.ExtensionAttribute Can't find custom attr constructor image: /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/TweetSharp.dll mtoken: 0x0a000019 Missing method ToList in assembly /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/ConsoleApplication1.exe, type System.Linq.Enumerable Unhandled Exception: System.IO.FileNotFoundException: Could not … | |
This is not a problem that needs to be solved but a question to understand C++ code better. I have an assignment that has a class to get a date input where the validation for leap year is a member of. I found many examples online and one stands out … Software Development c++ | |
Hi, below is the code which I'm using to update a jar, unfortunately it is not updating the jar file which is in use by some program. I mean the jar itself has this code to update it's own file. The code is working if I want to update another … Software Development file-system java | |
Hi, When I tried to run my main in netbeans I got this error java exception in thread "main" java.lang.UnsupportedClassVersionError I'm using netbeans 7 (macbook) ..what I tried to google the error and some people said that the Java Runtime is diffrnet than the JDK .. how can I solve … Software Development java java-netbeans | |
how to find 2nd largest array if array values like{10,20,92,81,92,34} Software Development java | |
Hello, I've got a question about a project in my operating systems class. The task was to create a program that lets the user choose a variety of cpu scheduling algorithms and simulates them with random data or data from a file. I've already done it for first come first … Software Development c++ motherboards-cpu-ram operating-system | |
Hello fellow programmers, Im quite new to python and im trying to create a multi question quiz. I will paste my code below and it keeps saying I have syntax errors everywhere but I try and fix it and it simply hops to the next line. Could someone please tell … Software Development python | |
I am using following code to split a text file where the file path is provided through textbox string[] allFiles = System.IO.Directory.GetFiles(@"textBox1.Text); foreach (string file in allFiles) Regex.Split(textBox1.Text, {"<ty>"}); but getting an error My need is read a large text file and split it based on <th> tag and save … Software Development file-system regex | |
I am attempting to code an electronic appointment system in C#. What I was hoping to accomplish would be a web page that would display times down the side and dates along the top (3 days at a time). when a user selects a time on a date it will … Software Development | |
Hello guys and gals :) I admit I don't know whether there is a way to create a dynamic array of objects. I have a task to read a file with the structure: body_id x_low x_high y_low y_high z_low z_high body_id x_low x_high y_low y_high z_low z_high body_id x_low x_high … Software Development c++ | |
I have an issue with my code ... my below code is createing databases(database here is a kd tree) and indexing one image per database. i have two classes LastDatabaseTndexingPolicy and another forwardingDatabaseaccessor.cpp . I am calling the GetDatabaseToAccess() function from forwardingDatabaseAccessor.cpp class .GetDatabaseToAccess() function is present in LastDatabaseTndexingPolicy class … Software Development c++ database-design | |
I'm just curious why my application actually crashes after it compute the area of a cross. I output is correct but it crashes after it calculation is done. cross.cpp void Cross::setCrossCord() { for (int i=0; i<=12; i++) { cout << "Please enter x-ordinate of pt " << i+1 << ": … | |
I am trying to load multiple jpeg files into java using BufferedImage. I can load and display one file using; BufferedImage loadImg = loadImage('trial0001.jpg); When I try to add a second file, all I get is error messages. Thoughts please. Thanks Software Development java | |
I just begin studying Java programming language and I want to solve cubic equation, but I do not know how to solve it and count the cubic root in java. Could you help and guide for me, please?? Thank you so much! Software Development java | |
I have a thread in the php area but my question is from python and php world a like so I would like some input form you guys on python part. [PHP Python web future](http://www.daniweb.com/web-development/php/threads/466242/php-framework-or-python-framework) Thank you. Software Development python | |
Greetings community Excel Errors: Unreadable content error in excel 2010. I have gone to many web sites in the past month or two and not able to solve this error. I dont have a pivot table. I hope somebody will direct me to right solution. Thanks Software Development microsoft-office | |
**Hey there ! Here is my question:** I am facing with an easy problem i think. I am creating 4 objects. Then i make an ArrayList in which i am storing the 4 objects. The excercise is to delete the objects that are the **same(equals)** and then sort them by … Software Development java | |
I have made this form and my teacher wants me to change some of my code to where Each of the mortgage calculations which are presently in the Execute Button Click event are to be moved into their own method which will be called in the button click event. What … Software Development c# | |
Hi Everyone, I need to create a quiz game similar to “Who Wants to be a Millionaire?” in PYTHON by using a graphical user interface (GUI) in Pygame, but I am not sure how to start? Any assistance would be greatly appreciated!!!!Thanks a lot!!!! Software Development gui python user-interface | |
I am using the 3 files of code from the C++ book Chapter 11 and 11.8 Case Study:A Date Class with both cpp files and header file my questoion is how do i (add overloaded operator for "--" (pre and post), "-=", and ">>". For ">>", user expected to type … | |
Friends, I have a Database in Access, Table Name- Master . Structure is given below Mno=Membership no in digits Name=Member's Name Fno=Family number in digits Fname=name of the family Faddress=Address of family Fphone=Telephone of Family The database contains several records where some members come under the same family.In other words,Suppose … Software Development visual-basic | |
cn anyone help me how to develpo a project on telephone billing system in c++ Software Development c++ | |
I was thinking if it would be possible to create a JFrame, and make the title of it to change, such as make the title work as a counter that will display some text like: The window was opened for 1 second. The window was opened for 2 second. The … Software Development java java-swing | |
Hello, I have a countdown timer. The countdown timer counts down in miliseconds. I have worked out hours by using the sum: (((millisUntilFinished / 1000) / 60) / 60) Now minutes, I did this today and I seriously can not see how minutes works, but it does, here is what … Software Development java | |
Helloo, Good day Everyone, Can I anyone help me? Here is my problem. I am newbies in C# development, I am Interesting to learn, searching to google and go to youtube, download lynda tutorials it's help a lot of me. But I'm on the problem that I can't not resolve. … | |
So I need help creating a RPG program for my class. Below I posted what is needed...Any help is greatly appericated!! ***Unit 13 Graded Programming Assignment - RPG Game*** You are to create an RPG for your programming assignment. This program: needs to use at least one vector needs to … | |
by some reason the TextOut() function don't show me the text:( but see these code: #include <iostream> #include <string.h> #include <windows.h> using namespace std; int main() { HDC a=GetDC(GetForegroundWindow()); cout << GetLastError();//i get 0(no errors) Rectangle(a,3,4,3+80,4+20);//the rectangule is showed TextOut(a,10,10,"hello world",strlen("hello world")); cout << GetLastError();//i get 0(no errors) cin.get(); } … Software Development c++ | |
here is a screenshot of my system.i dont know what is the error i put the code on line 7 correctly.anyone can help? thanx the line 7 is con.ConnectionString = "provider = microsoft.jet.oledb.4.0;datasource = ..INVENTORY1.mdb" Software Development vb.net | |
hi everyone! I would like to know how you can put a matrix that came from c + + code in the Java console in an matrix in java. In fact, I send parameter to my c + + code from the java code, and the receipt of income is … Software Development java | |
I have el next dataframe from pandas import * from numpy import * data=read_csv('enero.csv') data Fecha DirViento MagViento 0 2011/07/01 00:00 318 6.6 1 2011/07/01 00:15 342 5.5 2 2011/07/01 00:30 329 6.6 3 2011/07/01 00:45 279 7.5 4 2011/07/01 01:00 318 6.0 5 2011/07/01 01:15 329 7.1 6 2011/07/01 … Software Development python | |
Hello, I have created a report using SAP Crystal Report on Visual Studio 2010. As datasource, a interal dataset is used to populate the report which is included in my project. Everything seems to work fine until during runtime when I load the report onto the report viewer, it keep … Software Development dataset vb.net visual-studio | |
Hi All, Im working on a project for work, and part of this project is getting the IP from a host and translating it into Lattitude and Longitude(code for this is below). The problem I am facing currently is that when I try to get the IP, I get "::1" … Software Development | |
Hello, I am testing the following applet on my webpage: import javax.swing.*; public class Hello extends JApplet { public void init() { JOptionPane.showMessageDialog (null, "Hello World"); } } My Hello.html file from BlueJ: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- This file automatically generated by BlueJ Java … Software Development java java-swing | |
Im puzzled, the thing is, i have a software that was running ok, with a connection of to access 2010 db. A rotine to add a customer, to the database that was already coded, started to fail. saing that the insert method of the tableadapter was not avalaible. the tableadapter … | |
I wanted to multiply two values from two different tables. I have a quantity filed stored in one table and a unit/rate field in another. How can i write the sql statement based on a condition and store that multiplied result for further actions. Software Development vb.net | |
Greetings. Is there an easy way for an app to find out at runtime, if it is a console app or a form app? Any answer would be greatly appreciated. Software Development | |
Hi Guys i am working on quiz test,but i have stuck on next flag question button ,my code is not working at all.Can any body assist me please private void btnNextFlagQuestion_Click(object sender, EventArgs e) { i=0; for(i = 0; i<10;i++) if(i<10) MessageBox.Show ("messagebox you have finished" ); } if (User_Answer[] … Software Development | |
H guys, I just faced a probelm with my code.It raises an exception.This is the code. conn = oSubPayItemDescription.GetDbConnection() cmd = New OleDbCommand("SELECT [sub_pay_item_quantity].[quantity],[sub_pay_item_unit_rate].[rate] FROM " & "[sub_pay_item_quantity],[sub_pay_item_unit_rate] WHERE [sub_pay_item_quantity].[sub item]=[sub_pay_item_unit_rate].[sub item] AND " & "[sub_pay_item_quantity].[sub item]='" & subItem & "' AND [sub_pay_item_quantity].[bridge type]='" & bridgeType & "' " & … Software Development vb.net | |
Hello I am working on this code for a hotel reservation. so far I am stuck on the part which requests that fridays and saturdays be charged 150 instead of the 120 usual cost per night. I have dateTime variables for the arrival date and departure date and a timeSpan … Software Development microsoft | |
Hi Guys / Gals - Is there any way to track your AxWindowsMediaPlayer1 when it reaches the end of the Playlist, I am doing a Play / Pause Button but it goes on looping the playlist endlessly, so I was just hoping if I can know it has reached the … |
The End.