Search:

Type: Posts; User: Nightwarrior

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    1,297

    That works, thank you very much! And much thanks...

    That works, thank you very much! And much thanks to the other people as well! I really learned a lot from this thread / little program. I will try to study up on how to use ShellExecute(), as well.
    ...
  2. Replies
    12
    Views
    1,297

    Thanks for the reply. I was using ShellExecute...

    Thanks for the reply. I was using ShellExecute before, but I couldn't get it to work; so I swapped over to this (since this is the help someone else offered me). I have no idea how to go about all of...
  3. Replies
    12
    Views
    1,297

    None of the loops are actually starting more than...

    None of the loops are actually starting more than 1 command prompt w/ ping in it. They all only start one. :(
  4. Replies
    12
    Views
    1,297

    Alright, I'll mess around with that a little. My...

    Alright, I'll mess around with that a little. My goal is though, to start as many ping.exe's as the NumPrompts variable.

    Here's the full code (might help explain it more):



    #include...
  5. Replies
    12
    Views
    1,297

    Quick Loop Question

    How would I go about looping this?


    cout << "Please enter the number of prompts you desire: ";
    getline (cin, NumPrompts); "\n";



    std::string...
  6. Replies
    10
    Views
    1,590

    Guess it'd help if I included the code. :) ...

    Guess it'd help if I included the code. :)



    #include <cstdlib>
    #include <iostream>

    using namespace std;

    int main()
  7. Replies
    10
    Views
    1,590

    One last question. Is it possible for it to loop...

    One last question. Is it possible for it to loop back to the start?

    i.e.

    Switch y case 1 starts the program
    switch x case 1 does division

    it stops after you do the division. Can you make it...
  8. Replies
    10
    Views
    1,590

    Thanks a lot!

    Thanks a lot!
  9. Replies
    10
    Views
    1,590

    Hrm, what if I wanted to output 2 numbers divided...

    Hrm, what if I wanted to output 2 numbers divided by each other? Like real division. 5 / 2 = 2.5. Dev C++ says 5 / 2 = 2.

    It's only doing how many times the number can go in it wholey, and I'd...
  10. Replies
    10
    Views
    1,590

    Ah. I understand now. Thanks!

    Ah. I understand now. Thanks!
  11. Replies
    10
    Views
    1,590

    I have the: int y; int x; int a; int b;

    I have the:



    int y;
    int x;
    int a;
    int b;
  12. Replies
    10
    Views
    1,590

    Another Noob Question

    Is it possible to do a case within a case? For example:



    #include <cstdlib>
    #include <iostream>

    using namespace std;

    int main()
  13. Thread: Greetings

    by Nightwarrior
    Replies
    11
    Views
    1,375

    Sorry for bugging you again, but the ...

    Sorry for bugging you again, but the


    std::cout << std::setw(3) << 1;

    is messing my output up. Where should it be added? :(
  14. Thread: Greetings

    by Nightwarrior
    Replies
    11
    Views
    1,375

    Thank you for taking your time to help me. :)

    Thank you for taking your time to help me. :)
  15. Thread: Greetings

    by Nightwarrior
    Replies
    11
    Views
    1,375

    Thank you very much! Now is there any way for...

    Thank you very much!

    Now is there any way for it to convert 0, 1, 2, 3, etc to 000, 001, 002, 003, etc? I know it's silly, but it'd look much better.

    *EDIT: How would one make it check to see...
  16. Thread: Greetings

    by Nightwarrior
    Replies
    11
    Views
    1,375

    Greetings

    Sorry for being a complete noob in advance, but I only recently started with C.

    I'm trying to make a program that'll output all numbers based upon your inputs.


    #include <iostream>
    #include...
Results 1 to 16 of 19