Thanks!
Type: Posts; User: harry_p
Thanks!
Hey everyone. We just had about 6 inches of rain here last night and it got me thinking about making a sort of desktop radar. Now, one solution to doing this would be to buy a radar and get...
Nice! My only issue: the controls. I had some difficulties trying to move around. I may change it on my own, though, for when I play it. Other than that, very well done!
Brendan
I've also noticed quite a few people who are very snotty to others. It's not necessary.
Brendan
Hmmm. I'll add my two cents. Personally, I found "Sams Teach Yourself C++ in 21 Days" was excellent, and you can find it online somewhere, maybe it was this site, I don't remember. But anyways,...
Yeah all of that was really hard to understand. You should try using more formal loops, like for() or something. And like moi said, you can't do this:
char * answer2=" ";
...
if...
You know I feel exceedingly stupid now! My little gotoxy(0,0) trick wasn't, uh, very effective. The function to set the cursor size was, however, thanks fletch()! The other function works to get...
Yes, I've tried both, and all they succeed in doing is getting rid of the block cursor that's controlled the mouse. The "_" one is still there. I've solved this already, thanks guys.
Brendan
Lol your welcome...your welcome!
Brendan
No, you misunderstood. I'm not talking about the actual cursor. For me, anyways, there are 2: the block one that is controlled by the mouse which I already know how to get rid of, and a little...
"conio.h"
Brendan
#include <stdio.h>
#include <conio.h> // getch()
int main()
{
int input;
printf("Enter a number: ");
while ((input = getch()) != '\r')
putchar(' ');
return 0;
And no, int is what I wanted. The point of the template was to size a 2d array. Basically, the CDRAWBLT class holds info on what I call "console bitmaps". Obviously, not every bitmap is the same...
Oh thank you so so much! That worked!!! Thank you thank you thank you!!!
Brendan
This may sound odd, and I know I've been on this board all night bombarding you poor souls with my stupid questions, but I've got another. I have a class that is template based. It looks like this:...
Woohoo!!! I was able to solve my problem. See, the game is meant to be run in full screen, but it always showed that little underscore everywhere when in fullscreen, so this is what I did: I just...
Is there a way to make the console window bigger at compile-time? I can't keep it in it's normal window because the screen contents take up more room than that, and in fullscreen, that annoying...
This is sorta what I'm doing (it's for "Mists of Avalon"). I'm making it so the villagers can walk around and the player can walk around at the same time. That was the point of it.
for(;;)...
Ha thanks everyone, but I've found that "kbhit()" function works wonderfully (though I believe it is compiler specific)! Thanks again!
Brendan
Example:
int main()
{
int keyPress;
cout << "Enter a number between 1 and 3: ";
keyPress = getch();
"getch()"?
I think that's in "conio.h"
Brendan
Okay, is there a way to perform an action while another action is going on. In my case, I want something to animate at all times, but also allow the user to use the arrow keys. I know this is...
Okay this is the last call if I don't get an answer in the next 20 minutes then you'll just have to forget it, I don't have time to wait around for people. As it is my mum's telling me off for being...
Other people can post the answer, "got_matt?" didn't win, he forgot his email address...And hurry up here lol, I have to pack for vacation too!
Brendan
for (int i=0; i<6; i++)
{
for (int j=0; j<6; j++)
{
switch(array[6][6])
{
case 1:
cout << char1;
break;
case 0: