Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
3
0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for pdwivedi

Hi all, I want to create all possible combinations of a full binary tree which must have exactly 4 leaf nodes and 3 internal nodes. I want to create it using recursion and tree must be simple binary tree not a binary search tree or BST. Kindly suggest algorithm to …

Member Avatar for pdwivedi
0
491
Member Avatar for pdwivedi

[COLOR="red"]can anybod suggest me links for free ebooks where I can find books on C++ programming in linux. I'll be highly thankful.[/COLOR]

Member Avatar for osamalyduc
-1
121
Member Avatar for pdwivedi

Can any body suggest me how can I free the dynamic memory in the given code [CODE]int fun(CString qry, CStringList *List,int n) { using namespace std; string sqlStmt = qry; int i; this->stmt = this->conn->createStatement (sqlStmt); ResultSet *rset = this->stmt->executeQuery (); string **oraRecordsStr=NULL; try { while (rset->next()) { if(oraRecordsStr == …

Member Avatar for Caligulaminus
0
114
Member Avatar for pdwivedi

Hi everybody, can someone please explain what is the difference between line A(10) and line B(11).why am i being able to access value of n without using de-referencing operator in first case? [CODE]void fun(void *n) { printf("\n n=%d ", n); } int main() { char nVal = 65; fun((int*)nVal); //-----A …

Member Avatar for mike_2000_17
0
601
Member Avatar for pdwivedi

I am using ADODB for connecting ms-access database from a vc++ application.I want to insert record in access database;but if the record already exists in the access table then update query should run instead of insert query. the above task can easily be done with stored procedure, but since ms-access …

Member Avatar for pdwivedi
0
250
Member Avatar for pdwivedi

hello to all, i am using vroksub which is dos based application for downloading subtitles.It automatically downloads subtitles fom the web.But I have one problem that this application is unable to connect to internet, because I use internet through proxy server which requires username and password for authentication.Is there any …

0
70
Member Avatar for pdwivedi

[code=C]#include<stdio.h> struct book { char name[25] ; char author[25] ; int callno ; } ; int main() { struct book b1={ "Let us C", "YPK", 101 } ; printf("name=%s",b1.name); printf("\nname=%s",&b1.name); return 0; } [/code] can someone explain me why i am getting the same output while i am using two …

Member Avatar for Salem
0
86
Member Avatar for pdwivedi

can anybody help me how to setup bluetooth in rhel5 so that i can transfer files to and from my mobile to linux box? thanks in advance

0
60
Member Avatar for pdwivedi

i used following command to overcome edit-compile-run cycle while working with vim editor. :set makeprg=g++\ % then i ran the :make command every thing worked fine except that instead of jumping to the first error line in my file the vim editor shows that "[COLOR="Red"]type command or press enter to …

Member Avatar for pdwivedi
0
115
Member Avatar for pdwivedi

hi everyone i have written a simple program which asks for the colour and no of wheels of a vehicle. i used gets() for inputting colour of vehicle.but it was skipping that line. some body suggested me that it is buffer problem and use cin.getline() with getchar() function in while …

Member Avatar for Ancient Dragon
0
194
Member Avatar for pdwivedi

hi can anybody please expalin me that can i access the array(arr) which is declared as a private member of the class(array) by using public function (display). The code is given here... [CODE=c++]#include<iostream.h> const int size= 8; class array { int arr[size]; int i; public: array(); void display(int arr[size]); }; …

Member Avatar for Salem
0
111
Member Avatar for pdwivedi

hi, can any one please tell me, if I want to check that if any particular port on a remote workstation is open or closed on a LAN which command should I use ? If the ping command can be used please tell me its syntax. regards pdwivedi

Member Avatar for DimaYasny
0
128
Member Avatar for pdwivedi

[COLOR="Red"]We have a plant in which all the activities are recorded in a log file. We have to make an application which retrieves data from the log file,like history of a product which is passed from various work stations. we want to make an application which takes selected data from …

0
61
Member Avatar for pdwivedi

[COLOR="Green"]i want to take data from serial port and want to redirect it to the ps/2(keyboard) port. is it possible to do so if yes please help. [/COLOR]

Member Avatar for Ancient Dragon
0
182
Member Avatar for pdwivedi

i have a program which outputs a [COLOR="Green"].prt [/COLOR]file for printing barcode. But i want to send the file directly to the printer port LPT1 for printing instead of having [COLOR="Green"].prt[/COLOR] file please any body suggest a solution. [COLOR="Red"]Regards Prashant[/COLOR]

Member Avatar for Salem
0
105
Member Avatar for pdwivedi

I want to open a text file in a c program which is on desktop.How can I print the texts written in the file on screen.Please help [B]Regards Prashant[/B]

Member Avatar for WaltP
0
120
Member Avatar for pdwivedi

I have several .CPP and .H fles which i want to compile together. These files are used for PLC and Oracle database communication. when i try to compile these files it says following header files are missing .. [COLOR=red]<occi.h>[/COLOR] [COLOR=red]<sys/msg.h>[/COLOR] [COLOR=red]<sys/time.h>[/COLOR] [COLOR=red]<sys/stat.h>[/COLOR] [COLOR=red]<signal.h>[/COLOR] How can I recover these files & …

Member Avatar for dwks
0
101
Member Avatar for pdwivedi

I have several .CPP and .H fles which i want to compile together. These files are used for PLC and Oracle database communication. How can i compile these files? I have Borland 2006 C++ IDE, also VC++ IDE. Please help. Thanks in advance. Prashnat

Member Avatar for Ancient Dragon
-1
69