HI EVERYONE, I AM AN OLD TOURIST TO GupShup, BUT A NEW RESIDENT HERE, PLEASE WELCOME!
<E.O.F>
/*
**Please start creating the DISC 2 contents with your replies, thank you. **
*/
Through out my ācareerā at GupShup, I would be the Disc 1, my fellow guppies would be performing the part of DISC 2. (DISC 1 has the higher precedence as it holds the contents that will open up the discussion from time to time).
Hmmm, It depends. The following code with answer this questions.
/* Find out if you are opposite gender...version 2 already */
/* Just enter male or female at the prompt, or get ready for a nasty error */
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <string.h>
void main()
{
char gender[7];
char mygender] = "male";
int opposite;
puts("Please enter only male or female, other creatures not supported at this time");
printf("What\'s your gender\? ");
scanf("%s",&gender);
opposite=strcmp(gender,mygender);
if (opposite==0)
{
puts("Not an opposite gender");
getch();
}
else
{
puts("yohooooo, opposite gender");
getch();
}
return;
}
This is PTV, intezaar farmaiye!!!
haha, all kinds of CDs are in store, just wait (watch for my Audio gallery posts starting week after next). for now, please live with the programming disc. aap ko bore karne ke liye maafi, and for your contents for the Disc 2, very very shukriya.
Array use a āCā compiler, not Visual Basic.
(BTW, these errors are fairly common with my programs for the first 100 times I compile them, change them etc etc)