![]() |
homecontact ussitemapadvertising | |||
|
|
||||
The Free MMORPG Games- Free MMORPG - P2P Games - Open Beta - Closed Beta - Browser Based - Non-English - Other Free Games - Top 50
|
|
#1 (permalink) | |
|
Sun? What Sun?
|
We Got A Coming Defence In Our CSCI01 Subject, And I'm A Bit Scared, I Don't Even Know How To Explain, Can Anyone Please Help Me Explain, Even Just The Basics...
I've Been Working These For More Than 3 Days, Staying Up Late, And Burning Oil... Quote:
Whenever Our Instructor Press "0", The Program Will Stop And Output Everything... But Were UnAble To Do It... ![]() Please Help Me...
__________________
Some said, "Don't play childish games like Pokémon". I was frustrated, and I shouted, "Dialga!; Roar Of Time!". - - - - - R.O.S.E. OnLine Evolution: http://www.onrpg.com/boards/95254.html UpDated! RAGNARÖK OnLine RPG™: http://www.onrpg.com/boards/82072.html UpDated! |
|
|
|
|
|
|
#2 (permalink) |
|
McFox Sandwich
|
I believe it has something to do with gets. I remember back in my C++ class, if you used gets with cin, bad things happened, and I think cin is an extension of scanf. Try only using scanf or gets, but not both, and see what happens.
__________________
This was a triumph. I'm making a note here, HUGE SUCCESS.
Outsider 3D Space Shooter/RPG in Development http://advena.awardspace.com/ |
|
|
|
|
|
#3 (permalink) |
|
Sun? What Sun?
|
I Also Forogt To Tell, That The Panelists Wants Us To Explain Every Detail (Not Just As A Whole), And Explain What Happens...
Please I Just Need Some Help... ![]()
__________________
Some said, "Don't play childish games like Pokémon". I was frustrated, and I shouted, "Dialga!; Roar Of Time!". - - - - - R.O.S.E. OnLine Evolution: http://www.onrpg.com/boards/95254.html UpDated! RAGNARÖK OnLine RPG™: http://www.onrpg.com/boards/82072.html UpDated! |
|
|
|
|
|
#4 (permalink) | |
|
McFox Sandwich
|
Quote:
![]() Code:
#include<string.h> #include<ctype.h> Code:
int main()
{
....
}
Code:
int count1,count2,y,count3,a,b;
char name[100][80]={0},temp;
char pass[20]="TOBLERONE",password[20];
float grade[100],qui1,quiz2,quiz3;
Code:
clrscr(); Code:
count3=0; a=15; b=10; Code:
do
{
....
} while(count3<3);
Code:
gotoxy(a,b); Code:
printf("DE CODE VAN DE VEILIGHEID: ");
Code:
gets(password); Code:
count3++; a++; b++; Code:
if(strcmp(pass,password)==0)
{
....
}
Code:
BREAK; Code:
else
{
...
}
Code:
printf("\n\t\tTOEGELATEN HET WOORD VAN DE PAS: VERLEENDE TOEGANG!");
Code:
getch(); Code:
for(count1=0,count2=0,y=2,count1=5;count1<=100;cou nt++,y++) Code:
scanf("%s",&name[count2]);
Code:
temp=getch(); if(isalpha(temp)) Code:
printf("%s",temp);
Code:
scanf("%f",&quiz1);
Okay! I think that's everything. Hope it answers your questions! ![]()
__________________
This was a triumph. I'm making a note here, HUGE SUCCESS.
Outsider 3D Space Shooter/RPG in Development http://advena.awardspace.com/ |
|
|
|
|
|
|
#5 (permalink) |
|
Sun? What Sun?
|
Sure Is It's Everything...
![]() I Wanna Cry, Thanks For Really Helping Me. It Sure Is A Lot Of Things To Remember. ![]() Thanks... Thanks... Thanks... Thanks... Thanks... Many Thanks...
__________________
Some said, "Don't play childish games like Pokémon". I was frustrated, and I shouted, "Dialga!; Roar Of Time!". - - - - - R.O.S.E. OnLine Evolution: http://www.onrpg.com/boards/95254.html UpDated! RAGNARÖK OnLine RPG™: http://www.onrpg.com/boards/82072.html UpDated! |
|
|
|
|
|
#6 (permalink) |
|
McFox Sandwich
|
Lol, don't worry about it. It took me like 10 mins to type up, it's not that big a deal
![]() Thanks for the thanks ![]() If you ever have any questions, just ask!
__________________
This was a triumph. I'm making a note here, HUGE SUCCESS.
Outsider 3D Space Shooter/RPG in Development http://advena.awardspace.com/ |
|
|
|
|
|
#7 (permalink) | |
|
Sun? What Sun?
|
Quote:
Thanks Again! ![]()
__________________
Some said, "Don't play childish games like Pokémon". I was frustrated, and I shouted, "Dialga!; Roar Of Time!". - - - - - R.O.S.E. OnLine Evolution: http://www.onrpg.com/boards/95254.html UpDated! RAGNARÖK OnLine RPG™: http://www.onrpg.com/boards/82072.html UpDated! |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Copyright © 2004-2007 BlueCastle Media |