- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 3
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 … |
|
[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] |
|
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 == … |
|
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 … |
|
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 … |
|
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 … |
|
[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 … |
|
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 |
|
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 … |
|
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 … |
|
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]); }; … |
|
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 |
|
[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 … |
|
[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] |
|
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] |
|
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] |
|
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 & … |
|
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 |