132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for meiyantao

Hello! I want to implement a avltree using C++,and I have do most of it,except the remove() algorithm. My question is when should I rotate the tree in remove(). I hope that any body can represent the situation for me using the Pelple's language,because the implemented code depend on the …

Software Development algorithm c++ data-structure
Member Avatar for meiyantao
0
152
Member Avatar for Mitchelle

If you have any idea on where I can learn how to implement OOP in C++ specifically when it comes to list please send me your feedback

Software Development c++ oop
Member Avatar for Ancient Dragon
0
70
Member Avatar for suneel kar

hi eveyone , Am not gettin time to study from books .I am tryin to generate a code for CD Drive. i wanna on a single click it should open the drive and on next command itshould close the drive too. Anyone give me suggustions how to do???????? specially my …

Software Development visual-basic
Member Avatar for suneel kar
0
134
Member Avatar for mustoora

Hi there. i'm having trouble joining tables. I'm using Access database. Initially, i have 2 tables called thresholdTable and Configuration. In the thresholdTable, there's a column called 'Config' and i've linked it to a column called 'Confuguration' from the Configuration table. Right now everything's working. However, i added another table, …

Member Avatar for QVeen72
0
1K
Member Avatar for suneel kar

hello everyone and my old frnds is there any list of lib (like Microsoft ADO 2.5 lib)to be included in project refernces and components which we can add everywhere in vb 6 project which will work eveywhere except default ones. that is without lookin on to project requirement we should …

Software Development visual-basic
Member Avatar for suneel kar
0
112
Member Avatar for orion_nsk

Hello Everyone, I'm doing a Project for Touch Screen. I have Designed an ON SCREEN KEYBOARD. My Problem is that "How can i Enter Text through my On-Screen K/B????" For Example : Suppose User Click the Button "A" on "On-Screen K/B" Form then I want "A" to be typed in …

Software Development visual-basic
Member Avatar for orion_nsk
0
205
Member Avatar for McQueen

[code=c++]void wait ( int seconds ) { clock_t endwait; endwait = clock () + seconds * CLOCKS_PER_SEC ; while (clock() < endwait) {} }[/code]

Software Development c++
Member Avatar for McQueen
0
111
Member Avatar for elle_yuyu

i dont know how to write this code..anyone can help me ?? here are the question : Write a complete program that calculates the wages of an employee for the month(hint : input from user includes year,month,time in/time out for each day in that month.). monday-friday :first 8hrs,Rm50......add.hour RM10/hr. saturday …

Software Development c++
Member Avatar for Salem
0
110
Member Avatar for a.baki

[COLOR="Green"] I have some lines on a plane. I want to find points those lines intersect each other. than I try to find whether this lines make a closed surface or not. Any one have idea? [/COLOR]

Software Development c++
Member Avatar for quintoncoert
0
246
Member Avatar for rati

Hi all, I am trying to understand the concept of private constructors and singleton. As far as i have studied, we can have private constructors , destructors and that they are used to avoid making instances of the class other than its member function. now that i am trying to …

Software Development c++
Member Avatar for vijayan121
0
95
Member Avatar for shannonpaul

I am not sure why I am getting syntax errors in lines 29 and 31. When I run the console my return values are correct, but have syntax errors. [code] include <iostream> #include <iomanip> using std::cout; using std::cin; using std::endl; using std::setprecision; using std::ios; using std::setiosflags; int main() { //declare …

Software Development c++ ios
Member Avatar for vijayan121
0
128
Member Avatar for vijayasanthi

Sir, This is Vijayasanthi.I'm using Visual basic 6.Now the problem is i can enter only 255 characters by using input box but i have to increase the maximum length or can i set the maximum length property as '0' for input box?kindly give any solution for this problem. Thanks and …

Software Development visual-basic
Member Avatar for iT_maN
0
110
Member Avatar for AquilesBailo

Hello everyone ^_^ I need to know how to pause the execution of a code, without using sleep() or any sleep()-kind function thats it... thanks XD

Software Development c
Member Avatar for Ancient Dragon
0
171
Member Avatar for hanky

Hey can anyone there give me link to get a list of all the functions supported by VB6.0 like time and date,

Software Development visual-basic
Member Avatar for hanky
0
55
Member Avatar for asilter

i'm sending a NULL pointer of type unsigned char to a function. i allocate space for this pointer in the function and return nothing. [code] unsigned char ucBufr = NULL; Allocation(ucBufr); [/code] [code] void Allocation(unsigned char * ucBufr) { /* nDataSize and ucData is got from a file here. */ …

Software Development c
Member Avatar for Hamrick
0
127
Member Avatar for rajye

I need program in c to print keywords and their frequency of occurence in a given c program

Software Development c first-post
Member Avatar for iamthwee
0
105
Member Avatar for Nevarc

Hi, I want to you readline on a tcpip data stream but the data is terminated with a 0 1, not a /n, is there a way to change the behaviour of the readline function or must I write my own binary based reader? thanks Robert Craven

Software Development vb.net
Member Avatar for Nevarc
0
77
Member Avatar for shear

hey, i have project in my visual basic laboratory, but i'm just a newbie, so can anybody help me.. they say that its just a simple syntax, but it is not simple for me.. so please help me.. it goes like this, a quiz that has a radio button choices, …

Software Development visual-basic
Member Avatar for Prozeen
0
148
Member Avatar for satish.paluvai

I am weblogic server plz tell anybody how to create more objects in object pool?

Software Development java
Member Avatar for jwenting
0
87
Member Avatar for Firestone

I understand what pointers are, but I don't understand why they are useful. I have read many tutorials about pointers, and yet I still don't know why someone would want to use one. Could anyone explain it to me? Or give me a link to something that explains it well? …

Software Development c
Member Avatar for VINEET KUMAR
0
181
Member Avatar for shyamalaa

file_list='find /home/attrib/ -name *.csv' for fn in $file_list do echo "Inside the loop" echo $fn done I need the list files available in the specified directory find /home/attrib/ -name *.csv - This works on the command line and gives the desired output . But the above script Gives me output …

Software Development shell-scripting
Member Avatar for shyamalaa
0
126
Member Avatar for kaushik259106

I have configured my tomcat to work on port 80 so when i press [url]http://localhost/[/url] i gets the default page of tomcat. I have a web apps under webapps folder and it has the starting page as login.jsp. How do i configure so that i get the login.jsp when i …

Software Development java
Member Avatar for kaushik259106
0
63
Member Avatar for bcm

can any one help me in changing text in vb.net2003

Software Development vb.net
Member Avatar for arjunsasidharan
0
75
Member Avatar for daycartes

I have been trying to design an application where I need to set the focus from my application to the last application eg word powerpoint excel etc and then to paste in some information to that application. I think that I should be using enumerate windows or get lastwindow functions …

Software Development pascal
Member Avatar for radu84
0
364
Member Avatar for Mr.UNOwen

Hello, Can someone point out where the javadoc for AudioPlayer.player is? This is the code I currently have... [CODE] import sun.audio.*; import java.io.*; ... ... ... InputStream input = new FileInputStream("Stop.wav"); AudioStream sound = new AudioStream(input); AudioPlayer.player.start(sound); [/CODE] If there is no loop method for this, what's the easiest way …

Software Development audio java
Member Avatar for Mr.UNOwen
0
146
Member Avatar for hoceandress

hey guyz!!! i'm just trying to check my code u all if it's correct. thankz! the problem is " ask a number (N). calculate and display the value of x, where x = (1*N)+(2*N)+(3*N)...(N*N); ex. if i input a number 5 the formula of x where: x = (1*N)+(2*N)+(3*N)+(4*N)+(5*N); this …

Software Development c++
Member Avatar for vijayan121
0
134
Member Avatar for psyman_86

Hi, i'm trying to implement a node class to be used with a linked list. When try to complile i get the following errors in the .cpp file: Node.cpp:26: error: syntax error before `::' token Node.cpp:31: error: syntax error before `*' token Node.cpp:36: error: syntax error before `*' token Everything …

Software Development c++ linked-list
Member Avatar for psyman_86
0
447
Member Avatar for tgifgemini

Hello members I reading - Looping through a recordset (MS Access Query) that has 49 records. Note: the query is generate on the fly(dynamically). The processing is supposed to exit the loop at EOF but it keeps processing indefinitely (sort of an infinite loop). Does anybody know why this is …

Software Development visual-basic
Member Avatar for tgifgemini
0
248
Member Avatar for plusplus

How do I check if two dates(within same month) occur within the same week, week starting sunday. Already found the answer I used Datediff("ww",,)

Software Development visual-basic
0
60
Member Avatar for mbassa

hello I am new in python.I would like to know how to play a sine vector using the sound card through python . I would really appreciate your help thanks

Software Development python
Member Avatar for stymiee
0
73
Member Avatar for pmhayden

Hi I'm in the process of getting JConnector in MySQL to connect to JBuilder 3. I've noticed in the MySQL manual that to accomplish this successfully I need to switch off the class verifier (-Xverify:none) as JBuilder 3 is too old to support some features on the JConnector. (1) How …

Software Development java
Member Avatar for jwenting
0
105
Member Avatar for ramavundela

i wanted to do a c project.please can anybody give me ideas about any project.

Software Development c
Member Avatar for TkTkorrovi
0
89
Member Avatar for ananthxp

hai i am doing a small project. can write program that listen to usb port? if suppose an device is connected to usb port a message should come describing the nature of the device connected? is this possible in c? if not can you suggest me how to do this? …

Software Development c
Member Avatar for Ancient Dragon
0
103
Member Avatar for sTuPiD gUrL

my groupmates and i are making a project which are very ifficult for a begginer. in our project, we have some of the codes. the problem is when we run-start it.... and click the command button (which are factorial and fibonacci) the answers will not appear to the result text/label... …

Software Development visual-basic
Member Avatar for plusplus
0
119
Member Avatar for Probleminfinity

Hi, I have been trying to Copy a worksheet into another workbook and rename it using macro. But while running it Gives me an error: Run-time error '40036': Application-defined or object-defined error. Any help will be appreciated.

Software Development visual-basic
Member Avatar for Probleminfinity
0
1K
Member Avatar for Marine

Hello, I need to convert manually string "6.812345678912345678912345678" to double (well, high-precision double i guess...). Below is my code, which only converts the first 9 digits. After that it's all messed up. I really need to convert this long string to the same long number. How do I do this? …

Software Development c++
Member Avatar for SpS
0
219
Member Avatar for gaurav252

Hi . i m new in c++ programming..plz help me in sorting out this problem..... HOW THE VALUE OF "j" VARIES IN FOLLOWING PROBLEMS ? Plz Explain... 1. int i=10,j; j= (i++) + (i++); cout<<j; 2. int i=10,j; j= (i++) + (++i); cout<<j; 3. int i=10,j; j= (++i) + (i++); …

Software Development c++
Member Avatar for Ancient Dragon
0
210
Member Avatar for apontutul

I want to make: when i click a button after I've given some input it checks & if successful it opens a new window/page i.e I want to create a link....till now I've done [CODE] import javax.swing.JOptionPane; public class inputwindow { /** * @param args */ public static void main(String[] …

Software Development java java-swing perl
Member Avatar for Ezzaral
0
245
Member Avatar for libran

Hi, Kindly help me starting with the Java program. Find the specification of the code in the .doc file attched. Regds, [COLOR=#000000] [/COLOR] [B][I][COLOR=#000000] [/COLOR][/I][/B][COLOR=#000000]. [/COLOR]

Software Development java
Member Avatar for jwenting
0
118
Member Avatar for orion_nsk

Hello Everyone, Can anyone tell me [B]"how to get the Name of the Control (Mainly for TextBoxes), Who is Setfocused" [/B]??? Thanks in Advance.

Software Development visual-basic
Member Avatar for orion_nsk
0
231
Member Avatar for abar_sow

how to change the contents in text file to ppt file with bullets ... My code for wat i tried to shift the contents to ppt from java is: import java.io.*; import java.util.*; class Filereader { public static void main(String args[])throws Exception{ FileReader fr = new FileReader("E:\backup_javaprog\file.java"); BufferedReader br=new BufferedReader(fr); …

Software Development java
Member Avatar for Ezzaral
0
79
Member Avatar for tgifgemini

People, this is a wired one for me. I am executing my module and I am getting a compile error - "Loop without a Do" even though I do have a "Do". Below is my module: [code] ii = 5 ii = ii + 1 Do Until M.qBW.EOF xlWksht.Cells(ii, 1).Value …

Software Development visual-basic
Member Avatar for tgifgemini
0
508
Member Avatar for Mr.UNOwen

Hello, I'm creating a game and in this game if you press two particular buttons at once, a particular move is done. How do I go about doing this with KeyListener? Is there a way to get it to wait for a fraction of a second to see if there's …

Software Development java
Member Avatar for Ezzaral
0
3K
Member Avatar for Prozeen

Hi there. I've got two forms (form1.frm and frmoptions.frm.) The first form contains a variable (multip = 2.) When I click on the first form let's say I want to see that variable in the second form's command button's caption. This doesn't work. All I get is a blank command …

Software Development visual-basic
Member Avatar for Prozeen
0
64
Member Avatar for tgifgemini

Hi Members, I am directly referring to you because you have firsthand idea of what I went through developing this little piece of vb apps. which produces an excel spreadsheet. However, the program is working perfectly okay, but when I make the spreadsheet visible or when I print the spreadsheet, …

Software Development visual-basic
Member Avatar for tgifgemini
0
102
Member Avatar for sixer_ch
Member Avatar for Prozeen
0
259
Member Avatar for almy

i know how to sort a few number but i dont know to sort alphabet. anybody can help me??? plez;-)

Software Development c++
Member Avatar for rati
0
148
Member Avatar for cygnusX

Ok,let's say that i have this code string word1 = "safdsa"; string word2 = "sdfafds"; string word3 = "asdas"; richTextBox1.AppendText(word + word2 + word3); And i want word2(just for example) to be with different cursor.I mean,when i move the mouse pointer over the word2 i want to see another cursor …

Software Development
Member Avatar for cygnusX
0
85
Member Avatar for shahriar2403

I am getting the list items from a access database to a list box in my form. But it is showing the list items in a line for each items. As the list box is a narrow one, i cant see the whole line. How can i see the whole …

Software Development visual-basic
Member Avatar for QVeen72
0
75
Member Avatar for coco86

hi .... im having trouble about how to not save text file... 'i create a textfile like this ..' Set ts2 = fs.CreateTextFile(vtxt & "_" & Format(Date, "ddmmyy") & ".txt") vsmg = "my text" ts2.writeline (vsmg) 'call a notepad' Call Shell("notepad.exe " & (vtxt & "_" & Format(Date, "ddmmyy") & …

Software Development visual-basic
Member Avatar for QVeen72
0
130

The End.