Twitter Facebook digg youtube Stumbleupon RSS feed Google Plus
0

Heavy Discount


Dear Vistior,
Till I decide to full my all ad space of my blog (http://www.LovelyCoding.Org).
It is 1.5 Year old. 
Daily Average 500 Page Views
80% Of the visitors are from India (Specially College Student). 15% are from USA
and remaining 5% from other country.

Offer is Limited 
I am selling it cheap Because nothing is better than something.

Ad Price is 

Header 
1 x 728x90 - $5

Side Ad
6 x 300x255 - $3 each unit ;

6 x 125x125 - $1 each unit;

Contact me at  here 

0

Create a weekly timetable using CSS and HTML

Screenshot of Output


Source Code

<!doctype html>
<html>
<head>
    <title>Timetable</title>
    <style type="text/css">
    body
    {
        font-family: arial;
    }
0

C++ Class Example Type -1

Source Code

#include "iostream"
using namespace std;
class simple
{
    int a;
    public:
    void set_a();
    void get_a();   
}m1,m2,m3;
void simple::set_a()
    {
        a=4;
    }
void simple::get_a()
    {
        cout<<"\n a is "<<a;
    }   

int main()
{
    m2.get_a();
    m2.set_a();
    m2.get_a();
    
    return 0;
}
0

Function Overloading in C++ Example Problem 2

SOURCE CODE

#include "iostream"
using namespace std;
int sum(int,int);
float sum(double,double);
int main()
    {
        sum(4,4);
        sum(4.0,4.0);
        return 0;
    }

int sum(int a,int b)
    {
        cout<<"\n int Sum() is "<<(a+b)<<endl;
        return 0;
    }   
float sum(double a, double b)
    {
        cout<<"\n float Sum is "<<(a+b)<<endl;
        return 0;
    }   

0

Function Overloading in C++ Example Problem 1

   Source Code

           #include "iostream"
            using namespace std;
            int sum(int,int);
            float sum(float,float);
            int main()
                {
                    int iNumber1,iNumber2;
                    float fNumber1,fNumber2;
                    cout<<"\nEnter Two Integer Number ::";
                    cin>>iNumber1>>iNumber2;
                    cin>>fNumber1>>fNumber2;
                    sum(iNumber1,iNumber2);
                    sum(fNumber1,fNumber2);
                    return 0;
                }
            
            int sum(int a,int b)
                {
                    cout<<"\nSum is "<<(a+b);
                }   
            float sum(float a, float b)
                {
                    cout<<"\nSum is "<<(a+b)<<endl;
                }   

Lovely Coding Copyright © 2012 | Sponsored By BloggerTemple.com .