199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for debee

Hi there, I seem to be having problems multiply two BigDecimal numbers without loss. Can anybody explain to me how to do this, please?

Member Avatar for debee
0
498
Member Avatar for jason0202

I'm trying to write a program which will always loop. Besides that, i also use a function called wait() within the loop. The wait() function is to make sure the loop runs once each second. But one problem arise: The program used up all my CPU usage until 98% all …

Member Avatar for jason0202
0
59
Member Avatar for jennyebrooke

I need to know how to have the user answer a question using yes or no and the program translating it into 1 or 0. I know this process involves a string... but anymore than that and I'm kinda lost. **Fixed second problem with the if else statement but still …

Member Avatar for jennyebrooke
0
182
Member Avatar for nickyspace

Hi I have issue regarding the mail, which is not sending to my mail account. 1. <html> 2. <body> 3. <?php 4. if (isset($_POST['email'])) 5. //if "email" is filled out, send email 6. { 7. //send email 8. $email = $_POST['email'] ; 9. $subject = $_POST['subject'] ; 10. $message = …

Member Avatar for nickyspace
0
110
Member Avatar for kalodakilla

i came into Assertion failure during running this program, and i really don't know why, hope you guys can help, thanks a lot ^^ The program is to copy a linked list from another, the Copy function may look complicated because i'm not experienced enough to simplify it.. Without the …

Member Avatar for kalodakilla
0
326
Member Avatar for jaepi

Hello there, is it possible for javascript to lock a mouse when you click on a button or a div? I was doing some google search but I failed to find a script for locking a keyboard or mouse. I just would want to add this feature on my site. …

Member Avatar for MidiMagic
0
437
Member Avatar for i_saw_some

does anyone know how to have IDLE or Ipython display a string with line breaks as multiline text in the display rather than a big string wrapped around with '\n's? Instead of [code] return false;\n }\n\n function validPeriod() {\n for (var i = 0; i < periods.length; i++) {\n [/code] …

Member Avatar for i_saw_some
0
87
Member Avatar for xRuP7uR3x

Greetings everyone. I have been working on a script to convert a number from any base to any base up to base62. The user supplies the original number, the starting base, and the end base. My problem arises when converting the fractional part from base10 to the end base; the …

Member Avatar for jrcagle
0
156
Member Avatar for Abhijnan

Hi, Can any one help me out with a code which will take data from a CSV file and form a XML?

Member Avatar for choudhuryshouvi
0
136
Member Avatar for rajeshkhanna_in

HI all, Durig my development of a software I require a OLE field in MS Acess table, which is supposed to have MS Word documents stored in it. Can anybody help me in telling how to display, edit, save and retrieve the OLE Field in MS Access from within VB …

Member Avatar for rajeshkhanna_in
0
145
Member Avatar for rje7

in turbo C++ there is a function called delay(); and in microsoft compiler i guess it is sleep or msleep. what could be the possible equivalent function which can be used when compiling in GCC. using the looping technique will give different time difference in different machines. is it true? …

Member Avatar for rje7
0
349
Member Avatar for mnv29brt

[COLOR="Red"]Poly.h[/COLOR] [code=cplusplus] #include <iostream> using namespace std; #ifndef POLY101 #define POLY101 class Poly { [B]private:[/B] int order; double *a; // Coefficient vector -- a[0], a[1], a[2], ..., a[order] // to represent a[0] + a[1]*x + a[2]*x^2 + ... public: Poly(int = 0); // Default constructor Poly(const Poly &p); // Copy …

Member Avatar for dougy83
0
4K
Member Avatar for Black Magic

Hi, i was looking on the practise question sticky and i came across this question, Write a program that allows you to input students' scores and weights. The program should then calculate a weighted average and score based on the data inputted by the user. (Beginner) I'm not going to …

Member Avatar for chiwawa10
0
113
Member Avatar for moose41

Hi all, I'm new here, but I've been designing web pages for a while. I just have a few questions regarding pull down menus. I want to design my own (learn the concept etc.), but I'm kind of confused on what to use to make them: Jacascript, ASP, DHTML? What …

Member Avatar for rafael.franco
0
275
Member Avatar for Exo1337

Im stuck on this problem for an assignment and am looking for a push in the right direction. Write a value-returning function, isVowel, that returns the value true if a given character is a vowel and otherwise return flase.

Member Avatar for vmanes
0
209
Member Avatar for Killer_Typo

I need help with this script i got from dynamicdrive.com my main issue is, that besides folding out like that, i need it to swap the image too. because i have created open and closed states for each of the buttons on there. i need it to do the current …

Member Avatar for rafael.franco
0
243
Member Avatar for nurulshidanoni

If i have 2 array contains data 1 50 2 30 3 40 4 70 if I want to sort in descending order which take nombor and data together... 4 70 1 50 3 40 2 30 How???

Member Avatar for nurulshidanoni
0
89
Member Avatar for NycNessyness

Hello guys. I needed some help with my calculations. I'm having a problem with having my output display the total amount. I believe the problem is coming from trying the float calculation.

Member Avatar for NycNessyness
0
104
Member Avatar for rsk8332

In my program, I pick a pivot p from a database S of strings, compute the median r of the distances of the string objects to p and then divide the objects into roughly equal-sized subsets S1 and S2 as follows: S1={o ε S \{p}|d(p,o)<r} and S2={o ε S \ …

Member Avatar for rsk8332
0
125
Member Avatar for nelledawg

Hey guys, I'm trying to work on this switch menu and I'm not sure how to call a function with parameters from a case statement. Here is the code for my program so far (not finished with the actual program... Just need help with calling functions from the menu, so …

Member Avatar for nelledawg
0
268
Member Avatar for harryl5

I am currently working on creating a new game using VB.NET 2.0 framework in visual C++. Does anyone know of any Visual C++ codes I could use to help? I have also downloaded the Dark GDK gaming extension for visual C++ 2008 can anyone help me?

Member Avatar for ptaylor965
0
98
Member Avatar for flynismo

Have been searching all over the web for this, no luck yet.... I'm starting a site, obviously have no members yet. But, the amount of members I have will be important in attracting new members. Where can I find an automated profile generator, or can someone point me to a …

Member Avatar for kevindougans
0
104
Member Avatar for pratap89

:( Experts I am a civil Engineer trying develop a project in VB-6 for irigation management.Please help me to run a fortan77 program in VB6 environment using data file from user in runtime. Minimum Give me real steps and code .Kindly help me. Pratap

Member Avatar for Ancient Dragon
0
94
Member Avatar for complexcodes

I have to write a program that created 2d array but store all data in a dynamically allocated 1d array. I have function definition and I know how to write up other functions but I need to overload operator() to aceess the array. Here is the definiton : [CODE]public: Array(double,double); …

Member Avatar for vmanes
0
534
Member Avatar for tformed
Member Avatar for dougy83
0
89
Member Avatar for clueless101

I need to design an Ages class with fields to hold 3 ages and includes a constructor, accessor and mutator method. Also needed is a method that returns the average of the ages. I also need to write a demo class that creates an instance of Ages class. The demo …

Member Avatar for clueless101
0
148
Member Avatar for digiman

Hi Guys, I am trying to read each line from a file into a Sybase database table. I'm trying to implement string tokenization so i can format each field correctly because i was getting datatype violations :S The code I have is: - [code] if ((infile=fopen("datafile","r")) == NULL) { printf("Unable …

Member Avatar for Ancient Dragon
0
143
Member Avatar for ITKnight

Please see my code : [CODE] using System; using System.Collection.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void cmdtam_Klik(object sender, EventArgs e) { string cstr; cstr = "data source=knight;initial …

Member Avatar for Jx_Man
0
404
Member Avatar for sopel39

i'm writting some kind of intelligent pointer suppose user put const Class as typename T. how to remove const part of T?

Member Avatar for Narue
0
96
Member Avatar for Jen24

Hey everyone, I'm a brand new member who is desperately trying to pass a class in VB.Net. My problem is that I need to create a program that allows the user to select a name from a ComboBox, this selection will trigger an image change in a PictureBox. I've set …

Member Avatar for bwkeller
0
112
Member Avatar for minamoda

Dear friend it is days that i couldnt find any solution for my problem. I use: [CODE] while ((line = reader.readLine()) != null){ StringTokenizer tokens = new StringTokenizer(line," "); System.out.println(tokens.nextToken()); } [/CODE] this loop for reding all inputs of file but this loop only shows the irst token of the …

Member Avatar for minamoda
0
74
Member Avatar for gsanson-2019

I've got a problem in that I have a dll I've created and most of the functions work without any problem. There is only one function that throws the exception stated in the subject, NoClassDefFound. I've checked the classpath along with all the other things I can think of, obviously. …

Member Avatar for gsanson-2019
0
94
Member Avatar for aran87

hello people i basically i need some information ive got a booking website which allows users to book a hotel room but once they book the room i dont want that room available to anybody else, im using Mysql databse linked to php, in the database i got a colum …

Member Avatar for phper
0
122
Member Avatar for firebirds98

Im getting a NullReferenceException when I goto add a product to my cart, i get the error when i come to this part [CODE]cart.AddProduct(productnumber, name, price, prodQty, knobColor, finishColor)[/CODE] I use extremely similar code in another one of my projects and do not come across this problem, I have also …

Member Avatar for harivb
0
156
Member Avatar for Mr.Wobbles

I am writing a program that will take input from the user in the form of a tree-view and create a form and a database based on the tree-view. I have everything working except the group-box control for the boolean expression. I will give a sample code of the text …

Member Avatar for Mr.Wobbles
0
144
Member Avatar for piyush09

please help me in finding the proble in the following code import java.awt.*; import java.awt.image.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; class button extends JButton { public button(String s) { setName(s); setVisible(true); } } class label extends JLabel { public label (String s) { setText(s); setVisible(true); } } class loginform …

Member Avatar for piyush09
0
228
Member Avatar for wonder_laptop

Im taking an operating system course. i understood the code that solved the consumer - producer problem using semaphores. but what i didnt understood is where do we use these codes...what kind of processes uses this code ?

Member Avatar for Salem
0
105
Member Avatar for awoc

The following steps describe how to derive the approximate area of x^2: 1. Determine how close the approximate area needs to be to the true area (tolerance): User Specified Accuracy Difference is LESS THAN accuracy = 1 0.5 X 10-1 = 0.05 accuracy = 2 0.5 X 10-2 = 0.005 …

Member Avatar for Salem
0
85
Member Avatar for mrcniceguy

Can anyone show me how i can view the images which i sent to msql database, i open the msql console, and type the folowing but nothing displayed: >SHOW DATABASES; >USE photos; >DESCRIBE image; >SELECT id,image FROM image; then the id displayed â„– 1,2,4,5,6,7,8,9 numbers of images i sent to …

Member Avatar for mrcniceguy
0
115
Member Avatar for kalodakilla

i don't know if i should post it here or in C++ , but please help me, i came into Assertion failure during running this program, and i really don't know why, hope you guys can help, thanks a lot ^:)^ The program is to copy a linked list from …

Member Avatar for Jx_Man
0
90
Member Avatar for Jmafia

It is always possible to create a Vb program and Hide its Visibility or make it not to appear on the task bar. But what is eating up my mind is how to make it not be seen with the taskmanager!!

Member Avatar for Jx_Man
0
55
Member Avatar for maydhyam

Hello, I need some help....I have to create part of an application that uploads an MS Excel file, and stores the data into a MySQL db...and I have no clue where to start...

Member Avatar for Ezzaral
0
114
Member Avatar for knowledgelover

Hi there, I am developing a simple application using C#, which perform simple function to the user, it must save some information about the user , the info needed to be permanently saved (but could be changed from time to time by the user) but the application cant work unless …

Member Avatar for JerryShaw
0
109
Member Avatar for jason0202

Hi everyone! I'm trying to write a program which can run a loop without interrupt but still can accepts input from user anytime. My program is like this: A bunch of word will drop down(using looping) User have to enter letters for each word but the words will still continue …

Member Avatar for jason0202
0
87
Member Avatar for twelvetwelve

My code only inserts the last value of the array into the database column. Even though when it runs for the foreach loop it echo's each of the expected values out of the array. I'm pretty new to PHP so I'd be grateful for any help with this. Thanks NH …

Member Avatar for nav33n
0
131
Member Avatar for queenc

hi the below code is used to read a uploaded file and print the first three lines in a document, it is working fine in a txt file .i have written the else part for doc file....it is working but junk values are also getting printed [CODE] <?php $lines=file('http://www.wb.com/judson.doc'); $lin …

Member Avatar for ultra vires
0
77
Member Avatar for kevin wood

the problem i am facing is that i need to set a page which has mysql in it to retrieve images from a database as a newsletter. i am at the stage where i have all the application set up and it works how it is meant; but it will …

Member Avatar for kevin wood
0
79
Member Avatar for denniskhor

[code="Java"] public void actionPerformed (ActionEvent e) { String hostServer, fromEmail, fromTo, contentSubject, contentMsg; if (e.getSource()== btnSend) { hostServer=txtHost.getText(); fromEmail=txtFrom.getText(); fromTo=txtTo.getText(); contentSubject=txtSub.getText(); contentMsg=msgArea.getText(); // Establish a TCP connection with the mail server. Socket soc = new Socket("" + hostServer, 25); // Create a BufferedReader to read a line at a time. …

Member Avatar for Ezzaral
0
190
Member Avatar for chicago1985

What advantage does PHP have over Cold Fusion besides being free and Cold Fusion cost money. I see alot of examples of procedural scripts in PHP whereas Cold Fusion has MVC framework type Fusebox with its standard installation. Does PHP have anything like that with its standard installation?

Member Avatar for ultra vires
0
78
Member Avatar for iamfrank

I'd like to learn about making an RPG old style like Final Fantasy on NES. But I don't know where to start ! I'm ready to put the effort needed in it, but can someone help me get started ? I don't have problem with the story or thing like …

Member Avatar for iamfrank
0
88

The End.