/*
* lolGame
*
* lolGame--a game of skill and daring.
*
* Full Credit to waltr for start maKING lolGame
*/
Type: Posts; User: waltr
/*
* lolGame
*
* lolGame--a game of skill and daring.
*
* Full Credit to waltr for start maKING lolGame
*/
says you
hi mk,
stick around and you will. what you'll get sick of are the repetitive questions that can be answered by a simple search or reading of the FAQ's.
and don't take it personally--it's...
why should that stop you from posting the code? i mean, you came here looking for help, right?
total = quat + halfdol + dime + nick + pen;
where exactly is 'total' coming from? you haven't declared it!
no! they should be 'undefinded'--which it looks like they are.....
in other words, if you don't initialize them, they equal whatever is stored in that memory location. in other other words,...
i disagree. thread titles like, "Not Working!!!", and "HELP!!!" are usually a really good indication of the type of poster to expect. they are also a good indication of where the problem lies.....
hi sly,
i think i just got confused between declaring an array and declaring an array of pointers. i wanted to make sure to get the array of pointers correct, so i think i was paying less...
thank you itsme,
i knew it was something silly i was doing.
hello,
can anyone explain to me why when i declare this array:
int myArray[] = {0-9};
before this array of pointers to strings:
googled:
If you're on Windows, include 'windows.h' and use void Sleep(DWORD milliseconds)
or DWORD SleepEx(DWORD dwMilliseconds, BOOL bAlertable)
I think microsoft also included 'sleep(time_t...
quick question: is it wrong to do something like:
data[0] = '/0';
i know it doesn't _clear_ the elements, but if you are just going to overwrite them anyway would this be bad form?
thanks.
or possibly:
if (!autofile)
auto_file = fopen(path, "w+");
else
auto_file = fopen(path, "r+");
how's that?
hi yt,
you've deleted your default path, and borland won't help with that.
go back in and add:
'%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\wbem'
without the quotes. each...
hey yt,
i found the compiler a bit confusing when i originally started programming too, so don't worry you'll get it.
i'm surprised no one has pointed you to this page:
...
C Programming, A Modern Approach
by K.N. King
it's a big book (660 pgs) but really good for the beginner. i reference this book all the time because i find the explainations easy to understand. ...
hi all,
thanks for the replies. <itsme> i'm not sure why i had <iostream> in there. it's not necessary so i've removed it.
<time.h> has solved my
srand( (unsigned)time( (time_t *) 0 ));...
hello,
i'm wondering if anybody out there could point me to a tutorial or FAQ on porting a unix C program to windows?
specifically, i'm getting an error when i compile with the following...