Wednesday, 21 September 2016
Import Microsoft Access Database table to PHP mysql database table
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Q. Write a program to make three array name mArry, even & odd move array value in even & odd array respect to this type ?
/* #############################
Girfa Student Help
Event Odd Sepration Program
for more programs visit : http://girfahelp.blogspot.in/2012/09/some-program-of-c-language.html
##############################
*/
#include<stdio.h>
#include<conio.h>
#define MAX 5
void main()
{
int even[MAX*2],odd[MAX*2],ar[MAX],i,oddindex,evenindex;
clrscr();
for(i=0;i<MAX;i++)
{
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Q. Write a program to make three array name mArry, even & odd move array value in even & odd array respect to this type ?
/* #############################
Girfa Student Help
Event Odd Sepration Program
for more programs visit : http://girfahelp.blogspot.in/2012/09/some-program-of-c-language.html
##############################
*/
#include<stdio.h>
#include<conio.h>
#define MAX 5
void main()
{
int even[MAX*2],odd[MAX*2],ar[MAX],i,oddindex,evenindex;
clrscr();
for(i=0;i<MAX;i++)
{
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Tuesday, 20 September 2016
Template Class In C++
A class or function which can operate any type of with single bunch of code (Run time data type initialization)
Template is one of the features
added to C++ recently. It is a new concept which enable programmer to make generic
class which can operate any data type. A Template class takes data type as an
argument which run time set data type of calling object so there is no need to
make different version of class and function different types of data type.
Syntax:
Template
<Class name Ob_Name>
Class
Class_name
{
_____
_____
}
A template can be considered as a
kind of macros. When an object of a specific type is defined for actual use. The
template definition for that class is substituted with the required data type. since
a template is defined with a parameter that would be replaced by a specific
data type at the time of actual use of the class or function. The template is sometimes called
parameterized or function.
/* ##############################
Girfa Student Help
Template Class
Date : 21-Sep-2016
for more example visit: http://girfahelp.blogspot.in/p/c-tutorial_20.html
###############################
*/
#include<iostream.h>
#include<conio.h>
const int size=3;
template <class t>
class vector
{
t *v;
public:
vector()
{
v=new t[size];
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Subscribe to:
Posts (Atom)