64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for lotrsimp12345

[CODE] void my_int_sllist::pop_back() { //head and tail pointers cout<<"enter pop_back"; //contains one node if(head==tail) { cout<<"enter head==tail?"; delete head; head=tail=0; siz--; } else { cout<<"enter's other condition"; my_int_node* temp; for(temp=head; temp->next!=tail; temp=temp->next) { delete tail; tail=temp; tail->next=0; } siz--; } } [/CODE]

Member Avatar for lotrsimp12345
0
1K
Member Avatar for samir_ibrahim

I am creating a form that will filter datagridview while typing in a textbox. I came through this error and I would like to know why is occur. [CODE=vb.net] Dim dt As DataTable = Ds_Pos.Employees Dim dv As New DataView(dt) 'findcrit is declared as string public and it contain a …

Member Avatar for samir_ibrahim
0
151
Member Avatar for funlovingashish

hiiii, i have to build a secure web application using jsp, for which i have to implement SSL. I have generated the certificate using java keytool but as soon as i edit my server.xml file to enable connector port for https (8443) and add the other attributes like keystore,storepass and …

Member Avatar for funlovingashish
0
226
Member Avatar for Creator00

Hello! Could You please help to solve this? My question is how to reverse a number in decimal notation using recursive function. 1234 => 4321 2 => 2 20 => 0 20000 => 2 (yes!) 0 => 0 The maximum length of test input is 5 numbers. No need to …

Member Avatar for Creator00
0
123
Member Avatar for lotrsimp12345

the problem seems to be in the show_int_sllist(). main [CODE] #include "My_Int_Sllist.h" #include <iostream> using namespace std; int main() { //Test1 my_int_sllist b; b.push_back(10); b.show_int_sllist(); return 0; } [/CODE] INTERFACE NODE [CODE] //class used to create a node class my_int_node { public: //member that stores the nodes data value int …

Member Avatar for lotrsimp12345
0
129
Member Avatar for gianrocks

hey everyone im sort off new on .net and i was wondering if u can help me bigtime.. i am having problems with editing records when i do a search. example i was to search a specific record but then when i try to edit it, it turned out that …

Member Avatar for gianrocks
0
116
Member Avatar for facadie

Hi ALL I'm having trouble figuring out.. I have one BTNCANCEL here and cmb1,cmb2,cm3, tb1,tb2. How do i program so that it detect changes in cmb1,cmb2,cm3, tb1,tb2 and then when i click BTN cancel it will PROMPT to save yes/no [which i have already programed] if there is a change …

Member Avatar for facadie
0
2K
Member Avatar for facadie

How do i make validation. To check if the eg textbox is type with certain character like we want this text box to have at least 7 character. and then when we click button OK[save button as usual] it will not save and it validates at the side with * …

Member Avatar for facadie
0
108
Member Avatar for Samyx

Hi everyone, I am a beginner in java. I am still trying to learn the structure and other basic stuff. I am trying to add some code so that the methods in main() work correctly. [code]class Complex { double real, img; void setValues(double i, double x){ real=i; img=x; } public …

Member Avatar for Samyx
0
115
Member Avatar for shopnobhumi

i am trying to compile it (ms visual c++) but it is not compiling, i guess there is some errors but visual c++ is only saying fatal error which i have no idea what it is.Any idea? [code]#include "stdafx.h" #include <iostream> using namespace std; int nbs=0; void Queens(int nn, int …

Member Avatar for NathanOliver
0
116
Member Avatar for Raik.48

SOMETHING IS WRONG WITH MY CODE, IT GETS COMPILED BUT ONLY PROBLEM IS WHEN I INPUT THE NUMBERS THE OUTPUT COMES AS "Area@9664a1" ! // Implement a class Area which has three attributes length, breadth and Area. use attributes constructor to initilize length and breath. implement a method calcArea to …

Member Avatar for Raik.48
0
145
Member Avatar for jatin24

Hi, Im trying to transfer some text from the richTextBox into an existing MS word template at a specific location. I am able to transfer text to any location i like, but i want to retain the formatting of the text from the richTextBox. Im trying to copy the text …

Member Avatar for jatin24
0
2K
Member Avatar for gampalu

Hi, I am trying to implement an applet. The idea is to create the applet, then connect places where I single-click with the mouse with black lines until we give a double-click. With a double-click I should clear the applet. To clear the applet I am trying to set the …

Member Avatar for gampalu
0
171
Member Avatar for Major_Hafez

Hi all, i had Web Page include [B][U]DataList [/U][/B]control , [B][U]TextBox [/U][/B]and [B][U]Button [/U][/B].. [B]DataList1 [/B]: Getting Data from SQLDB [B]TextBox [/B]: for Editing Selected Field in [B]DataList [/B] [B]Button [/B]: Submit Editing when i Click [B]Button [/B]it Editing Data Succefully in [I]SQLDB [/I], but in same Time [B]DataList [/B]Control[COLOR="Red"] …

Member Avatar for Major_Hafez
0
535
Member Avatar for NathanOliver

Hi all. I am currently writing a large number class and was curious if I should use a template. I am setting up my constructors and I have one for a string and i was thinking i could use a template for a constructor so it can take in an …

Member Avatar for NathanOliver
0
144
Member Avatar for OneDreamCloser

hi all, i have a file that contains the following data (just a sample) : [code]501 0 0.932 0.933 0.931 0.931 0.929 0.933 0.93 0.928 501 1 0.974 0.98 0.978 0.976 0.974 0.974 501 2 0.953 0.949 0.944 0.951 0.942 0.942 0.942 0.948 501 3 0.933 0.934 0.934 0.935 0.931 …

Member Avatar for OneDreamCloser
0
163
Member Avatar for markrezak

.the program is running .display the frequency of words and sort them from highest count to lowest. my problem is about the duplication of the counts or value of the words.if the value of the word are same it only display the first word&value ...can some one help here is …

Member Avatar for markrezak
0
188
Member Avatar for nateuni

Hi, In c if I have a return value and do not catch it, will this cause any problems in my program? Or should I just catch it in some dummy variable and discard it? In spite of googling.. I can't find any info in how c behaves in this …

Member Avatar for gerard4143
0
131
Member Avatar for vileoxidation

Okay, I am working on a homework assignment for my class in which we are supposed to use pointers for all of the arrays in the functions. Here is what I have so far for the printArray function, which is supposed to print the members of the array horizontally. It …

Member Avatar for Golam Kausher
0
193
Member Avatar for tarunkhatri

I have a javascript function for calculating sum of values in row and colom of a table. It is using get element by id table name. So is table specific. I am calling that function every time a value changes in the table by [CODE]<td><input type="text" value="0" size = "2" …

Member Avatar for Troy III
0
174
Member Avatar for fafi_ali

hi everybody, do you know how to deploy crystal report? actually i took the exe only to the clients computer (as it's the first time i work on crystal report) but when i try to run it it thraws exception:- couldn't load file or assembly 'CrystalDecisions.CrystalReports.Engine,Version=10.5.3700.0,Culture=neutral,PublicKeyToken=692fea5521e1304'or one of it's dependencies.The …

Member Avatar for fafi_ali
0
111
Member Avatar for shahanakazi

Hi, I'm a beginner of C++ programming. I am trying to write a void funtion for the following question but in vain. Please help me. Here's the question: Suppose we want to display the following figure containing the alphabetic character V on yhe screen: #^^^^^^^^^# ^#^^^^^^^#^ ^^#^^^^^#^^ ^^^#^^^#^^^ ^^^^#^#^^^^ ^^^^^#^^^^^ …

Member Avatar for Barefootsanders
0
160
Member Avatar for chico2009

Hi folks I have just completed my first programme with help from yourselves. I cant understand why the code , if x ==1 or 2, wouldn't work in my programme below [code=python] # Convert C to F or F to C and return with result select = True while select: …

Member Avatar for chico2009
0
187
Member Avatar for mem81

Hi there, I have been struggling with this for quite a while now. I am a novice in .net so no wonder I can figure it out. I have a tab delimited file, where the sequence of lines should be 01UN1........................ 04UN1.......................... 09UN1........................ 01UN2.................... [COLOR="Red"]04UN2.............[/COLOR] 04UN2............... 09UN2................ However sometimes in …

Member Avatar for mem81
0
197
Member Avatar for laghaterohan

hey folks, i have a button named btnnext and a picturebox pbox . On the click of the next button i want that picturebox should display image one by one on the next button click.. how to do this ?? pl give me idea...plz....

Member Avatar for laghaterohan
0
472
Member Avatar for chupinette

Hi everyone! Im actually doing my final year project which is an ecommerce application for a specific business. there is another student who is working on the MIS part of this business. we have to use the same database. I am using PHP and MySQL and he is using ASP.net …

Member Avatar for flashyflashy
0
131
Member Avatar for alex-VX

is there any way to disable a loop when the user is inactive / when the screen saver is on?

Member Avatar for alex-VX
0
108
Member Avatar for smvec

im a newbie php developer... i've tried sending an email n receiving the confirmation back for activating the users... here is the email sending code : [CODE]if($res) { echo "record added"; $to = $mail; $sub = "Confirm Mail From LeLys"; $header = "from: admin<support@domain.org>"; $message = "confirm link \r\n"; $message.= …

Member Avatar for wilch
0
197
Member Avatar for samm22

Does anyone know how to truly select random element from a vector v? I tried this: int rnd; rnd = v[ (int)floor( (double)rand()*( (double)v.size() / (double)RAND_MAX ) ) ]; cout<< "Random element: "<<rnd; But every time it's selecting only one particular element from my vector. It should be random right. …

Member Avatar for samm22
0
144
Member Avatar for gabanxx

i created a form with 4 textbox tht user can insert their data and stored it in sql server 2000 databse..than i manage to display the data when user starting the program... i also create an update button for user to update their data... the problem is when i want …

Member Avatar for obicerno
0
541
Member Avatar for yorro

How do I use the User-Controls as a form within a Form? This is my answer to my problem located on [URL="http://www.daniweb.com/forums/thread214973.html"]this thread[/URL] As seen in the original thread's solution, I've used solution #2. Instead of switching forms, I've used switching panels and the controls are contained in those panels. …

Member Avatar for yorro
0
2K
Member Avatar for mwouters

Hello, I have a category structure upt to 5 levels deep. My table looks like this; [code=sql]CREATE TABLE `categorie` ( `ID` int(11) NOT NULL auto_increment, `category_name` text NOT NULL, `parentID` int(11) NOT NULL default '0', UNIQUE KEY `ID` (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Cats' AUTO_INCREMENT=91 ;[/code] And I would like …

Member Avatar for mwouters
0
1K
Member Avatar for axeeffect2002

Hi, I have written a sql script which takes the rows from a table and writes it to a .csv file. The script is as follows:- [CODE] set feedback off; spool output.csv; set heading off; SELECT username||','||profession from users; spool off; [/CODE] This works fine but output.csv contains a blank …

Member Avatar for babyDBA
0
1K
Member Avatar for eeyc

Hii I Have Facing with Order problem i try to query From Table it go like this -> [code=sql]SELECT * FROM Client WHERE (ClientName LIKE 'X%') OR (ClientName LIKE '%[ ]X%')[/code] It mean give me all clients that start Whit X Letter And Included MiddleName If There is And Last …

Member Avatar for eeyc
0
135
Member Avatar for darkocean

Hi all, Now i dont remember what we say about this method, i am so sorry for that anyway... I want to write in textbox when i am writing on it, it shows similar info to me. For example if i write dan it must be show daniweb, dance, danny, …

Member Avatar for DdoubleD
0
111
Member Avatar for marygreen

Hello to guys/girls on the forum. Question I have is following. How to speed this loop? [code] begin var i:integer; begin for i:=1 to 9999999 do begin //do something Memo1.Lines.Add ((floattostr(a1.value))+' + '+(floattostr(a2.value))+' + '+(floattostr(a3.value)); //do something Memo1.Lines.Add ((floattostr(a1.value))+' + '+(floattostr(a2.value))+' + '+(floattostr(a3.value)); //do something Memo1.Lines.Add ((floattostr(a1.value))+' + '+(floattostr(a2.value))+' + …

Member Avatar for jng
-1
107
Member Avatar for blueness25

Hello, I know this is a very simple problem, but I am about to give up... Why couldn't I get the control keys do their job? Maybe someone whose eyes are more rested than mine can tell me. I will appreciate any help. I am dealing with pygame, and I …

Member Avatar for blueness25
0
804
Member Avatar for lotrsimp12345

When i run a black screen with cursor appears but nothing prints THANKS INTERFACE [code] //my_int_vector.h class my_int_vector { public: //destructor ~my_int_vector(); //copy constructor my_int_vector(const my_int_vector& b); //constructor that create an empty vector my_int_vector(); /*constructor that create an vector with capacity specified as a parameter but doesn't assign values to …

Member Avatar for mrnutty
0
253
Member Avatar for papanyquiL

This is really frustrating me, I know it's something stupid that I missed. I have a combo box that loads all available fonts when the app starts up. When the user selects a font from the combo box, it should change the label to the font they selected. Here's what …

Member Avatar for papanyquiL
0
115
Member Avatar for anetbegin

Hi, I am developing a lookup page i.e when i provide a zip code in the textbox and submit the button it should display the details like city,state etc. I've created two tables in the database, one with zip code and other with details city,state etc. how can i display …

Member Avatar for anetbegin
0
110
Member Avatar for eclecl

Hello everyone, I'm learning JavaScript programming and I have a test to do. Will it be possible for someone to check what I've already written and let me know if I'm on the right track? In green are the questions asked and in red are my answers. I also put …

Member Avatar for JugglerDrummer
0
120
Member Avatar for carie

Hello, I'm working on a recursive loop subcategory system. The code below is ALMOST where I need it. The last thing I'd like to do is indent each subcategory based on levels deep, rather than just separate by commas. I can't seem to wrap my head around it. Any suggestions? …

Member Avatar for carie
0
171
Member Avatar for Doughnuts

Hello, I am a newbie a C++. I was doing a program where you calculate prime numbers, and it prints prime and non-prime numbers. Here is my code, [CODE]#include <iostream> #include <conio.h> using namespace std; main() { int n = 1; int i = 2; bool IsPrime; int Max; int …

Member Avatar for Doughnuts
0
284
Member Avatar for tiwas

Hi, I've beeb playing around a bit with files and stuff to learn some of the aspects of C#. In order to not make it too convenient and easy I opted for using a String to hold my path, and then use DirectoryInfo to use it. In one of the …

Member Avatar for tiwas
0
111
Member Avatar for jp12861

Here is the code static void Main(string[] args) { int qty, prodNum; double totalRetail; Console.WriteLine("Enter product number 1, 2, or 3. "); prodNum = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Enter in quantity sold of this product or enter -1 to quit: "); qty = Convert.ToInt32(Console.ReadLine()); totalRetail = 0; while (qty != -1) { switch …

Member Avatar for papanyquiL
0
75
Member Avatar for kahaj

I'm using documentation on sun.com to try and learn Java. I was trying a simple Notepad type program but cannot get the menus to display. I'm receiving no errors and cannot figure out what I've done wrong and/or left out. [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class NotepadInJava …

Member Avatar for majestic0110
0
237
Member Avatar for decimo

I have the following code that pulls data off a mysql database and stores it in a 2D array ($rows). But after I print the contents with a foreach loop I just can't seem to be able to use that array again! Can't figure out how to reset it (printing …

Member Avatar for edwinhermann
0
494
Member Avatar for julia2009

Hy there, I'm a newbie so be patient pls. I have a small but useful class (let's call it Class1), and another class, more complex (let's call it Class2). I need to use in the Class2 instances of the Class1. I need to declare objects of Class1 both in private …

Member Avatar for StuXYZ
0
199
Member Avatar for mikeHL

Hi, I want to process the following xml: [COLOR="Green"]... <a> HHHHeader 1 : xxx <it> yyy </it> zzz HHHHeader 2 : aaa bbb <it> ccc </it> </a> ...[/COLOR] And I want to get via a xslt the following xml [COLOR="Green"]... <a> <Header hd="1"> xxx <it> yyy </it> zzz </Header> <Header …

Member Avatar for mikeHL
-1
139
Member Avatar for JainishP

I'm kind of stumped on a project. The purpose of the project is to decode a floating point number to find it's sign, exponent, and significand, etc... So far I've been able to get a user input float number into binary32 format using few lines of assembly code(professor told us …

Member Avatar for JainishP
0
190

The End.