199,114 Archived Topics
Remove Filter ![]() | |
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); … | |
![]() | [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. |
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 … | |
Could someone please direct me on a way to make my phpBB forum more interactive like to say vBulletin? Thanks for any help | |
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 | |
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 … | |
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 … | |
![]() | 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, … |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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! | |
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 … | |
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 … | |
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 … | |
Hi! How in C++ can we make a pause in the code, waiting for an ENTER? regards | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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. … | |
[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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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; } … | |
[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= … | |
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]{ … | |
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!!!!!! | |
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 … | |
is there a way that i can link JAVA with C#?? or that i can write a C# code in a Java code?? THNX | |
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 … | |
Hello everybody, how can i import a text from notepad to a text box?:rolleyes: | |
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", … | |
has anyone ever really worked on Cubes i gotta come up with a cube and a number of virtual cubes asap | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
double new_amount; printf("enter new_amount:"); scanf("%lf",&new_amount); printf("Amount entered is%lf",new_amount); |
The End.