LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 513 users online 167779 members 2220 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
5 online / 33 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

Anyone good with C++:
Replies: 3Last Post Feb. 13 7:59pm by RossTheHoss69
Single page for this topic Email Print Favorite
( RossTheHoss69 )


Soothsayer

Patron
Tech Support Leader
Reply
Okay, I'm slowly learning C++.
I'm using DevCPP 4.9.9.2.
I can basically do simple programs with variables and whatnot.

What I need to know is this:
Can you write a program with C++ to do the basic functions used in the Command Prompt?

ie like writing a program to run the line
Code:

shutdown -r
in the command prompt??

EDIT: Nevermind.
I figured out that you don't need C++, you just need to save the function as a .BAT file.

Post edited at 1:54 pm on Feb. 14, 2008 by RossTheHoss69

-------
I'm not changing this line until I get a girlfriend. [7-08-07; 1:26 a.m.]
Click for n00dz.
Shït. Piss. Fück. Cünt. Cocksucker. Motherfücker. And Tits.
Rest In Peace, George Carlin.


7:56 pm on Feb. 13, 2008 | Joined Dec. 2005 | 685 Days Active
Join to learn more about RossTheHoss69 Texas, United States | Male | 4910 Posts | 13834 Points
Post from this position was omitted due to content violations
ALucidThought

Technician

Ad Free
Reply
Yep. Rather simple.

-------
Sometimes you do something, and you get screwed.
Sometimes it's the things you don't do, and you get screwed.

7:57 pm on Feb. 13, 2008 | Joined Feb. 2008 | 34 Days Active
Join to learn more about ALucidThought Michigan, United States | Asexual Male | 801 Posts | 343 Points
( RossTheHoss69 )


Soothsayer

Patron
Tech Support Leader
Reply
Quote: from ALucidThought at 9:57 pm on Feb. 13, 2008

Yep. Rather simple.

can you explain?

-------
I'm not changing this line until I get a girlfriend. [7-08-07; 1:26 a.m.]
Click for n00dz.
Shït. Piss. Fück. Cünt. Cocksucker. Motherfücker. And Tits.
Rest In Peace, George Carlin.

7:59 pm on Feb. 13, 2008 | Joined Dec. 2005 | 685 Days Active
Join to learn more about RossTheHoss69 Texas, United States | Male | 4910 Posts | 13834 Points
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic