Search Results

Search: Posts Made By: micmac700
Forum: Programming 12-13-2006
9,089
Posted By micmac700
SIGSEGV, Segmentation fault
Here is my initiating code:
#define NUM 20

static struct tab {
int count;
int use;
} tab[NUM];

int curtab = 0;

int tab_create(int tab_count)
{
curtab++;
tab[curtab].use = 1;...
Forum: Programming 12-13-2006
3,135
Posted By micmac700
Struct Array
in my .c file i have a struct atop of the program defined as follows:

#define MAX 10
int curtab;

static struct tab {
int count;
int use;
} tab[MAX];


with the initial function...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy