Search:

Type: Posts; User: robasc

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    850

    help with c++ program statement

    I am trying to determine what the x ++ 5 does I have never seen this before, can anyone tell me what it means:

    if ((x == 3) || (x ++ 5))
    y++;

    This was an answer on my test but I think it is a...
  2. Replies
    2
    Views
    878

    Help with strings

    I am learning about strings and I am trying to interpret what the +1 is for when the const MAX_LEN is used. I know strings have a null terminating value, does this allow room for it?




    void...
  3. Replies
    3
    Views
    999

    for instance when I execute the program it should...

    for instance when I execute the program it should execute the command line
  4. Replies
    3
    Views
    999

    connect to winxp command line

    Hello all!

    I am looking to build a program that would connect me to the windows command line utility, any help or leads as to where I can learn how to do this.
    thanks!!!
  5. Replies
    2
    Views
    3,201

    convert int to char and concatenate

    How could I convert an int to char and then concatenate the char variables.

    ok this is what I am thinking but it doesn't work:

    int var1 = 35, var2 = 36;

    var1 = static_cast<char>(var1);...
  6. Replies
    12
    Views
    2,379

    yes you are right! and it is much easier to...

    yes you are right! and it is much easier to understand as well.

    thanks guys!!!
  7. Replies
    12
    Views
    2,379

    Well guys I finally got it: #include...

    Well guys I finally got it:


    #include <cstdlib>
    #include <iostream>

    using namespace std;
    void designDown(int);
    int designUp(int);
    int main(int argc, char *argv[])
  8. Replies
    12
    Views
    2,379

    well I got some what of an idea but my inner if...

    well I got some what of an idea but my inner if statement does not increment back up.


    #include <cstdlib>
    #include <iostream>

    using namespace std;
    int design(int);
    int main(int argc, char...
  9. Replies
    12
    Views
    2,379

    yes I do realize that but I am trying to learn...

    yes I do realize that but I am trying to learn how to do it using a single recursive function.

    But hey thanks for the reply.
  10. Replies
    12
    Views
    2,379

    help with recursion function

    I am trying to create a shape in the form of:

    ****
    ***
    **
    *
    **
    ***
    ****
  11. Replies
    2
    Views
    1,368

    problem with string extraction

    I am trying to extract the first two characters from a string using getline, is this possible or how can I do the extraction?
  12. Replies
    8
    Views
    1,470

    Thanks for the information. Yes, I am still...

    Thanks for the information. Yes, I am still learning alot about classes and having fun with them but in the same sense I am also serious, so thanks for all of your help.
  13. Replies
    8
    Views
    1,470

    I believe this is it: #include ...

    I believe this is it:



    #include <cstdlib>
    #include <iostream>
    #include <string>
    using namespace std;

    class secretType
  14. Replies
    8
    Views
    1,470

    problem with constructors

    I cannot seem to initialize my constructor with default parameters. Could anyone give me a good explanation as to why this is happening?



    #include <cstdlib>
    #include <iostream>
    #include...
  15. Replies
    2
    Views
    1,065

    reading programs

    I have just recently decided to start reading other programs and try to get involved with them so I may be able to learn and understand code. But the problem I am having is when I download a project...
  16. Replies
    3
    Views
    3,782

    definately some good advice friends. I used a two...

    definately some good advice friends. I used a two dimensional array so I could use codes like a1, or b2 etc.. but I did not get it figured out yet.

    I also noticed that my thank you not was...
  17. Replies
    3
    Views
    3,782

    soda machine program

    Hello everyone!

    I have been learning about classes and this is my first program using classes.
    I would like to know how bad I did.

    I am interested in opinions.


    Also I have a constant...
  18. Replies
    31
    Views
    3,519

    system ("PAUSE"); return EXIT_SUCCESS;

    system ("PAUSE");
    return EXIT_SUCCESS;
  19. Replies
    5
    Views
    1,574

    I still can not get this to stop going out of...

    I still can not get this to stop going out of bounds.

    while(infile >> firstName[numOfStudents]) does not work either.
  20. Replies
    5
    Views
    1,574

    I appreciate your honesty decrypt when you say...

    I appreciate your honesty decrypt when you say hideous. As you can tell, I am a newbie taking my first programmming course in college so any advice you could give to make my code more readable would...
  21. Replies
    5
    Views
    1,574

    problem with program

    I program has a problem when reading from the file given:

    robert arnold 85
    hiedi turberville 90
    sally hall 55

    Program output is:

    robert arnold 85
    hiedi turberville 90
  22. Thread: windows error

    by robasc
    Replies
    2
    Views
    819

    man that's it! I have got to watch out for that

    man that's it!

    I have got to watch out for that
  23. Thread: windows error

    by robasc
    Replies
    2
    Views
    819

    windows error

    when I run this program in dev C++ I get a windows error screen that pops up but it compiles and runs; However, if I run this in visual C++ 6.0 it runs just fine and is error free? Any suggestions?
    ...
  24. Replies
    13
    Views
    1,971

    I see you used your function header and your...

    I see you used your function header and your prototype together?

    could you break your code down and explain what (#include <string>) does?

    I haven't seen this one before
  25. Replies
    13
    Views
    1,971

    How's this? #include using...

    How's this?


    #include <iostream>

    using namespace std;

    void age();
    void greetings();
Results 1 to 25 of 76
Page 1 of 4 1 2 3 4