LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 498 users online 211556 members 1528 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
ElephantStone
Music: Bob Dylan The Stone Roses Blur Justin T...
Mood: Euphoric
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, 2008 7:59pm by RossTheHoss69
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( RossTheHoss69 )


Enlightened One

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 | Days Active: 891
Join to learn more about RossTheHoss69 Texas, United States | Male | Posts: 5,425 | Points: 15,192
Post from this position was omitted due to content violations
ALucidThought


Dairy Product Addict

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 | Days Active: 42
Join to learn more about ALucidThought Michigan, United States | Asexual Male | Posts: 883 | Points: 1,587
( RossTheHoss69 )


Enlightened One

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 | Days Active: 891
Join to learn more about RossTheHoss69 Texas, United States | Male | Posts: 5,425 | Points: 15,192
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