199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for comwizz

hi , I just was trying to implement a stack using doubly linked list . Well , i cannot exactly find out the error. Any hint would be of great help. Heres the code [code] #include<iostream.h> #include<conio.h> class abc { public: int num; abc* next; abc* previous; friend void push(abc*,int); …

Member Avatar for Lerner
0
4K
Member Avatar for iamthwee

[B]skinnable apps[/B] How do you create kewl skinnable apps in java. Like say, windows media player or winamp? Please provide a weblink if possible, I'm really stuck here.

Member Avatar for jwenting
0
95
Member Avatar for dilip.mathews

Hi all, What is the effficient way to check whether a single linked list is looped somewhere.The number of nodes in the list is not known. In that case traversal of SLL will go into an infinite loop. One solution I have is to store each address of node in …

Member Avatar for dilip.mathews
0
95
Member Avatar for d66

Could someone please direct me on a way to make my phpBB forum more interactive like to say vBulletin? Thanks for any help

Member Avatar for b4codes
0
207
Member Avatar for php4ever

Looking for a good activeX or .NET control for a VB project in which I would like something better then the standard looking VB Tabbed control. It would be nice to see something turnkey. Any suggestions? ~ Jared

Member Avatar for php4ever
0
94
Member Avatar for blewis999

I saw the code snippet by vicki_dev for drawing a function using turbo C on windows and wondered if there was anything like this or even this code with the calls to the OS inline. I don't have an OS on the embedded systems I work on and need a …

Member Avatar for Salem
0
107
Member Avatar for crazy_flip

Hi I am tryin to get a page to send an email back to the user, I can mail to myself but I want it to take it from the previous page. please help its driving me mad Cheers Phil [CODE] <% theSchema="http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig=server.CreateObject("CDO.Configuration") cdoConfig.Fields.Item(theSchema & "sendusing")= 2 cdoConfig.Fields.Item(theSchema …

Member Avatar for Lafinboy
0
129
Member Avatar for iamthwee

Ok I just installed the software that came with my book, (php mysql and apache all in one) The apache stuff, the mySQL stuff and the php stuff. Everything went smoothy apart from the php bit. I had to alter a few dlls or something to make it work? However, …

Member Avatar for Puckdropper
0
81
Member Avatar for yawboon

Hi , I am 1st time in this forum. i need to do a search using asp . The search result will return the keyword match percentage with the word in database. example: [URL="http://www.newport.com/searchresults.aspx?lang%20=1033&searchfor=3679%20Mirror%20Mounts%20Opto-Mechanics"]http://www.newport.com/searchresults.aspx?lang%20=1033&searchfor=3679%20Mirror%20Mounts%20Opto-Mechanics[/URL] i am running out of time and still cannot find any resources on the web. Does …

Member Avatar for Grumblybum
0
107
Member Avatar for ethompson

Hello, I'm having some problems with trying to get my random numbers to go in ascending order and descending order as well and trying to figure out how to get when I put in a number between 2 - 25 how to get the highest number out of the random …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for cozofdeath

Ok, I've been trying different tutorials/methods of learning asm and right now I'm reading Dr. Paul Carters tutorial and using NASM and DJGPP to compile. I just got into the conditional/jump section and I wanted to test how the jumps work and ran into a problem. The read_char macro seems …

Member Avatar for cozofdeath
0
138
Member Avatar for SmileSmita

Hi there, I need help in the following situation. I have retrieved some records from my Access table by giving a simple select statement and have just simply displayed these records on the page horizontally. Also i have added a anchor tabl to each record so that when they get …

Member Avatar for Qcdms21
0
112
Member Avatar for ytregnn

[LEFT]I don't know if this is the right place (because I don't know if it's PHP-related). I've registrered two .com-domains (the will go to two dofferent unrelated sites) which I have on the same account on the sama webhost. When I asked my webhost about it they told me that …

Member Avatar for php4ever
0
104
Member Avatar for shaocpa

how deposit a picture to MYSQL database below is the code : <?php $id=$_POST; $photo=$_POST; if ($photo<>""){ $fp=fopen($photo,"r"); $data=addslashes(fread($fp,filesize($photo))); } $sql="insert into product(id,pic) values('$id','$data')"; mysql_query($sql,$conn) or die ("插入数据失败: ".mysql_error()); ?> but always unsuccessful! why? plz help me!

Member Avatar for noppid
0
221
Member Avatar for cancer10

Does any of you know how to mask a URL in php?? Like the one you see in free URL [URL="http://www.shorturl.com"]redirectional services[/URL] I mean I have a url like [url]http://www.my-server.com/[/url] which will redirect me to [url]http://www.some-other-server.com/abc.php[/url] by the following PHP command [CODE]header("location: http://www.some-other-server.com/abc.php");[/CODE] But I want the URL in the …

Member Avatar for zippee
0
8K
Member Avatar for ChimpusDupus

Hi, I've been trying to get this to work for hours to no avail (at least they're paying me :cheesy: ). I have a DropDownList that obtains its values from a database. The DropDownList will not retain it's values when a Postback is done (caused by a submit button being …

Member Avatar for ChimpusDupus
0
474
Member Avatar for bkaau

For all programmers please help me I have only for day to submit my final project so please pleas help me. Before i goto my problem. i can introduce my selif. i am biruk i live in Ethiopia (Addis Ababa). i am 20 years old . i study Statistics in …

Member Avatar for WolfPack
0
232
Member Avatar for gampalu

Hi! How in C++ can we make a pause in the code, waiting for an ENTER? regards

Member Avatar for Dave Sinkula
0
117
Member Avatar for drbouncy

Can anyone help? I have uploaded a formmail.cgi permission are set to 755 All appears to be working fine, even gives confirmation mail is sent. Never arrives though! Any ideas? I am gutted, I've spent days trying to sort it and no luck. I am trying to do some research …

Member Avatar for YUPAPA
0
207
Member Avatar for girish_sahani

hi ppl, Consider a list like ['a.1','b.3','b.4','c.2']. Here 'a','b','c' are objects and 1,3,4,2 are their instance ids and they are unique e.g. a.1 and b.1 cannot exist together. From this list i want to generate multiple lists such that each list must have one and only one instance of every …

Member Avatar for vegaseat
0
84
Member Avatar for aarya

i m trying to do shopping cart. i am struck in between. i did chekout,add,update ext in shoopping cart and when person try to checkout he should complete the form with all credit card info ,addressext. and connected to payment gateway like verign for creditcard validation.anybody pls tell me how …

Member Avatar for aarya
0
101
Member Avatar for Sealteam56

[COLOR=#555555][COLOR=#000000]Hello all,[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]I had posted earlier for help, but the post was so deep in an older thread do not think anyone will find it.[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]so here goes,[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]I am in a class to learn C and was tasked with writing a program that …

Member Avatar for Sealteam56
0
129
Member Avatar for acezrwild817

VS 2005 does not include the crc32 checksum in their crypto library and I was wondering if anyone knows where I could find a very fast algorithm. I currently have three different algorithms but none of them are much faster than Md5. I know for a fact that the crc32 …

Member Avatar for acezrwild817
0
99
Member Avatar for kraze_101

i have an assignment at school where we have to get a string entered by a user and then the program is supposed to encrypt it by adding 13 to A-M and -13 from M-Z so that if i inputted A B C i would get N O P. Basically …

Member Avatar for ~s.o.s~
0
195
Member Avatar for LBasa

Hi guys, I'm currently taking a summer online intro to Java class (using Jcreator) and its kicking my butt! I might have to re-take it next semester to get a better understanding of how it works. I've been working on the same problem for the last 10 hours and I …

Member Avatar for LBasa
0
207
Member Avatar for newMeg

Hi,I'm new to daniweb forum. I hope someone could help. I have a table called [I][B]Caller[/B][/I] which has a field called [I][B]Area[/B][/I]. I need to select the value of the record in this field that [B]repeats the most[/B]. For example [B]Area[/B] Sel KL Sel Sel Pen KL which means i …

Member Avatar for newMeg
0
68
Member Avatar for aeinstein

Hi All, I've converted the [URL="http://www.daniweb.com/techtalkforums/thread49412.html"]pseudocode from this thread[/URL] into a flowchart, and I'd greatly appreciate if anyone can point out any errors and/or inefficiences in the represented coding. as posted in the above referenced thread, the flowchart represents a solution for a chapter exercise, as follows: "The problem states …

Member Avatar for iamthwee
0
363
Member Avatar for ostkaka

I´m trying to put in a variable called "sex" in this program but it does´nt work, i wonder if anyone can help me with that? [code] #include <iostream> using namespace std; int main() //viktigaste delen av programmet { int age; //En variabel som heter age; int sex; cout<<"please input your …

Member Avatar for Dave Sinkula
0
105
Member Avatar for tripz

I'm a moderator on a forum. On this forum all moderators get a tool to help with making up requests to the forum admins on bad user posts and threads. The creator of the tool has left his position on the forum to move on and is no longer helping. …

Member Avatar for tripz
0
122
Member Avatar for -jOHn BeneDict-

[code]#include<stdio.h> #include<conio.h> main() { float x,y,z; clrscr(); printf("\nThis program calculate if you are Underweight,Healthy or Overweight"); printf("\n\n Enter your weight in kilograms:"); scanf("%f",&x); printf("\n\n Enter your weight in meters:"); scanf("%f",&y); z=((y*y)/x); if(z<20){ printf(" the Quetelet-index is: %f",z); printf("\n\n\tUnderweight"); } else{ printf("\n the quetelet-index is : %f",z); printf("\n\n\tOverweight"); } getch(); return …

Member Avatar for Zababa
0
135
Member Avatar for chillharsh

as the title suggest i like to swap two numbers but the thing is that i should not use 3rd variable that is doing the whole stuff only with 2 variables so plz any body help me out

Member Avatar for sukhi
0
480
Member Avatar for hinde

I am writing a feature for this company, and they want the pages to use AJAX. My question is this: Can I write the pages in php as usual, then enhance the page using AJAX techniques, or is the use of AJAX something I have to keep in mind from …

Member Avatar for LeProgrammeur
0
142
Member Avatar for bodikon

Heya! First time on DaniWeb - so i hope i don't buggar protocol up! I code in ASP.NET and am pretty new to it, about a couple of years. And am still only getting to grips with the full power of ASP. (I started out in PHP for all of …

Member Avatar for LeProgrammeur
0
94
Member Avatar for Laiq Ahmed

I've gone through several books they explain Upcasting as Base class pointer pointing to Drived class Object this definition is correct. Downcasting: [quote]Drived class pointer pointing to base class object..[/quote] i got a bit confused.....not having crystal clear image in my mind..... if the above definition is correct... whats wrong …

Member Avatar for Dave Sinkula
0
182
Member Avatar for joydeep1

My C program for making a database which stores data and from which data can be retrieved is stated later.But I am not able to write the function for editing the stored items correctly.Please suggest a method.Also suggest :[B]1.mode in which file is to be opened in case 2 of …

Member Avatar for ~s.o.s~
0
110
Member Avatar for asmith3006

Hi, not sure if the title is correct but I think that's what I mean. I have the following code: [code]//Box the shape is contained in protected Rectangle container; /// <summary> /// Gets or sets the value for position /// </summary> public Point Position { get { return container.Location; } …

Member Avatar for Lord Soth
0
198
Member Avatar for Gowrishankar

[COLOR=#0000ff]Hi all,anyone can help me to solve this error.When I build the code it shows the error message below:What I have to do ? C:\Inetpub\wwwroot\shankar\WebApplication1\login.aspx.cs(83): 'WebApplication1.WebForm1.Custvaluserid_ServerValidate(object, System.Web.UI.WebControls.ServerValidateEventArgs)': not all code paths return a value This is the code I written: [code] private[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]bool[/COLOR][COLOR=#000000] Custvaluserid_ServerValidate([/COLOR][COLOR=#0000ff]object[/COLOR][COLOR=#000000] source, System.Web.UI.WebControls.ServerValidateEventArgs args)[/COLOR] { SqlConnection conn= …

Member Avatar for Lord Soth
0
132
Member Avatar for laki

hi i want to reverse the LL useing recurtion in C#, i am able to print it in reverse order but unable to store it as LL in reverse order, below is the code for it ::) [CODE] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Collections.Generic;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Text;[/COLOR] [COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] linearLL[/COLOR] { [COLOR=#0000ff]class[/COLOR] [COLOR=#008080]LinkList [/COLOR]{ …

Member Avatar for Lord Soth
0
297
Member Avatar for TJW

Why is the last element not 7 [Code] int array[3]; int *ary; ary=array; array[0]=0; array[1]=0; array[2]=0; array[3]=44; for (int i=0;i<4;i++) { cout<<array[i]; } cout<<endl; *(ary+0)=1; *(ary+1)=0; *(ary+2)=0; *(ary+3)=7; for (int i=0;i<4;i++) { cout<<array[i]; } cout<<endl; [/CODE] Output 00044 1003<-----------------Why 3 and not 7!!!!!!

Member Avatar for Dave Sinkula
0
194
Member Avatar for Shefali

Hello all I need to solve a equation using excel solver from visual basic 6. i did it manually in excel and recorded tha macro. however when i trid to automate excel using vb, an error message is displayed. it highlights the solverok function and says function not valid. can …

Member Avatar for Shefali
0
252
Member Avatar for it-1

is there a way that i can link JAVA with C#?? or that i can write a C# code in a Java code?? THNX

Member Avatar for Lord Soth
0
335
Member Avatar for infinity4ever

hi all now this is something hard and i hope that someone knows how to do it lets say that i have a table in the database named "Test" the table contains this data [B][COLOR=#000000]Question_____________________Type[/COLOR][/B] [COLOR=#000000]What is your name? ________________[/COLOR][COLOR=#000000]Txt[/COLOR] [COLOR=#000000]How are you?______________________[/COLOR][COLOR=#000000]Rad[/COLOR] the webform has only a Button named …

Member Avatar for infinity4ever
0
94
Member Avatar for b.janahi
Member Avatar for Comatose
0
114
Member Avatar for ShazB2K

Hi, Can anyone kindly help me to modify the following script to diplay the result in several pages if the resuts are greater than 10. [php] <?php $action = $_SERVER['SCRIPT_NAME']; ?> <?php //if(!$_POST['search']=='result') //{echo "<p style=' font-family: arial; color: blue; font-size: 14px;'>You are not authorized!</p>"; return false;} //$choice=$_POST['choice']; $name=$_POST['name']; $link=mysql_connect("localhost", …

Member Avatar for vipula
0
121
Member Avatar for snengos

has anyone ever really worked on Cubes i gotta come up with a cube and a number of virtual cubes asap

Member Avatar for snengos
0
83
Member Avatar for rochester

I was hoping that you could help me with some problems colleagues and I are having with a psychometric tool that we are developing for a short-term project. We were hoping to utilize Visual Basic C++ to get the job done. What we are essentially trying to do, but can't …

Member Avatar for iamthwee
0
146
Member Avatar for Eiolon

I have created a login script using a session. Anyone can log into the website but I want to make it so a particular link is only shown if the user has permission. In the database, access is shown simply by a Y or N (for Yes or No). If …

Member Avatar for KeithMcL
0
132
Member Avatar for vssp

I have a form and have two input listbox . When i select the list valuse left list box and then perss the button selected values are move in the right list box and then perss the Update button right list box values are storted in the database If any …

Member Avatar for shaocpa
0
83
Member Avatar for Neldon

Design a module that accepts 30 or fewer integers from the user- The user tells the system the number of integers that'll be entered before the numbers are accepted. the module displays only 1 occurence of each number entered by the user and returns the highest of all entires to …

Member Avatar for Neldon
0
52
Member Avatar for jatinder kumar

double new_amount; printf("enter new_amount:"); scanf("%lf",&new_amount); printf("Amount entered is%lf",new_amount);

Member Avatar for server_crash
0
91

The End.