Search:

Type: Posts; User: DaNxTh3xMaNx

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Sorry couldn't find the edit button so i guess...

    Sorry couldn't find the edit button so i guess ill just repost. I've added some comments to clear it up as best i can but a lot of this code is just pieced together from the professors code of sobel...
  2. Trouble with peak finding in canny algorithm

    I'm writing a canny edge detector for my intro to robotic vision class. There are output samples to check if we have it right, and my magnitude image is coming out exact but my peak finder is not...
  3. Replies
    5
    Views
    3,240

    yup. almost got the output right just a few more...

    yup. almost got the output right just a few more tweaks thanks for the help
  4. Replies
    5
    Views
    3,240

    through commenting out sections ive narrowed the...

    through commenting out sections ive narrowed the segmentation fault down to this part:


    if(header->prev == NULL)
    {
    header->prev =...
  5. Replies
    5
    Views
    3,240

    I can't, that stuff in the headers was given to...

    I can't, that stuff in the headers was given to me and im not allowed to alter it.
  6. Replies
    5
    Views
    3,240

    Doubly Linked List Segmentation Fault

    So i've never really worked with doubly linked lists in terms of coding, and I didn't do great with singly linked lists either. I have it all coded out but it's giving me a segmentation fault when I...
  7. Replies
    3
    Views
    3,763

    OK thanks. Now I just need to find out if they...

    OK thanks. Now I just need to find out if they already are defined somewhere that i don't know or if i have to make them myself.

    but at least now i know, thanks.
  8. Replies
    3
    Views
    3,763

    Linker Error - Undefined Reference

    Yes I know there are threads on this but ive viewed multiple ones and i just don't get it. This is my first time operating with things like this and my teacher didn't even explain it to us so im...
  9. Replies
    9
    Views
    1,321

    i changed it to: if (!strcmp(event_name,...

    i changed it to: if (!strcmp(event_name, "LOGON")) return LOGON_EVT;

    (took out the [1] completely and it did what i wanted. so thanks for the help)
  10. Replies
    9
    Views
    1,321

    tried this: int i =0, len =...

    tried this:



    int i =0, len = strlen(event_name[1]);

    if (!strcmp(event_name[1], "LOGON")) return LOGON_EVT;
    if (!strcmp(event_name[1], "SIO")) return SIO_EVT;
    if...
  11. Replies
    9
    Views
    1,321

    Here is the function description: Capitalize...

    Here is the function description:

    Capitalize event name so that case does not matter
    Verify that name's length is shorter than constant the EVENT_NAME_LENGTH_MAX
    For event ID = 0 to...
  12. Replies
    9
    Views
    1,321

    so i would just have 9 string compares in the for...

    so i would just have 9 string compares in the for loop checking for each one individually? if so then how do i return the integer value of the event just return LOGON_EVT; ?
  13. Replies
    9
    Views
    1,321

    Need help with basic enumeration

    So I really haven't used enumeration since my intro to c class and now have to for this program. I'm having trouble understanding how to go about using it.

    In a header file that was given to me i...
  14. *working*

    *working*
  15. no the computers are decent (im at a university)...

    no the computers are decent (im at a university)

    it just pops up and says birthday.exe stopped working.

    i ran through the debugger and it just stops once i go over my mergesort call, but if i...
  16. How to store a char array into another char array?

    OK so I have this struct:


    struct person{
    char first[30];
    char last[30];
    char month[11];
    int day;
    int year;
    int num_month;
  17. Replies
    2
    Views
    1,558

    How to put a strtok into a char[]

    OK so I have a struct:


    struct person{
    int arrivaltime;
    char name[NAME_LEN];
    int num_items;
    };

    I have used fgets to get a line that looks like '1500 ALAN 7'
  18. Replies
    3
    Views
    1,482

    Ah crap. I don't want to get a 0 because someone...

    Ah crap. I don't want to get a 0 because someone comes here and copies my code so I guess I'll just try to figure it out on my own within the next 3 hours. Sorry for wasting your time.
  19. Replies
    3
    Views
    1,482

    CS1 Program (New Problem)

    It is a matchmaking program where it compares two individuals rating of each other to calculate their "likability" and then arranges the entire group according to the best overall likability.

    My...
  20. CS 1 Program segmentation fault but can't see the problem

    edit: fixed the problem. thanks for looking though. It really is that every time I post here no matter how long I've been trying on my own I figure it out right after. It's crazy.

    I was like oh...
  21. 2 3 Adam Bob Carl Diana Ellen Fran 4 8 7 6 7...

    2
    3
    Adam Bob Carl
    Diana Ellen Fran
    4 8 7
    6 7 5
    5 9 6
    7 6 8
    6 5 9
    4 7 3
  22. well num_each would change for every group it...

    well num_each would change for every group it runs. the problem says the max will be 10 of each gender so should i declare it as that and then fill in what is needed for each run through and just...
  23. thanks. man it is always the most simple thing.

    thanks. man it is always the most simple thing.
  24. Don't know what that means. I took it to mean...

    Don't know what that means. I took it to mean that you can't tell whats wrong without the rest of my code


    #include <stdio.h>
    #include <string.h>

    #define MAX_NAMELEN = 19

    int main() {
  25. Here are the errors i get: line 20: syntax...

    Here are the errors i get:

    line 20: syntax error before "=" (first line posted)
    line 21: syntax error before "="

    men_names and women_names are undeclared in this function
Results 1 to 25 of 43
Page 1 of 2 1 2