3 Topics

Member Avatar for
Member Avatar for Leander_1

Heya guys, My onboard audio of my motherboard just died a few days ago. Now i'm forced to use an usb headset, which is fine for games, but music on the other hand... My motherboard is an P7P55D EVO, which has an VIA VT1828S on it. i'm looking for a …

Member Avatar for Rik_
0
303
Member Avatar for peuceul

Hi all, I have a question regarding an extern variable. ---test.c [CODE]#include <stdio.h> #include </home/peuceul/debug/test.h> extern int a; int print1() { printf("value of a in extern is %d\n", a); int a = 2; printf("value of a is %d\n", a); } int print2() { printf("value of a in second method is …

Member Avatar for WaltP
0
1K
Member Avatar for altXerror

i have a header file which contains a random number generator here is the code: [CODE]#include <cstdlib> #include <time.h> #ifndef RANDOM_H struct rand_var{ int x,y; }Rand_var; static int rand_gen() { srand ((unsigned)time(NULL)); extern int random; random = rand() % (Rand_var.x-Rand_var.y+1) + Rand_var.x; } #endif /* random.h */[/CODE] you will probably …

Member Avatar for altXerror
0
147

The End.