Search:

Type: Posts; User: threwup

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,074

    Simulating an Adder

    I am having trouble with the "for loop" of a 32 bit Adder program. I am suppose to take 2 arrays of 32 bits and sum them together.

    The 2 errors I get are on line 37 and 38 called "called object is...
  2. Am I reading User input into Arrays correctly?

    So I need to read 32-bits of user input into 2 arrays and each bit is separated by a white space. When I enter the 32bits and then press enter, the program crashes.

    example:

    Input 32bits: 0 0...
  3. Replies
    16
    Views
    1,863

    Laser I love you so much, u cannot believe, ...

    Laser I love you so much, u cannot believe,

    IT WORKED!!

    my dad is singaporian, and i really love u. Your my good friend. Thanks for helping me out, u do not know how much this means to me.

    ...
  4. Replies
    16
    Views
    1,863

    Thanks

    Thanks
  5. Replies
    16
    Views
    1,863

    #include "stdio.h" int mux(int*control[], int...

    #include "stdio.h"

    int mux(int*control[], int source[]);

    int main(void)
    {
    int control[2]; // Holds array for Control input
    int source[7]; // Holds array for Source input
    int...
  6. Replies
    16
    Views
    1,863

    Can you tell me what to change, please i have...

    Can you tell me what to change, please i have this due in like 3 hours
  7. Replies
    16
    Views
    1,863

    1910349934 something like that im trying to...

    1910349934

    something like that im trying to print the first element of the array. pls help
  8. Replies
    16
    Views
    1,863

    If I shortened the code to yours, how can I print...

    If I shortened the code to yours, how can I print the output of the multiplexor? Don't I need output in the method so I can print the output?

    Is there also a way i can print a specific element...
  9. Replies
    16
    Views
    1,863

    You guys suck mejor Balls

    You guys suck mejor Balls
  10. Replies
    16
    Views
    1,863

    Almost there Multiplexor program!

    Please I need some help here creating a 3-bit multiplexor.

    control inputs:0 0 0
    source inputs: 1 0 0 0 0 0 0 0
    output:1


    control inputs: 0 0 1
    source inputs: 0 1 0 0 0 0 0 0
    output:1
  11. Replies
    5
    Views
    2,392

    am I on the right track? #include "stdio.h"...

    am I on the right track?


    #include "stdio.h"

    int main(void)
    {
    int control[2]; // Holds array for Control input
    int source[7]; // Holds array for Source input
    int output;
  12. Replies
    5
    Views
    2,392

    This is the expression I came up with: && = And...

    This is the expression I came up with:
    && = And
    || = OR
    ! = Not

    (A && !S && !T && !U)
    ||
    (B && !S && !T && U)
    ||
    (C && !S && T && !U)
  13. Replies
    5
    Views
    2,392

    Multiplexor C program help

    So heres the guidelines:

    Write a C program that simulates a 3-bit multiplexor. Your program should first read the 3 control inputs; then read the eight source inputs; then print the output of the...
Results 1 to 13 of 13