Tags » Source Code

Movie Reviews (& Jake Gyllenhaal Rant): Nightcrawler

Nightcrawler directed by Dan Gilroy

I usually don’t enjoy watching Jake Gyllenhaal movies. I’m a huge fan of Donnie Darko and Zodiac, and thought Source Code was pretty good. 641 more words

Movie Reviews

Source Code Formatting Bug

When one is writing code on a tight delivery timeline, or to fix quickly an issue, rarely source code formatting is consider. Every developer has his own style of code formatting, but when one is part of team, s/he should work to achieve certain common grounds of source code formatting across the team members. 445 more words

Release Notes - F15 D'Gamma Clone

It’s release day again here at C64CD and, since most people will have noticed that we’ve established a routine, this new demo is for the Apple II and takes influences from the previous… 517 more words

Programming

Contra o Tempo

Contra o Tempo
O capitão Colter Stevens (Jake Gyllenhaal) faz parte de um projeto ultrasecreto denominado Source Code capaz de transportar um homem para o corpo de outro, assumindo a sua identidade nos oito minutos de vida restantes de cada alvo escolhido para a “ocupação”. 11 more words

Insights: royalty payments to Canada - Task Technology v C of T

The global digital economy is increasing in value; this includes opportunities for Australians to import offshore intellectual property to resell to Australian businesses and consumers.  However, many Australian taxpayers probably don’t realise that they will likely bear the cost of paying a non-resident’s tax under Australia’s withholding tax collection mechanisms. 609 more words

Insights

OOP: Constructor Example

Hare is the source code of constructor example given in the class.


#include "stdafx.h"
#include <iostream>
#include <conio.h>

using namespace std;

class Calculator
{
private:
int no1,no2;

public:
Calculator() //Default Constructor
{
no1=0;
no2=0;
}

Calculator(int a, int b) //Augmented Constructor
{
no1=a;
no2=b;
}

void getData()
{
cout<<"Enter 1st number";
cin>>no1;
cout<<"Enter 2nd number";
cin>>no2;
}

void add() //Add function
{
cout<<"Sum ="<<no1+no2;
}
void sub() //Subtraction function
{
cout<<"Subtraction ="<<no1-no2;
}
void mul() //Multiplication function
{
cout<<"Multiplication ="<<no1*no2;
}
void Div() //Division function
{
cout<<"Division ="<<no1/no2;
}
};
void main ()
{
Calculator cal; //Default Constructor will call
Calculator obj(2,5); // Augmented Constructor will call

cal.add(); //ans will be 0
obj.add(); //ans will be 7

}