|
// index.c
// Personal site of Artem Radchenko
// (c) 2007
#include <stdio.h>
#include <stdlib.h>
#include "radar.h"
void PORTFOLIO( void ) {»}
void PHOTO( void )
{»}
void MY_SAFE( void )
{»}
void HEARTH( void )
{»}
void COMMUNICATION( void )
{»}
void
AZE_STUFF( void ) {»}
void
THE_RIRE( void ) {»}
void main(void)
{
char strTextBuf;
FILE *streamFileData;
printf ("Hello world! \n");
printf ("My name is Artem. \n");
printf ("Welcome to my site. \n");
printf ("Welcome to my home! ^_^ \n");
streamFileData = fopen( "index.html", "r" );
if( streamFileData == NULL )
{
printf( "The file index.html was not opened\n");
}
else
{
fseek( streamFileData, 0, SEEK_SET );
for(;
{
strTextBuf = fgetc( streamFileData);
if(strTextBuf == EOF )
{
break;
}
printf( "%c", strTextBuf );
}
fclose( streamFileData );
}
}
|