Ok, Just wondering i know a ptr can equal another ptr, but in this code
the second parameter of glGenTextures is supposed to be a pointer to a
GLuint, but the address of textureId is passed as the...
Type: Posts; User: tesla
Ok, Just wondering i know a ptr can equal another ptr, but in this code
the second parameter of glGenTextures is supposed to be a pointer to a
GLuint, but the address of textureId is passed as the...
So an unnamed namespace is jst another way of declaring everything
inside to be static? So i'm assuming that if i had two unnammed namespaces it would not compile, okie i jst tried that and it's...
hey could someone please tell me what's the purpose of using the namespace to group entities when you dont' specify an identifier?
like i'm used to using it like
namepace mySpace {
int...
What am i doing wrong here? the commented out code causes the following errors.
error C2143: syntax error : missing ')' before ';'
error C2143: syntax error : missing ']' before ')'
error C2143:...
I just wanted to know how to round my result to 2 decimal places.
#include <stdio.h>
#include <stdlib.h> /* For atoi() */
#include <ctype.h> /* For toupper() */
#include <string.h> /*For...
hey i was wondering if there's any way that can set they value of an
array of structs the way I tried to do below for ray[1]. That code on that
line kills everything but I didn't want to have to...
I've got two floats but they're as strings. how do i get this code to work. I don't know how to convert them so i can compare them. it's read from standard input that's why they're char*. The code...
This is some of my code, what I want to do is keep trying to read
information from my server until it gives me a response. But is
this a correct way of doing it? or will it cause me problems? Cos...
Hey, I'm pretty new to this networking stuff in C, and i just got a question abt some example code that i found. This is only part of the Client.c file.
The question is: I want the client to...
I've been working a lot in c++ and now i have to write my assignment in C.
Can C use classes (like be able to create new data types with public and private members?) Or do i basically have to do...
hey i'm jst trying to check for digits using the isDigit method from ctype.h but
I can't get it to work properly. is there any other ways to check for digits in C?
#include<stdio.h>...