wow it's worked! thanks a lot!
i want to create game so i need to define some setting to the exe, i've already learn c++ for half year but never see some code like
BOOL WINAPI...
Type: Posts; User: LeonLanford
wow it's worked! thanks a lot!
i want to create game so i need to define some setting to the exe, i've already learn c++ for half year but never see some code like
BOOL WINAPI...
no.. i want it to be default in every computer that opens it..
is it not possible for me? :(
uh.. i don't understand.. i'm really newbie to this.. :(
http://img215.imageshack.us/img215/6281/removems2.jpg
i've googled for it but haven't found yet..
i want the scrollbar to be removed when the program is open, i once found program that is able...
thanks! it's really worked!
@cpjust
i don't know the function and how to use it..
i'm newbie in c++.. i want to make a game so i need to record the time.. how to get time from bios/windows? sorry i don't know the difference..
thanks..
ow I see.. I don't really understand the program.. thanks :D
thanks..
@mat
thanks a lot mat! I really apreciate it.. thanks! :D
wow.. I haven't learnt bool yet..
I just pasted it and got errors
In function `bool hideCursor()':
121 koper.cpp expected `)' before '{' token
125 koper.cpp expected primary-expression...
I put these
SetConsoleCursorInfo(0, 0);
GetConsoleCursorInfo(0, 0);
is it right? it's still doesn't work..
thanks for your reply..
I only copy the code
BOOL WINAPI GetConsoleCursorInfo(
__in HANDLE hConsoleOutput,
__out PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
);
I'm really newbie in cpp and I've...
I tried using each windows and wincon but still doesn't working, wincon has different errors..
in line 114
BOOL WINAPI GetConsoleCursorInfo(
sorry for the double post..
I already include windows.h and wincon.h but still doesn't work..
I got this error message
114 koper.cpp [Warning] `__stdcall__' attribute only applies to...
sorry wrong..
what I need to include? conio2.h?
I'm using windows xp sp 2 and using dev c 4.9.9.2..
is it really neccesary to update? because I want to give that program to my friends.. do I have to update all of their hardware registers?...
no.. I got that code from friend..
I want to ask if there is any way to hid the cursor, the code is just an example..
I just found that conio.h have function
#define _NOCURSOR 0
but it...
Hello.. I want to ask how to hide cursor?
you know.. the cursor that's always blink..
I got this code
class Cursor
{
public:
Can someone explain me in a very easy explanation? I don't get it at all..
If I'm able to use that then I don't have to use malloc again?
#include <stdio.h>
int main()
{
int bil;
scanf("%d", &bil);
int kotak[bil];
He2 I haven't learnt the operator precedence yet :p
but thanks to both of you! I've learnt two new things :D
I think my problem has solved..
hmm..
zuk says
*(tdata->bil) = 123;
and mac says
I'm using devc++ 4.9.9.2
I usually don't put stlib because it does run in devc.
My lecturer said that it's pointer to struct, I'm getting more confused now..
The code is like this
#include <stdio.h>
struct data
{
int *bil;
} ;
I'm getting more confused now..
so what is the right one?
both of it worked, I've tested it :(
Sorry my computer was broken down so I cannot reply.
Thanks KONI! it's working :D
but I still confuse what is the difference between
*(myStruct.x) = 123;