Search:

Type: Posts; User: Reigning Glory

Search: Search took 0.00 seconds.

  1. The reason I am using the temp array is because...

    The reason I am using the temp array is because the lab requires that the program only generates the random string once. I could use strcpy instead to assign s1 to temp, but like I said earlier, no...
  2. Alright, I upped SIZE1 by 1, and used SIZE2 - 1...

    Alright, I upped SIZE1 by 1, and used SIZE2 - 1 in the userString function. You were right, I was incrementing beyong the last element with my pointers. The program runs smoothly now. Thanks for the...
  3. Thanks again. In as much as I would like to use...

    Thanks again. In as much as I would like to use your code, I personally have not yet read upto pointer functions, but I'll take it for reference.

    I don't know why I found this board so late. Great...
  4. Thanks, Quzah. As per not using the string...

    Thanks, Quzah.

    As per not using the string handling functions, well, the lecturer doesn't want us using any until the next lab. She wants us to use Pure pointer notation for this lab, and I guess...
  5. Replies
    9
    Views
    2,765

    Poll: Sorry to bust everyone's bubbles, but Metallica...

    Sorry to bust everyone's bubbles, but Metallica is a band that's been done with. Admit it, since Black, nothing they've done has had the ferocious thrashyness that permeated their 80s records.
    ...
  6. Replies
    5
    Views
    1,458

    Sounds to me like you need multiple do-while...

    Sounds to me like you need multiple do-while loops.
  7. The program runs fine the first time through....

    The program runs fine the first time through. Once it loops on newline, the strings s1 and s2 point to gibberish values. The problem seems to be occuring right after the strFilter() function call,...
  8. Can someone point out the problem in this code?

    #define SIZE1 40
    #define SIZE2 1024
    #include <stdio.h>
    #include <ctype.h>

    void Instructions(void);
    void generateRandStr(char *);
    char userString(char *);
    void strFilter(char *, char *, char);
Results 1 to 8 of 8