Search:

Type: Posts; User: KunoNoOni

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    948

    Ok, I think I got it. Thanks for the help ^_^

    Ok, I think I got it. Thanks for the help ^_^
  2. Replies
    7
    Views
    948

    Function not returning value

    I think I'm missing something about passing variables to functions. This small program doesn't do what I want it to do. Its suppose to print a = 0 then call the function then print a=5, but it prints...
  3. Replies
    12
    Views
    3,586

    Ok I think I figured it out. Thank for all the...

    Ok I think I figured it out. Thank for all the help!! ^_^
  4. Replies
    12
    Views
    3,586

    I'm not at home right now... so no I haven't...

    I'm not at home right now... so no I haven't compiled it yet.

    As far as my example, I don't know what I was thinking about when I put the return in the loop :o . 'a' is the array which is a...
  5. Replies
    12
    Views
    3,586

    so if I understand you correctly then this should...

    so if I understand you correctly then this should be legal...



    for (int x=0;x<10;x++)
    {
    a+x="*" //assuming the array is string

    return a
    }
  6. Replies
    12
    Views
    3,586

    Arrays and Functions

    I'm kinda concerned about not being able to pass arrays to functions.

    Would be just be better to make the array global?

    here's an example.

    I'm making a text based tic-tac-toe game.

    I...
  7. Replies
    34
    Views
    6,822

    Poll: Hmm... The oldest computer I have would have to...

    Hmm... The oldest computer I have would have to be my Atari 800, I also have 2 Apple ][e and a ][c
  8. Thread: Allegro

    by KunoNoOni
    Replies
    1
    Views
    944

    I don't believe so, as long as they have the...

    I don't believe so, as long as they have the correct .dll file
  9. Replies
    4
    Views
    912

    Yeah I changed the char to string, too away the *...

    Yeah I changed the char to string, too away the * and added #include <string> and it worked! ^_^

    I ust needed to add in an IF statement so that the word 'done' wasn't added to the list.

    Thanks...
  10. Replies
    4
    Views
    912

    Oops! hehe thanks for the info I'll try that when...

    Oops! hehe thanks for the info I'll try that when I get home.
  11. Replies
    4
    Views
    912

    Linked List Problems

    Tuesday of this past week I decided I would give myself a long over due refresher course in C++. So I started with the tutorials and when I got to Linked Lists I got stuck and a practice program I...
  12. Replies
    29
    Views
    3,109

    Character Player; cin >> CharacterClass;...

    Character Player;
    cin >> CharacterClass;
    for(;;) {
    if (CharacterClass == "d" || CharacterClass == "D") {
    CharacterClassvar = Dwarf;
    ...
Results 1 to 12 of 12