I used this :
#include <windows.h>
#include <iostream>
#define Data 0x378
using namespace std;
Type: Posts; User: ozumsafa
I used this :
#include <windows.h>
#include <iostream>
#define Data 0x378
using namespace std;
Thank you for the help. I will try , study and get back if I fail further.
I guess it is enough help for me ? : )
Actually what I am doing has no aim. I just want to be able to use inpout32.dll. Just to learn how it is used. Could you comment on my last post so that I can see my mistakes, not that I am not...
When I use this code :
#include <windows.h>
#include <iostream>
#define Data 0x378
using namespace std;
int main(int argc, char *argv[])
{
Thanks again. No I did not think feel that it was gibberish to me. Although I dont claim to be someone about c++. Anyway let's see If I can see the logic correctly then. I will create a stdcall...
Allright that could solve the problem if I have the windows.h . Whu so aggresive , I ask because I am kind of confused about which is actually for windows and which is for c++ syntax. I have some...
And Also , I am having problem compiling loadlibrary codes with dev c++. After you said that my problem is about windows and specific dll, I think that the compiler might be having problems...
Thank you for your answer.
If I understood right, I have to define function also. What I cant get correctly is using GetProcAddress then. Do I have to define a new function for usage of Out32 ? Or...
#include <iostream>
#define Data 0x378
using namespace std;
int main(int argc, char *argv[])
{
HINSTANCE oz;
oz=LoadLibrary("inpout32.dll");
if(oz!=NULL)
...
Hello,
I am fairly to programming in c++. I am having trouble with using dll files. I am aware of the LoadLibrary and GetProcAddress functions. And I have tried to write some codes using them to...
Did you try strcmp(line,'\0') ?
The first thing I try would be what u tried , but if it did not work maybe it could work. The func he mentioned works .
Why should we use free()? what is it that we have to free?
you're right. Here it is:
I don't want to figure out the algorith from an already written source code. I want to write the game from the beginning. So I am asking which libraries , should I discover...
I don't know if it is realted with game programming. But I don't think so. What I want to ask ; I don't know many of the functions used in c. And it comes very hard to figure out the algorith by a...
Heh , I couldnt believe my eyes when I see the nonsense I did. When I was writing I would do that
if(list1!=0)
if(list2!=0)
What the hell did I do there =)) Sorry for the on the contrary...
On the contrary , the loop never starts. It stops before entering the loop. I still could not find my defect about if statement.I am trying.
Firstly , I have written those to give you my logic. It is not compilable . That is normal that gives you some errors if you put my codes directly.
fgets takes a word from the user by keybord.
I am too sleepy to understand your code now.Specially a long linkedlist one.But I can write:
typedef struct linkedlist {
char word[100];
struct linkedlist *next; } newnode;
int main() {...
If((a==b)&&(b==c)&&(a==c)) That would do the work I think. And using recursive of course.
Ahh , forgot What I told . Fatal error :(
I couldnt get why he or she needs to use &&. Because I would write it like this :
(a==b)==(b==c) ; and I would use recursive function in order to prevent from writing a lot of codes. Would that...
No. list1 is not even a structure pointer . That is an integer.
I am sorry I forgot to elaborate the question =). What is the difference between the data type double and the data type float?
Hello ,
I know this is a very frequent question but I couldnt get an answer yet from FAQ or net. At least please give me a link or sth. Thank you..