User Profile
Collapse
-
HINT * HINT ---- Study them both at the same time! -
You have to Write a DLL (DYNAMIC LINK LIBRARY) using the WINDOWS API: WINAPI. That how i do it.Leave a comment:
-
try '\0' or '\n' if equals those, or if NULL has being define you can say if equals NULL, i haven't written much in java but if you really need help then tell so i can work on it. =)Leave a comment:
-
Hey I rewrote and fix all the problems:
there is still some problem with the logic in if conditions. If you have any question write me back i will gladly assist you =).
Code:#include <stdio.h> #include <conio.h> void choosePlay(char); void playGame(int,int,int,int); void match(int[][4]); int r1,r2,c1,c2; char comma; int cards[4][4]={{1,3,2,4},{4,2,3,1},{5,7,6,8},{8,6,7,5}};
Leave a comment:
-
First of all
do{
}while (number != Rand);
its going to loop forever (INFINITE LOOP).
The reason cout<< "Got it"; Never showed was because the do-while loop never terminated thus not allowing cout to print message to screen. Put cout<< "Got it"; inside do-while loop. Remember that the message will print forever so make sure you terminate it. In order to terminate it...Leave a comment:
-
Converting VOID* to INT ON C/C++
In the past couple of days i have noticed that a lot of people are having problems casting from one data type to another specially from void to char or int.
First of all void* just means that the variable can pretty much hold any type of data, from character all the way unto float. Let me just show you >>
Lets say you want void *variable;
to be equal 100;
Code:void *variable = 100;
No activity results to display
Show More
Leave a comment: