Search:

Type: Posts; User: darshan10

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    3,603

    reverse string using recursive

    #include <iostream>
    #include <string>
    using namespace std;

    void reverse(string, int);

    int main()
    {
    string s = "Example";
  2. Replies
    6
    Views
    14,451

    how to get invalid message when user enter char for shift

    i fixed my string problem using

    fgets(message, 80, stdin);

    now i want to know that how can i make it invalid shift when someone enter char instead of number



    while(key <1 || key > 25)...
  3. Replies
    6
    Views
    14,451

    that didn't work for me but is this right if i do...

    that didn't work for me but is this right if i do this


    if (input[i] == ' ')
    {
    input [i] = ' ';
    }


    inside for loop? b/c its still not working.
  4. Replies
    6
    Views
    14,451

    Caesar Cipher help!!

    Hi i am having problem with strings using for loop. When i enter input abc, strlen shows that string length is 3 but when i enter abc d string length still shows 3 and i think loop stop when it sees...
Results 1 to 4 of 4