132,724 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ZombieKnight93

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
Member Avatar for JamesCherrill
0
134
Member Avatar for Learner010

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++
Member Avatar for sidy
0
208
Member Avatar for andrewriebel

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
Member Avatar for andrewriebel
0
256
Member Avatar for coiseng

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++
Member Avatar for Moschops
0
477
Member Avatar for _Devower

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++
Member Avatar for tinstaafl
0
2K
Member Avatar for loody

Hi guys i am new here i want to help about: how to convert digit(number) into word for example: Enter a number:123 Output:one two three

Software Development java
Member Avatar for loody
0
224
Member Avatar for sk8ergirl

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
Member Avatar for sk8ergirl
0
163
Member Avatar for you207

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
Member Avatar for you207
0
695
Member Avatar for fheppell

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 …

Software Development assembly c c# c++ ubuntu visual-studio
Member Avatar for deceptikon
0
312
Member Avatar for Tewhano

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++
Member Avatar for Tewhano
0
198
Member Avatar for srikanth2321

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
Member Avatar for JamesCherrill
0
173
Member Avatar for sk8ergirl

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
Member Avatar for JamesCherrill
0
450
Member Avatar for anjijava16
Member Avatar for stultuske
0
361
Member Avatar for Kyle777w

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 …

0
317
Member Avatar for pythonnewbie16

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
Member Avatar for pythonnewbie16
0
253
Member Avatar for bullet_1

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
Member Avatar for Momerath
0
198
Member Avatar for laura301019

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
Member Avatar for laura301019
0
148
Member Avatar for Landoro

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++
Member Avatar for Moschops
0
464
Member Avatar for Girija_1

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
Member Avatar for mike_2000_17
0
134
Member Avatar for coiseng

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 << ": …

Software Development c c# c++
Member Avatar for kal_crazy
0
459
Member Avatar for PaulDel

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
Member Avatar for PaulDel
0
151
Member Avatar for Twee Nguyen

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
Member Avatar for Twee Nguyen
0
209
Member Avatar for dany12

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
Member Avatar for dany12
0
749
Member Avatar for stillmarooned

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
Member Avatar for stillmarooned
0
240
Member Avatar for anestistsoukalis

**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
Member Avatar for JamesCherrill
0
211
Member Avatar for Jerry_3

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#
Member Avatar for ddanbe
0
215
Member Avatar for Somee

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
Member Avatar for Schol-R-LEA
0
1K
Member Avatar for Richard_10

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 …

Software Development c c# c++
Member Avatar for mike_2000_17
0
293
Member Avatar for mavtcr

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
Member Avatar for mavtcr
0
244
Member Avatar for shifa.abbasi

cn anyone help me how to develpo a project on telephone billing system in c++

Software Development c++
Member Avatar for Ancient Dragon
0
149
Member Avatar for Start4me

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
Member Avatar for Seldar
0
1K
Member Avatar for aVar++

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
Member Avatar for aVar++
0
165
Member Avatar for darrylnuyda

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. …

Software Development c# listview mysql
Member Avatar for darrylnuyda
0
4K
Member Avatar for TheDude11

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 …

Software Development algorithm c++
Member Avatar for proctree
0
180
Member Avatar for cambalinho

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++
Member Avatar for cambalinho
0
347
Member Avatar for PINOY420

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
Member Avatar for Reverend Jim
0
95
Member Avatar for passant.elwasimy

2. Write a function that takes an an MxN matrix such that if an element in this input matrix is 0, its entire row and column is set to 0. void changeMatrix(int *Mat[],int M, int N)

Software Development c++
Member Avatar for ddanbe
0
70
Member Avatar for manel1989

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
Member Avatar for JamesCherrill
0
303
Member Avatar for glez_b

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
Member Avatar for vegaseat
0
9K
Member Avatar for bluehangook629

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
Member Avatar for bluehangook629
0
747
Member Avatar for alek.mieczkowski

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
Member Avatar for JorgeM
0
146
Member Avatar for sciprog22

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
Member Avatar for sciprog22
0
142
Member Avatar for jalmeida

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 …

Software Development dataset vb.net
Member Avatar for G_Waddell
0
200
Member Avatar for skyyadav

This is my output { { d: { a e } } { e: { b c d } } { b: { a e } } { c: { a e } } { a: { b c d } } } I used this to_string to print this …

Software Development java
Member Avatar for JamesCherrill
0
92
Member Avatar for Nebil

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
Member Avatar for G_Waddell
0
234
Member Avatar for ddanbe

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
Member Avatar for ddanbe
0
229
Member Avatar for bertha

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
Member Avatar for Ketsuekiame
0
131
Member Avatar for Nebil

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
Member Avatar for G_Waddell
0
211
Member Avatar for Judson

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
Member Avatar for Judson
0
1K
Member Avatar for fasanay

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 …

Software Development audio vb.net
Member Avatar for Gé48
0
690

The End.