I've been working on this problem all night and it's driving me nuts. Can someone help? Here's what I need to do:
Put a list of student names, identification numbers, and grades into a file...
Type: Posts; User: spinner
I've been working on this problem all night and it's driving me nuts. Can someone help? Here's what I need to do:
Put a list of student names, identification numbers, and grades into a file...
Ok, I understand that a little but what I don't get is where to insert
typedef struct{
char name[10];
int age;
int weight;
}DATA;
Should I insert it near typedef struct List{ ?
Also, am I...
Ok, thanks for that, it's helped me out alot! :)
Well I have this code but I don't think it's correct:
#define N 100 /* size of array, and four macros below */
#define swap(x, y) { int t; t = x; x = y; y = t;}
#define order(x, y) ...
*bangs head on desk*
I must be stupid or something, lol!
I tried a few things (what is commented out):
#include <stdio.h>
//#define N 100
//int A[] = {100};
//quicksort(list, 0, 99);...
Ok, I've gone through my notes, books, tutorials, etc. I'm still having a problem with this! Can anyone help me!?!?! Here's what I have to do:
Write an insertion function that inserts an...
Ok, thanks. That helped a bit but I'm still a little confused. I still need to write quicksort(a, a + 99). Do I just declare an array of size 100 in the number_of_calls function or should I create...
Hi,
I have a problem that I'm really stumped on. The problem is this:
Suppose that a[] is an array of integers of size 100, and that for each i
a. the element a[i] has value i
b. the element...
I'm new to C programming and I have an assignment that's really been bugging me. I have to write a function
double eval(double p[], double x, int n)
{
}
that returns the value of polynomial p...