199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for alvalany

I just completed learning C . Now i would like to do something better. Wish to try a new language.The problem is that i cant select which one. Whether Visual C or JAVA or python ...... Also i would like to know the differences between Visual C and C.. Being …

Member Avatar for inspiron630
0
109
Member Avatar for lehe

Hi, I was wondering how to debug python script without adding pdb module to the script file. Say, I have a script test.py without adding "import pdb" and "pdb.set_trace()". Can I debug it in Python running in terminal by importing pdb there? How to set up breakpoints and start the …

Member Avatar for Outdoor83
0
145
Member Avatar for carl9999

There's an error regarding the scanner and i'm honestly not sure how to make it work i'm using javac as a compiler, please help me solve this issue, ive been trying for hours [code]import java.util.*; public class testing { public static void main(String[] args) { String forename; String surname; String …

Member Avatar for carl9999
0
100
Member Avatar for ayan2587

hi Guyz... need some help here... i want to input an integer but it can be either in hexadecimal form or in integer form. the problem is that i would like to store that input in that particular form and separate all hexadecimal values in to an array. for ex: …

Member Avatar for ayan2587
0
331
Member Avatar for ShailaMohite

Hi I am create one application in which add some selected images into flowlayout panel.how to select particular image from flowlayout panel and remove this selected images from flowlayout panel Regards, Shailaja

Member Avatar for Geekitygeek
0
6K
Member Avatar for DC257209

[code=C++] // //********************************************************************************** //File Name: averages.cc //Description: Calculate the smallest, largest, and the average of the input values. //Date: 10-6-09 //********************************************************************************** #include <iostream> #include <string> using namespace std; int main() { string line; int min=2000000; int max=0; double avg; int next; double sum = 0; double count = 0; cout.setf(ios::fixed); …

Member Avatar for mrnutty
0
145
Member Avatar for bmiles2001

I have a GridView posting what is in my database and I have the DeleteCommand working as I want it, however, the Update Command is not updating. The if statement in mySQLDataSource "says" it's updating, but that is not the case. I have also tried adding in DeleteMessages.DataBind() thinking that …

Member Avatar for bmiles2001
0
550
Member Avatar for Oritm

I created a map<string, void*>. The void* used to store an Object from a class called Window. I can cout a string with the following: [CODE] it = windowMap.find(title); if( it != windowMap.end() ) { cout << "Value is: " << it->first << '\n'; } else { cout << "Key …

Member Avatar for Oritm
0
67
Member Avatar for srinivas.k

Hi I was searching through the net and found this exciting web-development forum. I need to design a database for "problem" section --one of the tab in our website. The contents are It has got Table of contents: list of all chapters chapter 1 - chapter 16 and each chapter …

Member Avatar for vjwilson
0
87
Member Avatar for kat1

I am using java.io package in my j2me programe in order to use PrintWriter but package does not show PrintWriter option nor it shows BufferedReader option , why this happen ??i do not know.if any one knows the solution plz tell me.is it require any specific library???? plz help me …

Member Avatar for sincerelibran
0
112
Member Avatar for Teethous

[TEX]Hey everyone, I am having a problem with converting my character array. The program runs, but in the display box I get little squares instead of a string. The program should display the first char of the fist name, the first five of the second name and a random number …

Member Avatar for Teethous
0
181
Member Avatar for SKANK!!!!!

how can i use [URL="http://www.w3schools.com/HTMLDOM/met_win_setinterval.asp"]setInterval()[/URL] to make a slideshow of images with the code i have now that only has thumbnails that display in one big div(larger pic of the thumbnail) when the thumbnail gets hovered over.(onmouseover) this is the javascript function.: how can iuse set interval to make the …

Member Avatar for SKANK!!!!!
0
312
Member Avatar for nandkishorenair

Hi all, I have an IIS problem. I have both VS .Net & VS 6 on my machine. Due to the "snap-in not initialized error" , I had to re-install IIS. But now, my .Net applications are not running... Is it necessary that I have to re-install my .Net framework?

Member Avatar for jaga85.ram
0
118
Member Avatar for DoEds

I dont know how to pass a value from the function [ICODE] total();[/ICODE] to [ICODE]main()[/ICODE]...i want get the value of the [ICODE]prod[/ICODE] and assign its value to bill...But this code i have will only redo the function [ICODE]total() [/ICODE]...Anyone can help please?. [ICODE]#include <stdio.h> #include <conio.h> int header(); int choices(int); …

Member Avatar for DoEds
0
138
Member Avatar for ayesha789

HI, I am developing a Inventory Management Databse in PHP/MySQL. There are 3 fields 1. Item_Code 2. Serial_No 3. Quantity For Example: if Item_Code is fan02 and quantity 10 then each item quantity have a unique serial no. How i can develop a form for user, Who can insert item_code …

Member Avatar for network18
0
127
Member Avatar for hi.meral

I want to access one control of FCK through a html button (out side of fck) when we click on 'Paste as Plain text' image of FCK editor a popup window named `Paste as Plain text` is displayed I want to open that `Paste as Plain text` pop up window …

Member Avatar for hi.meral
0
81
Member Avatar for scuzzo

This is a problem that is killing me. It is a school assignment and I can't figure it out so any help will be great. I have eleven questions, and I have five of them answered. I have these tables with these fields: Table:sales_rep Columns:Last|First|Street|City|St|Zip_Code|Total_Commision|Commision_Rate Table:customer Columns:Last|First|Street|City|St|Zip_Code|Balance|Credit_Limit|slsrep_number Table:part Columns: Part_number|part_description|Units_on_hand|it|warehouse_number|unit_price …

Member Avatar for debasisdas
0
264
Member Avatar for Facte

Hi there everyone. I have a script that has been written to generate a feed for sites that mine links to. It is supposed to return all jobs from my mySQL database that have not expired. No matter what I do I can only get it to display all jobs …

Member Avatar for Atli
0
120
Member Avatar for DoEds

Am i writing the correct pseudocode? Im confuse in pseudocode for while statement. [CODE] Start declare variables; print “choose account types”; read choice; if choice = ‘a’ then while n<=3 print userid and password; read userid1 and password; a = strcmp(u,userid1); b = strcmp(p,password); if a = 0 and b …

Member Avatar for ksj
0
133
Member Avatar for murid

I create a program that need to received some picture using socket programming, and coding for receiving picture is in background worker. PROBLEM : I need to make progress bar to show how much data I have received. my code still error... Help please... here's my code for received data …

Member Avatar for TomW
0
147
Member Avatar for vizardo

Hey guys ive been working on my first c# program and im finding it rather difficult at the moment. I have got as far as the code below, But i am having trouble getting it to send key strokes to either a specified process or a non active window by …

Member Avatar for DdoubleD
0
214
Member Avatar for genieuk

Hi, I built a comments system, basically the comments appear underneath the form once submitted and page is refreshed, everything works like it should. I have this piece of code below, what i am having difficulty in is first time it worked then it no longer works. [CODE]<?php $bannedwordquery = …

Member Avatar for genieuk
0
161
Member Avatar for procomp65

Hi I receive ascii data from the serial port which consists of only 0 to 9, /005, /004 and spaces between values, but sometimes the harware get spikes from the electric motors and then the recorder add some funny characters. I need to check the string PortData = "" to …

Member Avatar for Geekitygeek
0
2K
Member Avatar for zorro-az

hi, everyone i would like to learn more about parentnode and childnode (with exaplanation) with the tutorials The reason i am beginner i dont understand this properties does anyone help

Member Avatar for Airshow
0
140
Member Avatar for slucia

how to rectify the following error ? SMTP server response: 503 Bad sequence of commands. You must specify the recipients of a message before you can send it in php

Member Avatar for hawk17
0
115
Member Avatar for valonesal

I finally got things together and now the echo is not working can someone tell me what I am doing wrong? The page I want to echo is working fine I just cant echo the information to another page. Thank you. Here is the echo page. [CODE]<?php echo '<a href="http://mywebsite.com/index.php?text=this">'; …

Member Avatar for Atli
0
109
Member Avatar for AdventDeo

Okay idk if it's possible but I want one of my fields to have 000 as a default value and to maintain this value whenever called for. Like if I use PHP to run a query that asks for that field I want it to return "000". I'm doing this …

Member Avatar for network18
0
111
Member Avatar for UberJoker

Hello everybody. All though I have joined recently, iv been following DANIWEB since years. I was wondering if someone could help me understand how link lists exactly work. I understand how they work in general, but when I tried to understand what the "->" operator does and how it exactly …

Member Avatar for Nick Evan
0
146
Member Avatar for GM123

Hi, I want to find my computer by giving the my fixed ip address over the internet. I tried but most of the solution find the client's ip address but i am not working like that. Can any one help me in this matter. Thank YOu. GM.

Member Avatar for bulawa2002
0
73
Member Avatar for bobrien314

IS it possible to have text in the command line delimited by "" rather than white space?

Member Avatar for William Hemsworth
0
81
Member Avatar for hur1214

[CODE] phonenode *start_ptr = NULL; phonenode *crrnt_ptr; void alpha_order(){ phonenode *ptr, *curr, *temp; ptr = start_ptr; for(bool didSwap = true; didSwap;){ didSwap = false; for(curr = ptr; curr->next != NULL; curr = curr->next){ if (curr->surname > curr->next->surname){ temp = curr; curr = curr->next; curr->next = temp; didSwap = true; } …

Member Avatar for dkalita
0
94
Member Avatar for guilh_22

Hi everybody, I need some help with my first Java program. My teacher don't teach really good ... I have a problem to solve in my script. At that time all are okay but all number must be rounding to 2 decimal :S That's all my Java program (He is …

Member Avatar for javaAddict
0
135
Member Avatar for jithusdani

Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …

Member Avatar for network18
0
119
Member Avatar for jithusdani

Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …

Member Avatar for jithusdani
0
103
Member Avatar for Kramer.Cosmo33

Hi, I just started learning how to use oracle I am suppose to create a table for a school that includes class, instructor, enrolls and teaches. I've basically understand everything, but my only problem is I keep getting a with my schedule_num in my class table. It is suppose to …

Member Avatar for debasisdas
0
143
Member Avatar for smvec

hi.. im trying to send email to the user who register to my website.. SMTP server response: 501 5.5.4 Invalid Address in D:\Domains\lelys.org\wwwroot\reg_save.php on line 66 this is the error im getting.. [CODE]if($res) { //echo "record added"; //$count = 1; $to = $mail; $sub = "Confirm Mail From LeLys"; $header …

Member Avatar for network18
0
103
Member Avatar for devidayalan

Hello, i need to create a webservices from the wsdl file using jaxws.Can anyone tell me how to do this in netbeans.it will be helpful if you explain me the helloworld sample in this regard. Providing the link for any article or tutorial is also welcome.Kindly help am new to …

Member Avatar for pooja.ui7
0
421
Member Avatar for robgeek

D.I.C Head ** Joined: 22 Oct, 2007 Posts: 51 [IN] My Contributions I am little confused here. So please help me. I am given a txt file in the following format 110001 + 123500 ...... I need to read these numbers into the source file, do the addition and then …

Member Avatar for rbv
0
107
Member Avatar for ayan2587

hi Guyz... need some help here... i want to input an integer but it can be either in hexadecimal form or in integer form. the problem is that i would like to store that input in that particular form and separate all hexadecimal values in to an array. for ex: …

Member Avatar for John A
0
161
Member Avatar for that_fox

Hello, this seems like it will be a helpful community. For my degree I need to take a basic C++ class and the only C++ class the offer that fits is an 8 week class, it [I]really[/I] goes too fast. Anyways, I've been trying my hardest, but my brain really …

Member Avatar for chunalt787
0
168
Member Avatar for Evil Genius

Hi, I had a little personal project I made using Winforms in C#. When i published it, it gave me some installing files and stuff.. Is it possible i can make just an exe file out of it? one exe runs it all. its very basic project no db, or …

Member Avatar for Evil Genius
0
154
Member Avatar for Sadikb

Hi, I wanted to find out, which are the best-selling and most useful books on Oracle DBA, Development and applications. I request Daniweb members and other experts to pitch in their opinions with 1> Best Book for the Oracle DBA, 2> Best Book for Oracle developers, 3> Best Book for …

Member Avatar for Lincoln25
0
460
Member Avatar for NicAx64

hi all, I write this program under the C++ not C. But I heaively used the malloc() and free() functions in my code. In brief what my code does is just allocate memory for NFA transition table. It grows dynamically. When the number of transitions is a %4 then it …

Member Avatar for dkalita
0
173
Member Avatar for jaymeaux77

Hi, I am fairly new at the whole programming racket and I am having trouble with an assignment for my computer science class. I know homework help is discouraged, I read that sticky, but I'm curious if I am missing a fairly simple mistake. The assignment is to make a …

Member Avatar for jaymeaux77
0
224
Member Avatar for kahaj

How would I draw a shape in an applet and have the border one color with the fill a different color?

Member Avatar for kahaj
0
84
Member Avatar for titansrealm

ok prof in college asked us to write a program for a simple gradebook. iv wrote it 3 times and still cant get it right. he wants it to be able to put in 10 names/ids and 10 grades,and get a listing of those grades getting an average. im butchering …

Member Avatar for jhai_salvador
0
90
Member Avatar for gunjannigam

I needed to draw an image and paint a needle on it. Since my image is stationary(it doesnt change) I dont want to paint it each time I call repaint. Thats why I thought of using JLabel with an Icon image. The problem is I cant paint anything on top …

Member Avatar for gunjannigam
0
257
Member Avatar for ayesha789

I am developing a Lease Information Management System. This system is related with Land rent Contracts. Every contract have a Begining date and Expiry date. For example Begingin Date is: 01-08-06 And Expiry Date is : 31-07-16 I have store these 2 dates in DB. Payment will be given to …

Member Avatar for ayesha789
0
145
Member Avatar for ccoleman52932

The following is my class project and I do not have a clue where to begin. Could someone at least point me in the right direction? For this project we are going to work with computing the Fibonacci Sequence (also called Fibonacci Number). We will be using a menu to …

Member Avatar for ccoleman52932
0
89
Member Avatar for PysKo

What im trying to do is when someone checks a certain amount of items say like 6 then they try and select 7 it removes the 7th then a label says "Too many selections" and ive bin searching for like a day now and couldnt find anything and any help …

Member Avatar for TomW
0
151

The End.