Click here to Skip to main content
15,910,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Listview Column count Win32 Pin
arun_pk4-May-10 20:08
arun_pk4-May-10 20:08 
QuestionmciSendString from inside a DLL? Pin
hxhl954-May-10 18:11
hxhl954-May-10 18:11 
AnswerRe: mciSendString from inside a DLL? Pin
Eugen Podsypalnikov4-May-10 20:22
Eugen Podsypalnikov4-May-10 20:22 
GeneralRe: mciSendString from inside a DLL? Pin
hxhl955-May-10 15:46
hxhl955-May-10 15:46 
GeneralRe: mciSendString from inside a DLL? Pin
Eugen Podsypalnikov5-May-10 19:12
Eugen Podsypalnikov5-May-10 19:12 
Questionunknown letters printing Pin
Game-point4-May-10 18:06
Game-point4-May-10 18:06 
AnswerRe: unknown letters printing Pin
David Crow4-May-10 18:09
David Crow4-May-10 18:09 
QuestionBoost Filesystem copy_file() Pin
RobNO4-May-10 17:50
professionalRobNO4-May-10 17:50 
Hey everyone! I am wondering why this code keeps throwing me exceptions and how I can fix this problem.
#include <boost/filesystem.hpp>
namespace bf = boost::filesystem;
#include <string>
#include <iostream>
using namespace std;
string e_string = "Error";
int main()
{
	string fileName = "C:\\Downloads\\Hits from the Bow\\01 This Time You're Gonna Get it Dir.mp3";
	string destination = "c:\\downloads\\test" ;
	bf::path fileCopied(fileName);
	bf::path fileCopiedDestination (destination);
	if (!bf::exists(fileCopied) )
	{
		cerr << e_string;
	}
	 if (!bf::exists(fileCopiedDestination))
		{
		cerr << e_string;
	}
	try
	{
		bf::copy_file(fileCopied,fileCopiedDestination);
	}
	catch(std::exception e)
	{
		cout << e.what();
	}
}

Thanks for your time Smile | :)
AnswerRe: Boost Filesystem copy_file() Pin
RobNO4-May-10 18:32
professionalRobNO4-May-10 18:32 
GeneralRe: Boost Filesystem copy_file() Pin
RobNO4-May-10 18:34
professionalRobNO4-May-10 18:34 
GeneralRe: Boost Filesystem copy_file() Pin
Richard MacCutchan4-May-10 21:32
mveRichard MacCutchan4-May-10 21:32 
QuestionFull text search using Patricia tree with meta-data on a song database Pin
C++AsASecondLanguage4-May-10 12:06
C++AsASecondLanguage4-May-10 12:06 
QuestionTwo way communication between parent and child processes... Pin
DamienCurr4-May-10 9:10
DamienCurr4-May-10 9:10 
AnswerRe: Two way communication between parent and child processes... Pin
«_Superman_»4-May-10 10:41
professional«_Superman_»4-May-10 10:41 
GeneralRe: Two way communication between parent and child processes... Pin
DamienCurr4-May-10 11:12
DamienCurr4-May-10 11:12 
Generalcode in C .... Pin
slamdunk12345674-May-10 8:57
slamdunk12345674-May-10 8:57 
GeneralRe: code in C .... Pin
Chris Losinger4-May-10 9:08
professionalChris Losinger4-May-10 9:08 
GeneralRe: code in C .... PinPopular
CPallini4-May-10 9:09
mveCPallini4-May-10 9:09 
GeneralRe: code in C .... Pin
Rajesh R Subramanian4-May-10 9:37
professionalRajesh R Subramanian4-May-10 9:37 
GeneralRe: code in C .... Pin
CPallini4-May-10 11:56
mveCPallini4-May-10 11:56 
GeneralRe: code in C .... Pin
Maximilien4-May-10 9:41
Maximilien4-May-10 9:41 
JokeRe: code in C .... PinPopular
Richard MacCutchan4-May-10 10:33
mveRichard MacCutchan4-May-10 10:33 
JokeRe: code in C .... Pin
«_Superman_»4-May-10 10:43
professional«_Superman_»4-May-10 10:43 
GeneralRe: code in C .... Pin
LittleYellowBird4-May-10 22:25
LittleYellowBird4-May-10 22:25 
GeneralRe: code in C .... Pin
Michael Schubert5-May-10 1:21
Michael Schubert5-May-10 1:21 

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.