please dont rip this site

Language Ccpp Cppref Examples Mjl_test.cc

     
   #include <iostream.h>
    
    void Add(int Left,   int Right);
    void Add(double Left, double Right);

    main ()
    {
        
        Add(5, 9);
        Add(3.2, 7.1);
    }
 
    // integer version of Add.
       
    void Add(int Left, int Right)
    {
        cout << Left << " + " << Right << " = " << Left+Right << endl;
    }
    
    // float version of Add.
    
    void Add(double Left, double Right)
    {
        cout << Left << " + " << Right << " = " << Left+Right << endl;
    }
     


file: /Techref/language/ccpp/cppref/EXAMPLES/mjl_test.cc, 0KB, , updated: 1998/10/29 05:21, local time: 2024/5/18 15:21,
TOP NEW HELP FIND: 
3.144.39.93:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.sxlist.com/techref/language/ccpp/cppref/EXAMPLES/mjl_test.cc"> language ccpp cppref EXAMPLES mjl_test</A>

Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 
Quick, Easy and CHEAP! RCL-1 RS232 Level Converter in a DB9 backshell
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .