Search:

Type: Posts; User: Alexisa

Search: Search took 0.01 seconds.

  1. Thread: Matrices

    by Alexisa
    Replies
    2
    Views
    1,262

    Matrices

    I am currently working on an assignment to simulate how an operating system handles deadlocks.

    Anyway, I am having difficulties creating a Matrix -- Does anyone have a preference that they use...
  2. Replies
    9
    Views
    1,295

    Well, I won't do your homework for you but I'll...

    Well, I won't do your homework for you but I'll give you an idea where you could start.

    I would start by making functions for the strings you read in... like a function for add(), sum(), etc
    ...
  3. Replies
    4
    Views
    1,639

    I'm a little confused by what your saying, but I...

    I'm a little confused by what your saying, but I am going to assume, you want to assign MY_TYPE a values through my_function.

    Since you pass my_function a pointer to MY_TYPE a, it should change...
  4. Replies
    3
    Views
    1,926

    A Process is a program in execution. If a...

    A Process is a program in execution.

    If a process has a single thread, it is only able to preform one task at a time. If the process has multiple threads, it would be able to preform more then one...
  5. Thread: Pipes/Forks

    by Alexisa
    Replies
    6
    Views
    2,104

    I need to write a program, that begins with one...

    I need to write a program, that begins with one process and forks to two (I understand how this works now), but I am still really confused with how you would implement a pipe to transfer messages...
  6. Thread: Pipes/Forks

    by Alexisa
    Replies
    6
    Views
    2,104

    Thanks, that was a good start ^^ You wouldn't...

    Thanks, that was a good start ^^

    You wouldn't happen to know anymore though? *blush*

    Especially related to Pipes
  7. Thread: Pipes/Forks

    by Alexisa
    Replies
    6
    Views
    2,104

    Pipes/Forks

    Does anyone know any good webpages or information that can help me learn pipes and forks? I've tried searching google and everything I read... I must admit has made me utterly confused.
  8. Replies
    3
    Views
    9,425

    CPU Bound jobs are jobs that spend most of their...

    CPU Bound jobs are jobs that spend most of their time using the CPU, although they do preform I/O operations as well.

    I/O Bound jobs are jobs that spend most of their time doing I/O, although they...
  9. Replies
    4
    Views
    1,531

    I'm still relatively new to C programming,...

    I'm still relatively new to C programming, although I completed a university course in programming with C. ^^; Haven't had much practice since then. :p

    Anyway, my question is, is it...
  10. Replies
    7
    Views
    1,731

    Unfortunatly, I can't do that because I log on...

    Unfortunatly, I can't do that because I log on the University's unix server and we use the gcc compiler =/
  11. Replies
    7
    Views
    1,731

    If anyone is curious.... I solved the problem....

    If anyone is curious.... I solved the problem. ^^;



    CPU* newCPU(CPU *c)
    {
    c = (CPU*)malloc(sizeof(int[10]));

    c->Running = newStack(c->Running);
    c->Ready = newQueue(c->Ready);
  12. Replies
    7
    Views
    1,731

    Thanks for your help ^^ But, the problems you...

    Thanks for your help ^^

    But, the problems you mentioned are ones that I was already aware of... you see, I had the changes implemented in my orginal code (the p = malloc(sizeof(Queue)); )

    I...
  13. Replies
    7
    Views
    1,731

    Memory not allocated??

    Thanks for your help in advance ^^

    Ok, my problem is that every time I run the program I get a Segmentation Fault... I think it's because the memory isn't allocating properly, could someone please...
  14. Replies
    3
    Views
    1,596

    I'm not quite sure if this is what you are...

    I'm not quite sure if this is what you are looking for, but the first one can be -really- amusing and the second one is also very helpfull.

    How to write Unmaintainable Code:...
  15. Thread: Webpages

    by Alexisa
    Replies
    1
    Views
    948

    Webpages

    Hello :)

    I would like to try and make a form on a webpage, that the data entered gets added to a linked list using C or Java (I know a little of both languages so it doesn't really matter which...
Results 1 to 15 of 15