Search Results

Showing results 1 to 39 of 39
Search took 0.01 seconds.
Search: Posts Made By: comwizz
Forum: C++ Jul 8th, 2006
Replies: 6
Views: 2,587
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,587
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,587
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: Networking Hardware Configuration Jun 17th, 2006
Replies: 0
Views: 4,170
Posted By comwizz
Hi friends,
I wanted to know if there are any tutorial links on how to program a sliding window protocol using OSI reference model, I wanted to gather some information about it.
Thanks,
comwizz.
Forum: Geeks' Lounge Apr 20th, 2006
Replies: 68
Views: 6,969
Posted By comwizz
Count my vote for Narue as moderator
Forum: Geeks' Lounge Apr 20th, 2006
Replies: 0
Views: 863
Posted By comwizz
Narue's posts are invaluble contributions to the forum. Hope she stays as a moderator.
Forum: C++ Apr 13th, 2006
Replies: 3
Views: 1,555
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,555
Posted By comwizz
This is the slightly corrected version.Correction is
password* counter=new password;
Forum: C++ Apr 12th, 2006
Replies: 3
Views: 1,555
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: 9,655
Posted By comwizz
Please reply.
Forum: C++ Mar 18th, 2006
Replies: 16
Views: 9,655
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,168
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: 14,826
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,168
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,168
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,371
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,371
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 Mar 1st, 2006
Replies: 8
Views: 3,442
Posted By comwizz
I did not understand that if the size of the buf variable is 3 then after getting input "y" and "\n" how does stdin terminate the coming input i.e. what would be buf[2]??

char buf[3];...
Forum: C Feb 17th, 2006
Replies: 1
Views: 20,494
Posted By comwizz
I would like to know the exact difference between calloc and which is more useful?? Though calloc allocates memory in the form of blocks and malloc in a single block , do they both allocate memory...
Forum: C++ Feb 17th, 2006
Replies: 16
Views: 6,421
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,421
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,421
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,533
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,517
Posted By comwizz
Please reply . I will have to submit this program tomorrow.
Thanks,
comwizz
Forum: C++ Jan 29th, 2006
Replies: 13
Views: 5,517
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,517
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,517
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,517
Posted By comwizz
Why should main return an integer ?
Forum: C++ Jan 25th, 2006
Replies: 13
Views: 5,517
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,270
Posted By comwizz
Thanks for the help . The tutorial is just about perfect.
thanks,
comwizz
Forum: C++ Jan 23rd, 2006
Replies: 4
Views: 2,270
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,270
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...
Forum: C Dec 29th, 2005
Replies: 9
Views: 62,104
Posted By comwizz
Forum: C Dec 27th, 2005
Replies: 9
Views: 62,104
Posted By comwizz
I would like to know what is the difference betn
getchar(),getch(), and getche() functions and which should be used in which conditions.
Thanks,
comwizz. :confused:
Forum: C Dec 17th, 2005
Replies: 5
Views: 1,345
Posted By comwizz
Even if we evaluate from the right for j=1 the expression will be evaluated like 1 + 3 + 3 and will still turn out to be 7. Do you mean that theres no conventional way of how to evaluate this...
Forum: C Dec 15th, 2005
Replies: 5
Views: 1,345
Posted By comwizz
I am having this problem with precedence of operators. Its with the increment and decrement operators.

int i,j=1;
i=(j++)+(++j)+(j++);

this evaluates to 6 instead of 7 . Why does this happen....
Forum: C Nov 18th, 2005
Replies: 0
Views: 4,021
Posted By comwizz
Heres a precise and short way to permute any word without pointers
Forum: C Nov 18th, 2005
Replies: 4
Views: 4,362
Posted By comwizz
I want to run this program in C where I can compute 2^(3.5).Is this possible in C?
Forum: C Nov 18th, 2005
Replies: 4
Views: 4,362
Posted By comwizz
Hi everyone,
I am having this problem to define a function which raises a float y eg 3.5 which is not a whole number to the base x.
Heres the code which gives domain error as function pow takes...
Showing results 1 to 39 of 39

 


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

©2003 - 2009 DaniWeb® LLC