Search Results

Showing results 1 to 27 of 27
Search took 0.00 seconds.
Search: Posts Made By: comwizz ; Forum: C++ and child forums
Forum: C++ Jul 8th, 2006
Replies: 6
Views: 2,658
Posted By comwizz
hi,
i tried implementing the stack with pop front , pop back ,push front and push back functions . well , i tried them separately and they worked , but i want a single stack performing all the...
Forum: C++ Jul 8th, 2006
Replies: 6
Views: 2,658
Posted By comwizz
Thanks Lerner , Azimuth0 and Laiq Ahmed for your help. I will be updating my program according to your inputs and would post if I have a problem .
Thanks
Forum: C++ Jul 7th, 2006
Replies: 6
Views: 2,658
Posted By comwizz
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

#include<iostream.h>...
Forum: C++ Apr 13th, 2006
Replies: 3
Views: 1,575
Posted By comwizz
Apart from deallocating meomory , I think there should be a reason for this code not to work.
Thanks,
comwizz
Forum: C++ Apr 12th, 2006
Replies: 3
Views: 1,575
Posted By comwizz
This is the slightly corrected version.Correction is
password* counter=new password;
Forum: C++ Apr 12th, 2006
Replies: 3
Views: 1,575
Posted By comwizz
Hello everyone,
I am having some problem in reading the data inputted in a file correctly using linked lists. I think this might be because of having pointer next of type password class.
Thanks,...
Forum: C++ Mar 19th, 2006
Replies: 16
Views: 10,018
Posted By comwizz
Please reply.
Forum: C++ Mar 18th, 2006
Replies: 16
Views: 10,018
Posted By comwizz
I cannot figure out how to open the results/output window in Dev c++. Also how to effectively use step over / step into . I kept breakpoints at certain points in my program but step over from then...
Forum: C++ Mar 18th, 2006
Replies: 6
Views: 11,611
Posted By comwizz
According to your code the assignment operator could be used as a friend function to class c and the bar function would work correctly as deep copy is implemented . So why not use the assignment...
Forum: C++ Mar 18th, 2006
Replies: 2
Views: 15,281
Posted By comwizz
He friends,
I would like to have some guidance over projects to take up in C++?
I would like to take up a challenging project . Also I have changed my compiler from turbo C++ to Dev C++ but i...
Forum: C++ Mar 18th, 2006
Replies: 6
Views: 11,611
Posted By comwizz
I dont understand this clearly.


I cannot understand this fully , how would globally defining = operator make a difference??
Thanks for your help,
comwizz
Forum: C++ Mar 18th, 2006
Replies: 6
Views: 11,611
Posted By comwizz
Why cant we overload assignment operator using a friend function?
Please help??
Thanks,
comwizz.
Forum: C++ Mar 2nd, 2006
Replies: 4
Views: 4,562
Posted By comwizz
Why should references be used at all?? As we could always use pointers in place of them as if we change the value of the pointer , automatically the value of variable it points to is changed eg....
Forum: C++ Mar 1st, 2006
Replies: 4
Views: 4,562
Posted By comwizz
How are functions returning reference used?? Do they return values on the left side or the right side of the assignment. I would be glad if I could get some help.
Thanks,
comwizz.
Forum: C++ Feb 17th, 2006
Replies: 16
Views: 6,579
Posted By comwizz
I would need help. It would be great if you could help me.
Thanks,
comwizz
Forum: C++ Feb 16th, 2006
Replies: 16
Views: 6,579
Posted By comwizz
Heres my corrected code. Still , I am having problems , that when two lines are entered by the user , after sorting the words of the first line , the word length of second line as well as the...
Forum: C++ Feb 13th, 2006
Replies: 16
Views: 6,579
Posted By comwizz
Hello everyone,
I was having this problem of sorting words of a string entered by user where the user enters many strings and words of each string are sorted separately. This had to be done using...
Forum: C++ Jan 31st, 2006
Replies: 1
Views: 2,591
Posted By comwizz
Where could I find tricks, riddles and puzzles in C and C++ as I have a technical quiz and have to prepare for that.
Thanks,
comwizz
:?:
Forum: C++ Jan 30th, 2006
Replies: 13
Views: 5,617
Posted By comwizz
Please reply . I will have to submit this program tomorrow.
Thanks,
comwizz
Forum: C++ Jan 29th, 2006
Replies: 13
Views: 5,617
Posted By comwizz
Heres my attempt for dynamic memory allocation.

//Program to deposit money in a bank account
#include<iostream.h>
#include<string.h>
#include<conio.h>
class account
{
public:
void...
Forum: C++ Jan 29th, 2006
Replies: 13
Views: 5,617
Posted By comwizz
allocate some memory to acc_tpe---try dynamic memory if you wish.
Without the user specifying the no of letters he is going to enter how should I dynamically allocate memory.for eg. if he is going...
Forum: C++ Jan 26th, 2006
Replies: 13
Views: 5,617
Posted By comwizz
I defined the characters p1 and p2 and initialized the pointers with their address still the program doesnt work and hangs. What should I modify in my program?
Thanks,
comwizz.
Forum: C++ Jan 26th, 2006
Replies: 13
Views: 5,617
Posted By comwizz
Why should main return an integer ?
Forum: C++ Jan 25th, 2006
Replies: 13
Views: 5,617
Posted By comwizz
Hello everyone,
I ahd to make a program for initializing members of a class and displaying them.The members were name , bank account no, account type and current balance.
Well , the program works...
Forum: C++ Jan 24th, 2006
Replies: 4
Views: 2,326
Posted By comwizz
Thanks for the help . The tutorial is just about perfect.
thanks,
comwizz
Forum: C++ Jan 23rd, 2006
Replies: 4
Views: 2,326
Posted By comwizz
I would like an example for using copy constructor with new operator.

Also if the address in a pointer is copied then it indirectly serves our purpose as the pointer can be dereferenced to get the...
Forum: C++ Jan 23rd, 2006
Replies: 4
Views: 2,326
Posted By comwizz
Hello everyone,
I wanted help on the exact use of copy constructors as I still havent got the idea of how they are used. If possible also I would like some info about them.
Also I wished some...
Showing results 1 to 27 of 27

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC