Search:

Type: Posts; User: Mythic Fr0st

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. I am my own teacher LOL.. And thank you...

    I am my own teacher LOL..

    And thank you...
  2. Borland C++ Editor, Where to start a Windows Application?

    Ok, I just downloaded Borland C++ editor,

    now I opened it, but I can't find where windows application is...

    I tried a "console" application, but its definately not windows programming

    Can...
  3. hmm

    I'd rather it doesnt pop up twice, but...

    so I just use the random thing for ".key" and for".word" and they'll match up correctly?

    so the Word will be hello, and the Hint (key) will be "A...
  4. hmm

    I did a while (word_list[0].word != real_word[0])
    {
    do the random word thing again for both of em
    }

    (Real_Word, is so that the...
  5. mm

    Thanks, I understand now, but still few problems



    error, from using

    shuffled_word = std::random_shuffle(original.begin(), original.end());

    I also dont understand how I put a...
  6. hmm

    My script doesn't shuffle the words, it shuffles the "text" inside...

    E.G

    word[1] = "Hello"

    if it picks Word[1], it turns Hello into something like
    hlleo or lleho or 5 random characters of...
  7. no, my compiler is dev - C++ lol

    no, my compiler is dev - C++

    lol
  8. ohhh, I see its different from what I have...

    ohhh, I see

    its different from what I have learnt (other languages)

    so

    string m = "hello"
    string res = m.substr(2,1)
    being 'l' and only 1 character....
  9. running out of room when I run my program

    The problem is that sometimes when I run my program, sometimes it works, perfectly, then during the game, it just stops, and I can't do anything else.. (No errors/crashing etc..)

    Sometimes it just...
  10. Replies
    2
    Views
    1,716

    ty

    Thanks, worked great!
  11. Replies
    2
    Views
    1,716

    repeating a function

    ok, so I have my function (int main () ) run, then it works, but how do I get it so it repeats?

    i've just put a while (bool = true) loop, around the contents of it (while the condition being true,...
  12. hmm

    confusing, I do have a index thing manual open, yes I'll get a book, (no chances to go to library yet! i cant drive lol!
  13. omg

    OMG, thanks alot
  14. hmm

    so in c++ substr "hello" 1,1 = (nothing)

    ?

    weird i'll try

    low_index, low_index+1

    its now
  15. substrings and loops, messing up real bad!

    #include <iostream>
    using namespace std;

    int main ()
    {
    string wd[50];
    cout<<"Trivia will begin"<<"\n"<<"\n";
    wd[1] = "hello";
    wd[2] = "need";
    wd[3] = "help";
  16. Replies
    2
    Views
    1,352

    ya

    thanks, obvious mistake, 5 letters O_O not six! stupid! lol
  17. Replies
    2
    Views
    1,352

    wd[x].length returning 1, but it is 6!

    #include <iostream>
    using namespace std;

    int main ()
    {
    string wd[50];
    cout<<"Trivia will begin"<<"\n"<<"\n";
    wd[1] = "hello";
    wd[2] = "need";
    wd[3] = "help";
  18. Replies
    2
    Views
    1,241

    yea

    Yea that worked great, THANKS!
  19. Replies
    2
    Views
    1,241

    substring of a variable...

    how do I get the substring of a variable?

    im trying to make a "Trivia" game...

    with scrambling words lol...

    this is my code so far...

    #include <iostream>
    using namespace std;
  20. hmm

    I tried

    I found a thing, but I couldnt do

    user = user + c

    (c being the char, and user the string)

    to add it, it kept being null, so I deleted it
  21. erm

    But I cant use getline(cin, int) it has to be a string...

    it wont compile otherwise

    I also am trying to convert the string "user" to lowercase, with no luck...


    #include <iostream>...
  22. hmm

    I dont have myflush() or mypause()

    just

    cin.get();
  23. ah

    Ok, converting integer to string problems...
    I can do it if I do

    but not if I do


    because getline is asking where i2s is? im confused, I googled this
  24. why isnt this checking my string properly

    for (int aoe = 0; aoe <= 9; aoe++)
    {
    for (int aue = 1; aue <= 9; aue++)
    {
    if (allowedage[aoe] == age)
    {
    age_correct = true;
    ...
  25. Replies
    5
    Views
    935

    hmm

    Erm, it doesn't seem to work for variables...

    int ul = strlen(usr);


    #include <iostream>

    using namespace std;

    int main ()
Results 1 to 25 of 45
Page 1 of 2 1 2