Hello, I'm writing a game code, but my triangles don't get drawn. This is the display function. Please help me find the error.
static void display(void)
{
glClear(GL_COLOR_BUFFER_BIT |...
Type: Posts; User: zeybek258388
Hello, I'm writing a game code, but my triangles don't get drawn. This is the display function. Please help me find the error.
static void display(void)
{
glClear(GL_COLOR_BUFFER_BIT |...
thanx
hello.
i'm new to opengl.i'm making a game similar to tetris and i don't know how to make the pieces come down automatically.please help...
ok.i thought meant that the first character of the username is tempid[0], second character is tempid[2] and so on.
in the file, there's going to be many IDs and Passwords.What i was thinking was...
i'm pretty new to C so dont get mad (u can laugh if you want)...but what you just typed sounds like giberish..i'm sorry..can u use smaller words?
i changed &tempid, but still nothing...
I did what you said, and the problem is the same.The program ends without showing the phrase "Correct id and password".I already have a file containing Ids and passwords.
#include <stdio.h>...
the program asks the id and password of the user, then compares it to the list of IDs and Passwords in a ready file..i think theres something wrong with the while loop.when i run the program, it...
i dont have a problem with anything else, i use codeblocks and even though it works on my friends computer it doesnt always work on mine. i dont think the headers are missing or broken..
#include <stdio.h>
#include <stdlib.h>
FILE * p;
int main()
{
p=fopen("meryem.txt","a+");
if(fopen("meryem.txt","a+"))
{
thanks. this solved the debugging problem. but now it runs stdio.h and debugs it...it wasnt like this before.
with MinGW.
when i try to run my project it says "project debug uses an invalid compiler.probably the tool chain path within the compiler options is not setup correctly....skipping...nothing to be done".the...
thank you.it worked
in this code, i''m trying to view data already present in a file on the screen.but i keep getting an error like "error: expected '=' , ',' , ';' , 'asm' or '__attribute__' before * token" at the file...
this time theres something wrong in the isdatevalid fuction..
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define TRUE 1
#define isleapyear(year) ((!(year % 4) && (year %...
it worked.thank you very much.
record typedef doesnt work for some reason..
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define TRUE 1
FILE *fstud;
FILE *fteacher;
record readscreen1(record stud);