Thread: C++ and command prompt commands

  1. #1
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209

    C++ and command prompt commands

    I'm new here, as you can see. Now, in school in my intro to business class (typing class), we found out how to send messages from one computer to the other in the class and the entire school through the Windows command prompt (using the 'net send' command). We have to be stealthy about it because when our old teacher sees that big black box on the screen, she can tell something's up. Several kids have even gotten several detentions when caught sending messages. My question is, though, whether it is possible to write an application in C++ that can access the command prompt's commands without the command prompt being open; a smaller window, maybe even a toolbar. Now, I'm horribly unexperienced in C++ or Windows programming (I'm learning C++ from the book in my av.), but I'm wondering if it could be done so that when I do completely learn the language, I have something to look forward to.

    Thanks in advance (btw, I'm not asking anyone to write any programs for me)-

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Yes it can. In fact, you can do just about anything with C++, given enough time to do it
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  3. #3
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209
    Alright! I assume it can't be done with my level of knowlege (I don't know how to program Windows programs), but that's awesome.

Popular pages Recent additions subscribe to a feed