Search:

Type: Posts; User: hss1194

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,609

    Sorting linked list

    I have a code able to import a file containing words and numbers to a linked list, but I also need to sort this linked list alphabetically. I've done research on this involving bubble sorting, but no...
  2. Replies
    4
    Views
    1,343

    Break for loop after vector's last element

    I have a double for loop that helps me determine the highest sum in a block of numbers inside a text file. All the numbers are inputted into a vector, but eventually the vector reaches its end, and...
  3. Replies
    2
    Views
    1,081

    Anagram program: words of lesser length

    I have an anagram program that if you type in a word's characters in any order, the dictionary file will be able to export it. However, my assignment is to build words that are shorter than the...
  4. Replies
    3
    Views
    2,270

    Issue finding greater fraction

    I had this function working before, until my teacher told me to "make it more flexible", in which I pretty much revamped the project and couldn't fix the function. My problem is that the ints great1...
  5. Replies
    3
    Views
    1,133

    For a string, use the transform function to...

    For a string, use the transform function to uppercase all letters, including those separated by spaces:



    #include<iostream>
    #include<conio.h>
    #include<algorithm>
    #include<string>
    using...
  6. Replies
    2
    Views
    2,531

    Remove leading zeroes

    I have a working code that takes a number and its square to check the reverse of the number and see if it matches a reverse of the original square.



    #include<iostream>
    #include<conio.h>
    using...
  7. Alright, this is a working code after I got some...

    Alright, this is a working code after I got some extra help from my classmate:



    #include<iostream>
    #include<string>
    #include<conio.h>
    #include<fstream>
    #include<algorithm>
    using namespace...
  8. #include #include using...

    #include<iostream>
    #include<string>
    using namespace std;
    #include<conio.h>
    #include<fstream>
    #include<algorithm>

    ...

    int main(){
  9. What would I place to retrieve the words? The...

    What would I place to retrieve the words? The code I'm writing either does not match arguments or shows no progress in Win32.
  10. Okay...I tried to work around on this. I still...

    Okay...I tried to work around on this. I still don't understand the idea of vectors, so I didn't include any. Using this updated code, I found that 1.) The code gives repeated error values, and 2.) I...
  11. Replies
    2
    Views
    1,035

    Palindrome issue

    I'm having an issue with my palindrome program. I believe it's only determining if the first letter matches the last. I assume this because the entries in my string "race car" and "race casr" both...
  12. Need help reading, sorting, and printing a .txt file

    I've been working on this project for my class for at least a week and I have had so many issues since I am just a novice who tried to jump into an advanced C++ class without prior programming...
Results 1 to 12 of 12