Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
must have an argument of class or enumerated type
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
C++ Syntax (Toggle Plain Text)

Code:
1. int operator%( double a, double b ){ 2. int aa = (int) a; 3. int bb = (int) b; 4. return aa%bb; 5. } int operator%( double a, double b ){ int aa = (int) a; int bb = (int) b; return aa%bb; }

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Default Function Argument with example Vuhelper 0 13,365 05-31-2012, 01:47 AM
Last Post: Vuhelper
  Argc(argument count) and argv(argument value) are used in main function Vuhelper 0 2,055 01-04-2012, 10:42 PM
Last Post: Vuhelper
  Abstract data type (ADT) in C++ 2012 Vuhelper 0 7,122 01-04-2012, 10:34 PM
Last Post: Vuhelper
  C++ Help with Template class program 2011 Vuhelper 0 841 07-23-2011, 05:40 PM
Last Post: Vuhelper
  how to pass a simlpe list of data type struct to function in c++ 2011 Vuhelper 0 876 07-20-2011, 10:49 PM
Last Post: Vuhelper
  C++ access private data members in another class Vuhelper 0 1,987 06-07-2011, 08:26 PM
Last Post: Vuhelper
  why we use class in C++ May 2011 ? Vuhelper 0 2,453 05-29-2011, 05:57 PM
Last Post: Vuhelper
  Is it possible to make data type array which act as java Class Object in dev c++ 2011 Xpert 0 2,577 05-12-2011, 09:00 PM
Last Post: Xpert
  A partial specialization may inherit from an ordinary class saneha 0 2,036 05-02-2011, 06:39 PM
Last Post: saneha
  What is the concept of having the data member of the same class within it? i.e. class saneha 1 2,244 05-02-2011, 05:54 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support