Go ahead critize and maybe just maybe congratuale on the effort made.
Go ahead critize and maybe just maybe congratuale on the effort made.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
oh yeah it only goes up to four grading periods or terms.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
But at the end after it prints the GPA you will need it exits because there is nothing to ask(it flashes it then exits) :/
how did you change the color of that text?
Not bad, but we can't see the source and comment on that? I promise not to burn you too badly.
>how did you change the color of that text?
That was done with a nonstandard Borland function called textcolor() defined in conio.h. I'm taking a wild guess, but somehow I get the feeling that I'm right.
-Prelude
My best code is written with the delete key.
I think it actually waits for the user to press any key to exit.......code yeah I'll post it.....without the formula my friend helped with he's freaked out about me posting it.....as soon as I can find it......I will.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
>without the formula my friend helped
Formula for calculating a GPA? I've got bad news for your friend, but that formula has been around for a while now.
-Prelude
My best code is written with the delete key.
maybe my conio.h is outdated??? i have MSDEV VC++ 4.0 and the conio.h included does not definde textcolor()
>maybe my conio.h is outdated???
You don't have it! I'm tired of saying that conio.h is nonstandard. Compilers don't have to include lame functions like textcolor and gotoxy, they don't have to clear the screen, they don't even have to include conio at all! So please stop asking how to change the color of your text, it doesn't matter what color the text is as long as the program works. No one cares whether your text is white or green or pink or flashing neon pastels, just get the program working and users will be happy. That's it, end of story. This rant brought to you by a very annoyed programmer.
-Prelude
My best code is written with the delete key.
actually. I DO have conio.h. so WTF r u ranting about? dont ........ me off im happy listening to rants but when u say i dont have conio.h and i do ur just bein plain stupid. now tell me without ranting. what is wrong with my version of conio.h?
[EDIT] codes off, takes up too much space [/edit]
Last edited by incognito; 03-20-2002 at 01:04 PM.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
>what is wrong with my version of conio.h?
Nothing, it works fine. I wasn't saying you don't have conio, I was saying that you don't have textcolor. Here's how it is with something nonstandard: One compiler will have a function, but that function probably will not be on another compiler, the person who writes the compiler decides what nonstandard stuff to put in. Borland is full of nonstandard functions, but MSVC++ only has these:
_cgets(char *);
_cprintf(const char *, ...);
_cputs(const char *);
_cscanf(const char *, ...);
_getch(void);
_getche(void);
_inp(unsigned short);
_inpw(unsigned short);
_inpd(unsigned short);
_kbhit(void);
_outp(unsigned short, int);
_outpw(unsigned short, unsigned short);
_outpd(unsigned short, unsigned long);
_putch(int);
_ungetch(int);
/* Non-ANSI names for compatibility */
cgets(char *);
cprintf(const char *, ...);
cputs(const char *);
cscanf(const char *, ...);
inp(unsigned short);
inpw(unsigned short);
getch(void);
getche(void);
kbhit(void);
outp(unsigned short, int);
outpw(unsigned short, unsigned short);
putch(int);
ungetch(int);
That's it, nothing else.
-Prelude
My best code is written with the delete key.
thanks. do you have the textcolor() code or know where to get it? so i could include it into my conio.h of course! also liek the backdrop for text and clear screen and other goodies wold be nice too ^_^ ty :P
This might have been made shorter with Function pointers but I am just starting so that was a litte hard.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
just download DevC++ it should have it.....that's what I used to compile it.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
could ya do me a favor plz? go into ur conio.h and place the code here? thx ^_^