Search:

Type: Posts; User: jaw24

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    5,121

    Thank you, thank you, thank you!!! Works for me...

    Thank you, thank you, thank you!!! Works for me now also. I really appreciate your help.

    edit: Yes, templates are a blast, I think they become more of a hoot when you throw in iterators.
  2. Replies
    9
    Views
    5,121

    I had tried both of those prior to posting to the...

    I had tried both of those prior to posting to the board, they created more errors. I tried using count as a non-templated function, still more errors. Where I have it now is the least amount of...
  3. Replies
    9
    Views
    5,121

    Thank you for your replies, here is where it...

    Thank you for your replies, here is where it stands now. I am down to one error(at least until I make the next correction).


    #include<iostream>
    #include<string>
    #include<list>

    using...
  4. Replies
    9
    Views
    5,121

    I didn't take it as nasty. This was part of...

    I didn't take it as nasty. This was part of project that I just handed in. We had to just write the functions, I wanted to test them in a program before I handed it in, where I found out that it...
  5. Replies
    9
    Views
    5,121

    Template function declaration error

    Hi all,

    I wrote a program to count the number of times an item appears in a list using a sequential search. I had numerous errors and corrected most of them by way of online tutorials, loking up...
  6. Replies
    1
    Views
    1,037

    Questions about ADT's

    I am currently taking my first class in C++. Most stuff I understand and can use while writing code. I am completely lost when it comes to classes, ADTs, when something should be a friend, when to...
  7. Replies
    11
    Views
    2,080

    Thank you all, I used everyone's tips. I switched...

    Thank you all, I used everyone's tips. I switched from using a vector to using an array and changed the loops, now it works. I'm learnin'
  8. Replies
    11
    Views
    2,080

    Thank you, you guys are good, compiles now. I...

    Thank you, you guys are good, compiles now. I tried running it, was able to type in line of text but upon hitting return the reply was 'segmentation fault'. I put in 'cout << "1" ' in the do...
  9. Replies
    11
    Views
    2,080

    Trouble with vectors

    I am writing a program to read in a line of text and then replace all four letter words with the word 'love'. I am getting the following compiler error:

    love.cpp: In function ‘void...
  10. Replies
    3
    Views
    1,104

    Thank you, worked perfectly. I'm a beginner(as...

    Thank you, worked perfectly. I'm a beginner(as you can tell), much to learn.
  11. Replies
    3
    Views
    1,104

    Help with strings

    I am trying to write a program that reads in a line of text and counts the number of words and the number of instances of each letter. After you type in a line of text you hit return and it should...
  12. Replies
    4
    Views
    3,350

    You guys were fast and helpful, Thank you very...

    You guys were fast and helpful, Thank you very much for taking time to assist.
  13. Replies
    4
    Views
    3,350

    Help with output from array

    I am writing a program to read a sentence into an array and then delete all repeated letters and spaces and then print out the new sentence. after a repeated letter is deleted the remaining letters...
Results 1 to 13 of 13