I am an AP student in high school and am currently working on a large program. I was wondering if it is possible to have my program open a file that is usually opened through the comand prompt.
please e-mail me at Scootdive@comcast.net
This is a discussion on open a file through c++ within the C++ Programming forums, part of the General Programming Boards category; I am an AP student in high school and am currently working on a large program. I was wondering if ...
I am an AP student in high school and am currently working on a large program. I was wondering if it is possible to have my program open a file that is usually opened through the comand prompt.
please e-mail me at Scootdive@comcast.net
Try reading the FAQ.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
which class? comp sci A or comp sci AB... or something else...
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
what type of "file" are you trying to open?
Hint<if your in windows>. try the windows API.... full of usefull features![]()
If your program has permission to read the file, then there should be no problem opening it through fstream.
The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.
why not just use
#include <cstdlib>
system("Char array that equals the command you would write to open this file from the commandline" )
IE: System("C:\Something.exe");
Ok it may be C but it should work