9 Solved Topics
Remove Filter Gravatar is getting really popular, may sites like stackoverflow or github have incorporated the avatars. It would be nice to have a consistent avatar throughout all forums and sites. | |
What's up ladies and gents. I've been lacking motivation to program lately. I've been doing a little programming here and there, but I work so I mostly program for my job. However, whenever I have free time, I use to program a lot, but that motivation and has been gone … | |
I haven't ever used CLA so I had to ask. For simplicity sake, Say I have a program that takes in at most 5 arguments. The arguments from args[1] - args[4] has to be some numbers. These number will be used for something, say to calculate its average. How could … | |
hey, I am just learning textures in OpenGl, from a certain tutorial site : [URL="http://www.spacesimulator.net/tut3_texturemapping.html"]http://www.spacesimulator.net/tut3_texturemapping.html[/URL] the site had a good tutorial for texture, but after loading the .bmp picture, it goes to create its own function for vertex3f and such ( I think). In any matter, I have not learned … | |
i am writing a code that will rotate the polygon but it seem as if it is not working any help? [code] #include<iostream> #include<Gl/glut.h> #include<cstdlib> using namespace std; GLfloat fPent = 0.0; // for rotating pentagon; GLfloat fSqr = 0.0; // for rotating square; void handleKeyPress(unsigned char key, int x, … | |
hi, I started learning openGl yesterday. I made a simple program that supposed to create a triangle and a square, but its not working properly, any help please? [code] #include<iostream> #include<Gl/glut.h> #include<cstdlib> using namespace std; void handleKeyPress(unsigned char key, int x, int y) { if(key == 26) exit(1); } int … | |
hi, I am curious, how can I read a int from a text file( ex. num.txt). but this text file contains numbers without spacing (ex.1212132132313... 23156897984969.. 583852935792...) The problem is that this file has no spaces between numbers and when i try to read it into an arry, the result … | |
hi, I was trying to implement the sieve of eroathoses (I know I spelt this wrong) and it works. But i was trying to find all prime under 2 million. The .cmd for visual studio just corrupts if I try to find all prime under 2million. I am guessing It's … | |
Hello all, I am just practicing on class. From what I have learned thus far (from the internet) I made a simple program that resembles picking a deck of cards. But my problem is that although it works. I cannot get it to generate different cards for each object. To … |
The End.