LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 743 users online 225079 members 1061 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
BleedingSteelWings
For you these wings bleed my enemies' blood so I may ...
Mood: Plain
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
7 online / 27 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Quoting Post
Archived Topic: It will not be bumped to the top of the forum.
Topic Anyone good with C++:
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
RossTheHoss69 Posted at 7:56 pm on Feb. 13, 2008
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.

Replies
RossTheHoss69 Posted at 7:59 pm on Feb. 13, 2008
Quote: from ALucidThought at 9:57 pm on Feb. 13, 2008

Yep. Rather simple.

can you explain?
ALucidThought Posted at 7:57 pm on Feb. 13, 2008
Yep. Rather simple.
MrsBrightside010 Posted at 7:57 pm on Feb. 13, 2008
Post from this position was omitted due to content violations
All 3 previous replies displayed.