Search:

Type: Posts; User: WizardRahl

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    4,503

    Ok, still thats easy to fix, just move the do...

    Ok, still thats easy to fix, just move the do up...


    int main()
    {
    string strInput;

    do
    {
    cout << "\nPlease enter a gender specific sentence\n";
  2. Replies
    18
    Views
    4,503

    We also weren't assigned a book for the class, so...

    We also weren't assigned a book for the class, so it's difficult to have to go to outside resources to find examples ofeverything. =(
  3. Replies
    18
    Views
    4,503

    Ok, got an update here... still got a few errors....

    Ok, got an update here... still got a few errors.


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


    int main()
    {
  4. Replies
    18
    Views
    4,503

    Here's what I've got so far... Doesn't really...

    Here's what I've got so far... Doesn't really work.

    I have the user input as strInput and a function that will need to loop until the user input = "I'm done".

    I also have a function at the...
  5. Replies
    18
    Views
    4,503

    Thanks, Should I continue to post here or pm...

    Thanks,
    Should I continue to post here or pm you?
  6. Replies
    18
    Views
    4,503

    Thats the problem... I'm unsure of what...

    Thats the problem... I'm unsure of what code/functions to use to scan the input to look for pronouns. Is it something like, string::find(string str) ??

    I'm just not sure how to begin the...
  7. Replies
    18
    Views
    4,503

    Yeah it would be easy to keep adding different...

    Yeah it would be easy to keep adding different pronouns such as "they" and "it" to be replaced by something else. I just need a starting point really on how to scan the input and make it "pickup"...
  8. Replies
    18
    Views
    4,503

    That's true for practical use. When it's graded,...

    That's true for practical use. When it's graded, I assume that the instructor will input a gender specific sentence first to check to see if the replace is correctly implemented. We get bonus...
  9. Replies
    18
    Views
    4,503

    This is a classroom problem, and I'd also like to...

    This is a classroom problem, and I'd also like to try it out on a couple of word files to see its practical use. I'm pretty sure that I could figure out how to read in from file if I can get the...
  10. Replies
    18
    Views
    4,503

    Replace words in string

    Hello,

    I'm looking to write a program that will take a user input (a sentence) and make it less sexist.
    For ex., User input is -> He who laughs last, laughs best.
    Program output -> She or he...
Results 1 to 10 of 10