[Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't
bkpsusmitaa
bkpsusmitaa at xxxxx
Sat May 2 20:23:04 UTC 2015
Here are the 4 execs that have been compiled.
So. the first code is not supposed to work? I am surprised! I had told
you earlier, I have a problem understanding the language people talk
in.
____________________
The first code:
----------------------------------
#include <whateverYouNeed.h>
main() {
InitializeAWindowPlease();
glClearColor (0.0, 0.0, 0.0, 0.0);
glClear (GL_COLOR_BUFFER_BIT);
glColor3f (1.0, 1.0, 1.0);
glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);
glBegin(GL_POLYGON);
glVertex3f (0.25, 0.25, 0.0);
glVertex3f (0.75, 0.25, 0.0);
glVertex3f (0.75, 0.75, 0.0);
glVertex3f (0.25, 0.75, 0.0);
glEnd();
glFlush();
UpdateTheWindowAndCheckForEvents();
}
___________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glut002
Type: application/octet-stream
Size: 5787 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20150503/93f07a08/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glut003
Type: application/octet-stream
Size: 6392 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20150503/93f07a08/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glut004
Type: application/octet-stream
Size: 9672 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20150503/93f07a08/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glut005
Type: application/octet-stream
Size: 7444 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20150503/93f07a08/attachment-0007.obj>
More information about the Users
mailing list