Search:

Type: Posts; User: pjr5043

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    35
    Views
    9,283

    thank you for your help .. and daved the 97 and...

    thank you for your help .. and daved the 97 and 123 was so taht it only counts 26 times .. the amount of letter that are in the alphabet i guess, i recieved that from another student because i was...
  2. Replies
    35
    Views
    9,283

    ok i have this code .. i just want to change one...

    ok i have this code .. i just want to change one thing, instead of entering a string .. i'd like to have this be the default string "ABcaBadd*eekjdfefdeg,TTew44Tt"


    #include <iostream>
    #include...
  3. Replies
    35
    Views
    9,283

    this is what i have ... where do i got from...

    this is what i have ... where do i got from here?!?!? guys if you could be a little more straightforward it would help me a ton .. all i do is get more confused when i hear a bunch of idfferent wayt...
  4. Replies
    35
    Views
    9,283

    what i meant for myStr2 was that .. visual studio...

    what i meant for myStr2 was that .. visual studio wont let me convert a const char to char .. so i couldnt index mystr to mystr2
  5. Replies
    35
    Views
    9,283

    daved, mystr2 isn't declared .. and that program...

    daved, mystr2 isn't declared .. and that program doenst compile. the reason its in there is because originally i was going to index a new string with just the alpha characters, but i found out i can...
  6. Replies
    35
    Views
    9,283

    yea but i never learned that in my class .. i...

    yea but i never learned that in my class .. i need to use only things i've learned .. i believe get.line will be part of this program
  7. Replies
    35
    Views
    9,283

    i don't know what a std::map is .. i don't know...

    i don't know what a std::map is .. i don't know how it works or how to use it
  8. Replies
    35
    Views
    9,283

    alrite guys .. i reallly need some help with...

    alrite guys .. i reallly need some help with this, i tried looking at the previous code i had for my anagram program, but i cannot understand it at all.

    here is an update:

    the teacher wants me...
  9. Replies
    35
    Views
    9,283

    alrite .. i'll have to look at them an analyze...

    alrite .. i'll have to look at them an analyze them more
  10. Replies
    35
    Views
    9,283

    i'm having a hard time figuring out how to write...

    i'm having a hard time figuring out how to write the code to do that, also .. the code in my anagram i'm finding it difficult to see waht i can relate from the anagram code to this code
  11. Replies
    35
    Views
    9,283

    alrite .. well don't i want to do something like...

    alrite .. well don't i want to do something like this ..

    *Index letter A to 0*
    *Index letter B to 1*
    *Index letter C to 2*
    *so on, so on until Z*

    then

    *count Index 0 *
  12. Replies
    35
    Views
    9,283

    how do i assign a letter to an index in an array?...

    how do i assign a letter to an index in an array? how do i assign a to index 0?
  13. Replies
    35
    Views
    9,283

    i do not konw maps .. so yea .. that indexing...

    i do not konw maps .. so yea .. that indexing method seems like it would work better. would i need to write something that places A into index 1 and B into index 2 and so on .. and then count each...
  14. Replies
    35
    Views
    9,283

    counting letter occurences in a string

    hey guys, i have an extra credit assignment that wants me to count how many times each letter occurs in a string, i'm not sure how to get started:

    heres the description, it doens't seem like it...
  15. Replies
    50
    Views
    9,251

    well i don't fully understand how your function...

    well i don't fully understand how your function works .. for instance .. i do not know what struct or memset are

    if you were able to explain the function a little more i would understand it .. but...
  16. Replies
    50
    Views
    9,251

    edit: i got it to work using this code .. now...

    edit: i got it to work using this code .. now does anyone know if i should just count the letter .. or can an anagram use numbers as well?






    #include <iostream>
    #include <cctype>...
  17. Replies
    50
    Views
    9,251

    wow .. i haven't checked this in a few days .....

    wow .. i haven't checked this in a few days .. thanks for all these replies .. but i was about to submit my own code and see where to go from there ..

    this is what i have right now.. and what this...
  18. Replies
    50
    Views
    9,251

    anagram program help

    i need to write a program that takes two strings of at most a length of 500, and outputs whether or not they are anagrams

    Example of an anagram :
    Tom Marvolo Riddle
    I am Lord Voldemort


    i'm...
  19. Replies
    3
    Views
    1,320

    well the code doens't work, and i figured that...

    well the code doens't work, and i figured that all of my funcitons weren't fully correctly written. also i don't know how to implement them into my program to have them run
  20. Replies
    3
    Views
    1,320

    help with sorting program

    i need to write a program that will generate 50000 random number from 1-10000 and then sort them using three different functions. Bubble Sort, Insertion Sort, and Selective Sort

    here is the code i...
  21. Replies
    2
    Views
    3,652

    emirps program help

    i'm working on a program that is supposed to display the first 100 emirps. right now i have it so i have to put in an input.

    i need the program to run itself with no input .. and it has to display...
  22. i really don't know, i'm never going to get this...

    i really don't know, i'm never going to get this right because my teacher is a terrible at teaching, i already submitted my file, but honestly i'm being straight with you, if one of you were to just...
  23. alrite, so i can put like int i+2 in the loop...

    alrite, so i can put like int i+2 in the loop right? .. but then what should my command line be for the loop .. right now i have c!=100 is that right?
  24. i would need to have i equal all numbers from 1...

    i would need to have i equal all numbers from 1 to 100? than 1000 and 100000?
  25. alrite guys, i'm super confused with all of this...

    alrite guys, i'm super confused with all of this right now.

    This is what my teacher told me today:
    She said that this "4*(1- 1/2i-1 + 1/2i+1)" was the equation i needed to use. She then said...
Results 1 to 25 of 37
Page 1 of 2 1 2