Search:

Type: Posts; User: Jedijacob

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    5,324

    I'm so sorry. Computer science instructor just...

    I'm so sorry. Computer science instructor just e-mailed us correcting the assignment. He states that a new list must be created that is independent of L1 and L2; so, he can destroy L1 or L2 and still...
  2. Replies
    5
    Views
    5,324

    I must create a new list that appends the two...

    I must create a new list that appends the two lists that are input into the function. However, those two functions must remain unchanged; so, if I printed out one of the original list it would remain...
  3. Replies
    5
    Views
    5,324

    Writing ADT Functions

    Hi, I was given an assignment to write two functions.

    The first function is rather easy and I think I have it. However, the second function is an ADT function called MergeList, which merges two...
  4. Program stuck in infinite loop-->PLEASE HELP

    I am currently working on a program in my computer science class that does various computations with complex numbers. For some reason, when the program gets to where it needs the DivCmplx (posted...
  5. Replies
    10
    Views
    3,626

    Thanks a lot! It was that simple and I didn't...

    Thanks a lot! It was that simple and I didn't even see it! Thanks for all your help. I might ask again later for some actual code help when I probably see my errors hehe! Thanks soo much again!!!
    ...
  6. Replies
    10
    Views
    3,626

    Oh, sorry..this is in my interface file and I...

    Oh, sorry..this is in my interface file and I forgot about it:



    typedef struct _cmplxCDT* Cmplx;
  7. Replies
    10
    Views
    3,626

    Also, here is my makefile which I would think...

    Also, here is my makefile which I would think would be the problem but everything looks fine to me:



    # Source, Executable, Includes, Library Defines
    INCL = complex.h
    SRC = complex.c...
  8. Replies
    10
    Views
    3,626

    Here is my definition of the struct. ...

    Here is my definition of the struct.



    typedef struct _cmplxCDT
    {
    double x;
    double y;
    }cmplxCDT;
  9. Replies
    10
    Views
    3,626

    It's a linked list. We are studying unordered...

    It's a linked list. We are studying unordered linked-list ADT's. Therefore, I am pretty sure we use the '->' instead of the '.' When I asked my instructor about the error he said that I probably...
  10. Replies
    10
    Views
    3,626

    Undefined symbol error??

    Hi, I am doing a program that does all types of stuff with complex numbers. I think I have the code written correctly but keep getting an Undefined symbol error. It tells me sqrt and arctan and...
  11. Replies
    13
    Views
    2,065

    Thanks soo much guys! I appreciate it a lot!...

    Thanks soo much guys! I appreciate it a lot! Thanks again!!

    ~~Jacob~~
  12. Replies
    13
    Views
    2,065

    Ok, 4 is b. =) I was definitely misreading the...

    Ok, 4 is b. =) I was definitely misreading the question. And 5 must be c because the whole point of using a linked list is dynamic memory allocation. Is my reasoning correct? Thanks guys!
  13. Replies
    13
    Views
    2,065

    Ok, number 5 must be c then...right? It does...

    Ok, number 5 must be c then...right? It does allow for dynamic memory allocation and does not have to be predefined, at least that sounds right to me heh.

    How about 4? Is that one right? I would...
  14. Replies
    13
    Views
    2,065

    Personally I think the answers are: 1. c 2. c...

    Personally I think the answers are:
    1. c
    2. c
    3. b
    4. a
    5. d

    I have a good idea on some of them but just wanted some backing. I am not positive and would like to be. Again, all help is...
  15. Replies
    13
    Views
    2,065

    A Few General C Questions

    I was given a few questions on a study guide for a computer science class. I am not sure of a few of them. If anyone could help, it would be greatly appreciated! Thanks for your help!!!
    -Jacob

    1....
  16. Replies
    2
    Views
    1,076

    I serviced every job to clear my queue. I then...

    I serviced every job to clear my queue. I then began adding jobs to the queue. The first two are fine but when I add a third job..for some reason, the first job in line is duplicated and printed out...
  17. Replies
    2
    Views
    1,076

    Help with Queue

    I have a program, consisting of 3 files: naivepq.c, naivepq.h, and printq.c. It is a printer queue that prints out a queued list, allows the user to add to the list, remove a selected item from the...
  18. Replies
    5
    Views
    1,427

    Just a little work I've done so far (added code...

    Just a little work I've done so far (added code tags)...



    #include <stdio.h>
    #include <stdlib.h>

    const int n=30;

    struct custInfo {
  19. Replies
    5
    Views
    1,427

    This is some of the work I have done so far. ...

    This is some of the work I have done so far.

    #include <stdio.h>
    #include <stdlib.h>

    const int n=30;

    struct custInfo {
    int custId;
    int rating;
  20. Replies
    5
    Views
    1,427

    Program question--need help!!!

    Hi, I am TRYING to make a program but am having absolutely NO SUCCESS. I have read the sticky about no posting homework up but I have exhausted all my resources and have tried a few things but...
Results 1 to 20 of 20