Click here to Skip to main content
15,902,763 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: toolbar controls Pin
Member 59031014-Jul-09 23:58
Member 59031014-Jul-09 23:58 
QuestionHow to read command line arguments in vc++ Pin
KASR114-Jul-09 21:11
KASR114-Jul-09 21:11 
AnswerRe: How to read command line arguments in vc++ Pin
_AnsHUMAN_ 14-Jul-09 21:31
_AnsHUMAN_ 14-Jul-09 21:31 
AnswerRe: How to read command line arguments in vc++ Pin
Rajesh R Subramanian14-Jul-09 21:32
professionalRajesh R Subramanian14-Jul-09 21:32 
AnswerRe: How to read command line arguments in vc++ Pin
CPallini14-Jul-09 21:39
mveCPallini14-Jul-09 21:39 
GeneralRe: How to read command line arguments in vc++ Pin
KASR114-Jul-09 22:24
KASR114-Jul-09 22:24 
AnswerRe: How to read command line arguments in vc++ Pin
Member 392263915-Jul-09 2:25
Member 392263915-Jul-09 2:25 
Questionhelp in modifying a code?[SOLVED] Pin
jon ray14-Jul-09 18:04
jon ray14-Jul-09 18:04 
the code below create a folder in drive E:\ called autorun.inf and other line to create inside autorun.inf folder a text file called protection.txt

now what i want is instead of creating these things in drive E:\ i want the user to enter the drive letter that he wants then these files will be created in the entered drive

#include <direct.h>
#include <fstream>
#include <iostream>

using namespace std;
int main()
{
	_mkdir("e:/autorun.inf");
	ofstream output("e:\\autorun.inf\\protection.txt",ios::out);
	output.close();
	return 0;
}


Thanks in advance
AnswerRe: help in modifying a code? Pin
chandu00414-Jul-09 18:09
chandu00414-Jul-09 18:09 
AnswerRe: help in modifying a code? Pin
carter200014-Jul-09 18:28
carter200014-Jul-09 18:28 
GeneralRe: help in modifying a code? Pin
jon ray14-Jul-09 18:46
jon ray14-Jul-09 18:46 
GeneralRe: help in modifying a code? Pin
carter200014-Jul-09 18:59
carter200014-Jul-09 18:59 
GeneralRe: help in modifying a code? Pin
David Crow15-Jul-09 3:11
David Crow15-Jul-09 3:11 
Questioncommand buttons Pin
Member 59031014-Jul-09 17:46
Member 59031014-Jul-09 17:46 
AnswerRe: command buttons Pin
chandu00414-Jul-09 18:04
chandu00414-Jul-09 18:04 
GeneralRe: command buttons Pin
Member 59031014-Jul-09 18:09
Member 59031014-Jul-09 18:09 
GeneralRe: command buttons Pin
chandu00414-Jul-09 18:11
chandu00414-Jul-09 18:11 
GeneralRe: command buttons Pin
Member 59031014-Jul-09 18:12
Member 59031014-Jul-09 18:12 
GeneralRe: command buttons Pin
Member 59031014-Jul-09 18:12
Member 59031014-Jul-09 18:12 
AnswerRe: command buttons Pin
«_Superman_»14-Jul-09 19:53
professional«_Superman_»14-Jul-09 19:53 
QuestionBuffering incoming packets Pin
resolvequestion14-Jul-09 17:36
resolvequestion14-Jul-09 17:36 
AnswerRe: Buffering incoming packets Pin
«_Superman_»14-Jul-09 17:56
professional«_Superman_»14-Jul-09 17:56 
AnswerRe: Buffering incoming packets Pin
Richard Andrew x6414-Jul-09 20:05
professionalRichard Andrew x6414-Jul-09 20:05 
AnswerRe: Buffering incoming packets Pin
Stuart Dootson14-Jul-09 21:36
professionalStuart Dootson14-Jul-09 21:36 
GeneralRe: Buffering incoming packets Pin
resolvequestion15-Jul-09 3:30
resolvequestion15-Jul-09 3:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.