If you don't want that this come in place of google and BBC than plz comment it.
Best of Luck!!!!!!!!!!!!!!
Saturday, April 17, 2010
Bolgger
I want to say u that blogging is nothing in my point of view because they are not activating the new user blogs and if u cannot believing on me plz u must try it and comments on me if I am wrong.
2nd part of the project hospital management
struct doctor
{
int Doc_ID;
char doc_nam[20];
int age_doc;
char doc_gender;
int room_assign;
int timming;
};
{
int Doc_ID;
char doc_nam[20];
int age_doc;
char doc_gender;
int room_assign;
int timming;
};
Hospital management
/*If you want to get full program please comment this program I will send you this full coding on your Email Id. Please write ur Id if you want really.*/
#include
#include
#include
struct patient
{
int pat_no;
char nam_pat[20];
int age_pat;
char sex_pat;
char Disease[20];
int dat_admit;
int dat_discharge;
int room_no;
char tests[20];
};
#include
#include
#include
struct patient
{
int pat_no;
char nam_pat[20];
int age_pat;
char sex_pat;
char Disease[20];
int dat_admit;
int dat_discharge;
int room_no;
char tests[20];
};
Labels:
age_pat,
C language,
Dev C++,
Disease,
free C++ IDE,
Hospital,
management,
room,
VC,
Visual C++
Monday, April 12, 2010
tick tack toe function for the first player
// THIS FINCTION IS DOING 2 TYPES OF WORK FOR "PLAYER 1"
// fIRST IT IS CHECKING THAT USER IS CHEATING OR NOT
// AND ALSO TAKING INPUT FROM USER AND SAVING IT ON USER DESIRED LOCATION.
int test1(int x)
{
n.score1=n.score1-10;
switch(x)
{
case 1:
if(A[0][0]==88 || A[0][0]== 42)
{
cheat1 ();
break;
}
else
{
A[0][0]=88;
break;
}
case 2:
if(A[0][1]==88 || A[0][1]== 42)
{
cheat1 ();
break;
}
else
{
A[0][1]=88;
break;
}
case 3:
if(A[0][2]==88 || A[0][2]== 42)
{
cheat1 ();
break;
}
else
{
A[0][2]=88;
break;
}
case 4:
if(A[1][0]==88 || A[1][0]== 42)
{
cheat1 ();
break;
}
else
{
A[1][0]=88;
break;
}
case 5:
if(A[1][1]==88 || A[1][1]== 42)
{
cheat1 ();
break;
}
else
{
A[1][1]=88;
break;
}
case 6:
if(A[1][2]==88 || A[1][2]== 42)
{
cheat1 ();
break;
}
else
{
A[1][2]=88;
break;
}
case 7:
if(A[2][0]==88 || A[2][0]== 42)
{
cheat1 ();
break;
}
else
{
A[2][0]=88;
break;
}
case 8:
if(A[2][1]==88 || A[2][1]== 42)
{
cheat1 ();
break;
}
else
{
A[2][1]=88;
break;
}
case 9:
if(A[2][2]==88 || A[2][2]== 42)
{
cheat1 ();
break;
}
else
{
A[2][2]=88;
break;
}
default:
{
cheat1 ();
}
}
}
Blocks 8.02 has been released!
Our long awaited release is finally here! Representing the hard work of 14+ developers for more 2+ years since our last official release (and many changes in the roadmap in between), it is finally made available to the general public.
For your convenience, we provide binaries for all platforms Code::Blocks supports:
- Windows 2000 / XP / Vista
- Linux (Ubuntu & Debian, 32 & 64 bits)
- Mac OS X 10.4+
Binaries for other Linux distros will be made available in the following days. So, without further ado, head over to thedownloads section and get it while it's hot!
| A new release is coming! |
| Monday, 18 February 2008 10:12 | |
Catchy title, isn't it? And the best part is that it's true! Our long awaited release is coming very soon. It's only a matter of few days. We only want to iron out a few issues with the installers and perform some administrative tasks before the release. Stay tuned! |
This is the display part of the game tick tack toe in C language
void display()
{
//--------------------------------------------------------------------
printf("\n");
printf( "\t\t\t -------------------------\n");
printf("\t\t\t | | | |\n");
printf("\t\t\t | %c | %c | %c |\n",A[0][0],A[0][1],A[0][2]);
printf("\t\t\t | | | |\n");
printf( "\t\t\t -------------------------\n");
printf("\t\t\t | | | |\n");
printf("\t\t\t | %c | %c | %c |\n",A[1][0],A[1][1],A[1][2]);
printf("\t\t\t | | | |\n");
printf( "\t\t\t -------------------------\n");
printf("\t\t\t | | | |\n");
printf("\t\t\t | %c | %c | %c |\n",A[2][0],A[2][1],A[2][2]);
printf("\t\t\t | | | |\n");
printf( "\t\t\t -------------------------\n");
printf("\n");
//--------------------------------------------------------------------
}
Intial of the game Tick tack toe
#include
#include
//using namespace std;
struct player
{
char name1[20];
char name2[20];
int score1;
int score2;
};
The open source, cross platform, free C++ IDE

Code::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable.
Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms.
Built around a plugin framework, Code::Blocks can be extended with plugins. Any kind of functionality can be added by installing/coding a plugin. For instance, compiling and debugging functionality is already provided by plugins!
We hope you enjoy using Code::Blocks!
Subscribe to:
Posts (Atom)
