Saturday, March 17, 2012

Working with the MinGW Compiler

Depending on the editor you choose, the MinGW compiler provides comprehensive C++ classes and functions for all general purposes and needs. The C:\MinGW\include contains the libraries for files io.h, conio.h, stdio.h.

#include<io.h>
#include <conio.h>
#include <stdio.h>
int First(){
    int SW_SHOWMAXIMIZED=3;
    int i;
    int j;
    int iarray[6]={4,0,2,6,8,9};
    for(i=0;i<6;i++)
    {printf("Hello World-%d\n",iarray[i]);}
    }
    printf("%d",j);
    return 0;
    }

No comments:

Post a Comment