Search Results

Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: selvaganapathy ; Forum: C++ and child forums
Forum: C++ Feb 24th, 2009
Replies: 2
Views: 454
Posted By selvaganapathy
I changed the reference as pointer that also not working. Finally i found the solution. I just inherit a class from CArray <>, that solves the problem.


struct Coordinates{
int x, y, z;
};...
Forum: C++ Feb 23rd, 2009
Replies: 2
Views: 454
Posted By selvaganapathy
Hi,
I am using VC++6, MFC Application

I am having the member variable - CArray < Coordinates, Coordinates & > mCoordinates. Coordinates is a structure, contains x, y, and z. When i return...
Forum: C++ Jun 7th, 2008
Replies: 5
Views: 1,013
Posted By selvaganapathy
//overload operator*
it is similar to overloading << and >>
Just give declaration inside complex0 class as friend.

friend complex0 operator* (int no, complex0& com);


complex0...
Forum: C++ Jun 7th, 2008
Replies: 8
Views: 1,699
Posted By selvaganapathy
Hi
I think
x [i] = toupper (x[i]) ;

Also iterate to the length of the String. Not the fixed value. In the coding u specified 0 to 12.
Forum: C++ Jun 7th, 2008
Replies: 8
Views: 1,699
Posted By selvaganapathy
Hi
I think
x [i] = toupper (x[i]) ;
Forum: C++ Jun 7th, 2008
Replies: 5
Views: 1,013
Posted By selvaganapathy
Hi,
Why dont use friend function for overloading *
Syntax
friend complex0 operator*(int, complex0&);
friend complex0 operator*(complex0&, int);
Forum: C++ May 25th, 2008
Replies: 6
Views: 1,621
Posted By selvaganapathy
HI
I heard about Number Theory algorithm for long number addition, subtration, multiplication and division. It was found in a book [Cryptography in C]. I hope, It may help to u.
Showing results 1 to 7 of 7

 


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

©2003 - 2009 DaniWeb® LLC