hmmz it is a bit hard to tell because you didnt state your compiler :)
Type: Posts; User: Narcose
hmmz it is a bit hard to tell because you didnt state your compiler :)
can it be done with the windows api and c? If yes , which funtion ?
Thx for your time
i was just looking through the forum for something to read but damn sqlite looks so fecking intresting
ill try thx
*edit*
doesnt change anything ; though i see a register change
here is my testing code (though it is pure c) i didn't want to make a new thread
#pragma comment( lib,...
well this is what im also looking for but just one question
if i do this my background doesnt get updated (though the bmp does show up in the desktop configure thingie) , do i need to send a refresh...
that seems to be it ; thx :)
add taskmgr.exe to you register under
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
#define REG_LIB HKEY_CURRENT_USER
const char* REG_MAP = "SOFTWARE\\Mirrosoft\\Autoshutdown";
const char* REG_CNTDWN = "CNTDWN";
const char* REG_DAYCNT = "DAYCNT";
const char*...
RegQueryValueEx(key,REG_DAYCNT,NULL,&type,(LPBYTE)&dayqry,&size)
the first time i run this statement in my program i get a 234 (ERROR_MORE_DATA ) error . I looked it up but its about not having...
ill be damned :) thx m8
is it legal to use a void* in a structure ?
Q. What is a void* ?
A void* is a generic pointer type. It's a pointer but the type pointed to is unknown. You may not dereference a void* but instead...
first of all global vars arent much of a use here , if you want to use them
use the const therm to make them constant so nobody can change them
you can also use #define and use the preprocessor
...
why would you put 2 whiles in a loop anyway if they do the same test?
do
{
while(flag == TRUE || month<0 || month>12) /* flag 1 for true*/
{
<-some crap goes here->
}
...
thx for your replies
im using mingw (devc++)
hmmz i'll take a close look at the faq thingie but i know getch() this is not what am looking for :s I want the fctn to move on even if there hasnt...
alrighty im making this game kinda like snake. My problem is that i want to see if there is something in the keyboard buffer or not and not wait for the user to really push a key
f.e
int...
Good luck on kdg :p
if you want to know how algoritms work on how to solve/generate i consider you to go look on http://www.setbb.com/phpbb/
if your on windows you can also do a system("PAUSE");
in windows you could do a system("PAUSE")
thx m8 it was kinda a big help for a schoolproject over here