Search:

Type: Posts; User: Jasonx521

Search: Search took 0.00 seconds.

  1. How to take a string input and remove whitespace?

    I'm writing a program that will take a users postfix (aka reverse polish) and complete the calculations ,except I'm having a problem taking an input with white space between characters and removing...
  2. Anyone with a solution? Here is my Errors: ...

    Anyone with a solution?

    Here is my Errors:


    assignment1.c: In function `gateNot':
    assignment1.c:74: warning: initialization makes pointer from integer without a cast
    assignment1.c: In...
  3. Thank you for the link, it's a good reference ...

    Thank you for the link, it's a good reference

    Thank you "maven" for the info, I was using bitwise for OR , AND and need them for integers..

    what do you think about the intToBit function?
    ...
  4. logical operation functions in c; And, Or, Xor, Not etc..

    How would I set up gateAnd(), gateOr()...etc...

    I have never tried to replicate these operations with a program, and also first time using c, only have used Java previously..

    I also will have...
  5. Thank you..

    Thank you..
  6. Here is the code: #include "stdlib.h"...

    Here is the code:


    #include "stdlib.h"
    #include "assert.h"
    #include "stdio.h"
    #include "circuit.h"

    int main(int argc, char * argv[])
    {
  7. Okay I made some progress, but now is where I 'm...

    Okay I made some progress, but now is where I 'm really stuck... how would I set up gateAnd, GateOr etc..?

    I know the logical math and how to add binary, but never tried to replicate it with a...
  8. thank you.. obviously

    thank you.. obviously
  9. First C program ? ? error: syntax error before "int"

    Here is the error message:

    assignment1.c: In function `gateInput':
    assignment1.c:24: error: syntax error before "int"

    and here is the code:

    #include "stdlib.h"
    #include "assert.h"...
Results 1 to 9 of 9