C:\DOCUM~1\EVESHA~1\LOCALS~1\Temp/ccIlbaaa.o(.text+0x1c):hello.c:
undefined reference to '__glutCreateWithExit@12'
C:\DOCUM~1\EVESHA~1\LOCALS~1\Temp/ccIlbaaa.o(.text+0x3c):hello.c:
undefined...
Type: Posts; User: zonf
C:\DOCUM~1\EVESHA~1\LOCALS~1\Temp/ccIlbaaa.o(.text+0x1c):hello.c:
undefined reference to '__glutCreateWithExit@12'
C:\DOCUM~1\EVESHA~1\LOCALS~1\Temp/ccIlbaaa.o(.text+0x3c):hello.c:
undefined...
I didn't put it in game programming,as I'm not going to be programming a game! But I see your point.
I compile using the following
gcc hello.c -o hello -lopengl32 -lglu32 -lglut32 -lglut ...
Hello,
I've been trying to get OpenGL to work for weeks now, and it's just not happening. Could someone please help me get it to work?
I am using the MinGW C compiler and have the following...
Thanks for the links, I have looked myself, I just don't know what is good and what isn't...simply because I don't understand threads, YET!
Thanks, I will definately look into that book. Although im afriad your code is in portuguese.......maybe I should learn that aswell :P:)...really show my lecturers what I can do!
It's funny you should say that. For one of my assignments I have to use threads...i've not been taught C (because I do Computer Engineering, and C was taught in a Computer Science module that I don't...
I won't make a habit of it, as I realise it is completely pointless...the only reason I ask is that I've put alot of code up, and I don't want others to get an easy ride but simply copying what I...
would it be possible for this thread to be deleted? Or at least allow me to remove some of my code...
Don't worry, all my problems solved now!
Can anyone recommend a realy good source for learning about thread programming, p_thread etc...? I don't even know the basics...
Thanks
Z
Yes you are exactly right in your post above....It doesn't work when I try and recieve it into an array though...
I'm not using a pointer to point to the top of the stack...do I need to?
If I enter in
1 2 3 4 a b c d
and use the following code
I have a stack.c and a stack.h file that I include with my test.c file.
stack.h file contains the structure
struct element{
int data_int;
char data_char;
struct element* next;
struct element{
int data_int;
char data_char;
struct element* next;
}
stack_t;
This structure is used for pushing data onto the stack..., the whole idea of my peek function, is that I...
Ok, this is my problem
I have a structure :
struct store{
int data_int;
char data_char;
int num;
Right, hello everyone again....I'm making some progress now...
With the 'Pushes' still left in the server, the output returned to the client is aload of gibberish....
Is there anything that...
I now only need to take one recieve off the user, that's on the server side. When I try and 'send' more than once from the server to the client, it doesn't work.
I'm assuming I have a problem...
I'm passing an instruction to the server in the form of a single char....W would represent for example 'Withdrawl'.
Now, I don't understand what is wrong with the bolded line......I'm comparing...
Thanks very much :D , it's been insanely frustrating :confused: !!!
Hi, for some completely stupid unknown reason, my server code won't printf() anything.....
to test this, I have put a printf("test") at the beginning.....and this is not being printed, yet the...
Hi, me AGAIN!
Having trouble getting an integer sent from my client to my server...everything compiles nicely, but nothing seems to be getting recieved....
As soon as I can get some data being...
Sorry, what's a prototype?
This is my stack.h
typedef struct stack{
int data;
struct stack* next;
}
Hi all, me again. I had my programming working completely correctly, and that was using the GCC windows compiler.
Now I move onto fedora core, it's giving me alot of weird errors, errors that I...
Hi, me again...I'm really sorry to keep asking questions, but I've spent the last hour or so trying to work out why, when I enter in 3 values, when it comes to popping the last value, it will come...
No its ok, sorry, works fine now, my mistake!!!
Thanks :)