When running my program it is not reading anything in for the Student's name when I try to change the information in the database, I've tried several things to trying and alter the readin, but...
Type: Posts; User: mykolg
When running my program it is not reading anything in for the Student's name when I try to change the information in the database, I've tried several things to trying and alter the readin, but...
CProgramming11
I feel like you are being rather short with your remarks and aren't really helping me understand this better. I think I'm trying to do something that might be impossible and...
CProgramming11
No, I don't believe that will work because i is changing inside the the for loop, within the function. Therefore the value in not pre determine until it's inside the functions...
Eh, that didn't clarify much for me.
I was wanting to pass the following into a function, as to reduce file size. It's going to be in a for() statement, therefore I'm confused as how to do so with C. Wasn't sure if a string would work....
Lo and behold, F#$%(@! Windows 7, I ran cygwin as an admin and the output showed up! but then I had to system restore because my net suddenly quit working and my skype would works. Something went...
I honestly think its a cygwin error, not sure what is happening and why nothing is displayed.
#include<stdio.h>
#include<stdlib.h>
void RadixSort(int aList[]){
int temp[5];
int i, j;
That was the output I got to the txt file that the prior person suggested for debugging.
I did type in
./RadixSort to run my code, have any other ideas as to what the issue might be?
Only the debugoutput.txt had anything, this is what I found:
I reinstalled, still having the same occurring issues. I even commented out almost the whole program and still am unable to get any...
Ok, so is it bad programming to neglect to declare the function type I suppose, but I saw that used at StackOverflow.com and assumed that was correct, along the array size. I though it looked funny...
I printed test outputs to make sure it was going into the program
#include<stdio.h>
#include<stdlib.h>
RadixSort(int aList[]){
// int temp[16];
I compile my program, which seems to work fine using "gcc RadixSort.c -o RadixSort" and then my .exe is created. Then I use the following command "./RadixSort" to try and run it, but it does nothing,...
I'm having problems trying to understand what functions I need to develop in order to encode this alorithm. I was thinking of doing the math first and them building the tree, but I'm having a hard...
Is that only for Structured arrays or all arrays?
I'm kinda learning C
I'm having trouble assigning two arrays to one another, basically trying to duplicate the array.
typedef struct{
char alphabet;
float frequency;
}node;
node hList[26];
I'm using
#include<stdio.h>
#include<stdlib.h>
#define MAXSIZE 26;
Which node do I put it in front of? I don't believe that is the issue because I'm using "typedef"
Yes, I'm aware of that, I'm only storing a single character into that, therefore I think it'll...
.
.
.
typedef struct{
char alphabet;
int frequency;
}node;
int main(int argc, char *argv[]){