Search:

Type: Posts; User: mykolg

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    754

    Problems reading in from keyboard

    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...
  2. Replies
    13
    Views
    1,846

    CProgramming11 I feel like you are being...

    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...
  3. Replies
    13
    Views
    1,846

    CProgramming11 No, I don't believe that will...

    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...
  4. Replies
    13
    Views
    1,846

    Eh, that didn't clarify much for me.

    Eh, that didn't clarify much for me.
  5. Replies
    13
    Views
    1,846

    How to pass an argument into a function?

    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....
  6. Replies
    12
    Views
    2,280

    Lo and behold, F#$%(@! Windows 7, I ran cygwin as...

    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...
  7. Replies
    12
    Views
    2,280

    I honestly think its a cygwin error, not sure...

    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;
  8. Replies
    12
    Views
    2,280

    That was the output I got to the txt file that...

    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?
  9. Replies
    12
    Views
    2,280

    Only the debugoutput.txt had anything, this is...

    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...
  10. Replies
    12
    Views
    2,280

    Ok, so is it bad programming to neglect to...

    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...
  11. Replies
    12
    Views
    2,280

    I printed test outputs to make sure it was going...

    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];
  12. Replies
    12
    Views
    2,280

    Problems using CYGWIN

    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,...
  13. Replies
    1
    Views
    1,149

    Creating Huffman's Algorithm

    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...
  14. Replies
    3
    Views
    1,090

    Is that only for Structured arrays or all arrays?...

    Is that only for Structured arrays or all arrays?

    I'm kinda learning C
  15. Replies
    3
    Views
    1,090

    Using Structured Arrays

    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];
  16. Replies
    4
    Views
    797

    I'm using #include...

    I'm using



    #include<stdio.h>
    #include<stdlib.h>
    #define MAXSIZE 26;
  17. Replies
    4
    Views
    797

    Which node do I put it in front of? I don't...

    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...
  18. Replies
    4
    Views
    797

    Issues with typedef struct

    .
    .
    .
    typedef struct{
    char alphabet;
    int frequency;
    }node;

    int main(int argc, char *argv[]){
Results 1 to 18 of 18