Search:

Type: Posts; User: kctrk4

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,353

    That last reply really helped me, Thanks alot.

    That last reply really helped me, Thanks alot.
  2. Replies
    6
    Views
    1,353

    It is returning 0 even when i reduce it to: ...

    It is returning 0 even when i reduce it to:


    if (*ptr==x[i])
    count++;
    *ptr++;


    The answer would be 11 but only return 11 when i use single.
  3. Replies
    6
    Views
    1,353

    Ive toggled between = and ==. If i simplfy the...

    Ive toggled between = and ==. If i simplfy the code down just to count strg length with ==, it returns 0 with = it returns 11. Thanks for reply though.
  4. Replies
    6
    Views
    1,353

    Need help to fix function to be used in main

    I am trying to have my function return # of repeated letters in a strg. Ex. mississippi has 3:i,s,p(can't count repeats) I am getting no errors but can't figure out how to get the right answer. If...
  5. Replies
    12
    Views
    1,187

    Not sure what you by last source. Implement RC4...

    Not sure what you by last source.
    Implement RC4 decryption in C as follows using the algorithm description from Wikipedia: (Wikipedia RC4 file)
    Format taken from Wikipedia

    I just don't...
  6. Replies
    12
    Views
    1,187

    I don't understand C all that well. I already...

    I don't understand C all that well. I already thanked you but is there anyway you can tell me the problem in my program, which is causing me to print a random mess.
  7. Replies
    12
    Views
    1,187

    Thanks, although your code is quite different,...

    Thanks, although your code is quite different, can you explain it?
  8. Replies
    12
    Views
    1,187

    well i got it to compile without errors but my...

    well i got it to compile without errors but my output is still not matching, can anyone help me?

    Should be:
    Money is better

    Mine:
    M-yM-t&^@M-2I{dM-^BPnzM
  9. Replies
    12
    Views
    1,187

    Use global variables for the key and keylength;...

    Use global variables for the key and keylength; the key will be your VU LDAP UserID, all lowercase. For example:
    char key[] = "frodo";
    int keylength = 5;

    reset the RC4 permutation array:
    ...
  10. Replies
    12
    Views
    1,187

    Assignment is RC4 Decryption (General Idea) ...

    Assignment is RC4 Decryption (General Idea)

    It says im suppose to call reset and init to initialize the array in main.
  11. Replies
    12
    Views
    1,187

    Need help fixing error to get correct output.

    #include <stdio.h>
    char K[6]={'k','c','u','n','n','i'};
    int i, j, T;
    void reset( int S[])
    { for(i=0; i<=255; i++)
    S[i]=i;
    }
    void init( int S[])
    {
    for(i=0; i<=255; i++)
  12. Replies
    16
    Views
    2,909

    Wrong, why are you at these boards. Perhaps i...

    Wrong, why are you at these boards. Perhaps i worded it wrong, i needed help finding the period using a sliding window. You couldnt figure it out anyway.

    Write a program to produce 51 samples of...
  13. Replies
    16
    Views
    2,909

    It says the entire homework, i already did part1...

    It says the entire homework, i already did part1 involving parrallel-series component reliability.
    Plus i already have part2 half done which is what i posted.
    So thanks for nothing.
  14. Replies
    16
    Views
    2,909

    You are rude You don't need to reply or look at...

    You are rude
    You don't need to reply or look at my thread
  15. Replies
    16
    Views
    2,909

    College kid-need help w/ C program by tonight

    #include <stdio.h>
    #include <math.h>
    #include "drand.h"
    #define PI (4*atan(1))
    int main(void)
    {
    double A, t, T, p, n, w, y, a, b, c;

    A=drand()+1;
    T=((drand()+1)*10);
  16. Replies
    4
    Views
    1,008

    That works for the 1st part, now i need to have...

    That works for the 1st part, now i need to have it print out everything except syn pattern and stuffed bits
  17. Replies
    4
    Views
    1,008

    int main( void) { int state, next, c, out; ...

    int main( void)
    {
    int state, next, c, out;

    setbuf( stdout, 0); /* make stdout unbuffered */
    next = START; /* set initial state */

    while( 1)
    {
    /* get next input */
  18. Replies
    4
    Views
    1,008

    Need help with basic C program

    I am a freshman in college trying to learn C and i need help with this program if anyone would mind helping me.

    For the first part i need to detect stuffed bits + SYN sequences and have the...
  19. Replies
    7
    Views
    1,077

    Question about C and C++

    Im a freshman in college and im taking C but i may transfer to a college that uses C++. I was wondering if anyone thinks i would get credit for the course and the diffculty of moving to C++. I...
Results 1 to 19 of 19