filenameOperations.cpp
void filenameOperations::parseFilename() {

	std::vector<std::string> arr = split_string(fullPath, '/');
	int arrSize = arr.size();
	
	//we now have all of our arguments, need to find the extension of the last one now.
	std::vector<std::string> extensionArr = split_string(arr[arrSize - 1], '.');
	filename = extensionArr[0];
	extension = extensionArr[1];
	printf("Reading image file type: %s\n", extension);
}
/*
	Perform operations on the object filePath in order 
	to break down the file path further into designated parts.
*/
Perform operations on the object filePath in order
to break down the file path further into designated parts.
Perform operations on the object filePath in order to break down the file path further into designated parts .
void filenameOperations::parseFilename() {
	std::vector<std::string> arr = split_string(fullPath, '/');
	int arrSize = arr.size();
	std::vector<std::string> extensionArr = split_string(arr[arrSize - 1], '.');
	filename = extensionArr[0];
	extension = extensionArr[1];
	printf("Reading image file type: %s\n", extension);
}
void filenameOperations :: parseFilename ( ) { std :: vector < std :: string > arr = split_string ( fullPath , ' ' ) ; int arrSize = arr . size ( ) ; std :: vector < std :: string > extensionArr = split_string ( arr [ arrSize - 1 ] , ' ' ) ; filename = extensionArr [ 0 ] ; extension = extensionArr [ 1 ] ; printf ( " \n " , extension ) ; }
Perform operations on the object filePath in order
to break down the file path further into designated parts.
Perform operations on the object filePath in order to break down the file path further into designated parts .
//we now have all of our arguments, need to find the extension of the last one now.
