summaryrefslogblamecommitdiff
path: root/hw2/include/util.h
blob: 2146464281b480e9e16322e049e522e3be4c38f4 (plain) (tree)


















                                                                    
/******************************************************************/
/* This file is part of the homework assignments for CSCI-427/527 */
/* at The College of William & Mary and authored by Pieter Peers. */
/* No part of this file, whether altered or in original form, can */
/* be distributed or used outside the context of CSCI-427/527     */
/* without consent of either the College of William & Mary or     */
/* Pieter Peers.                                                  */
/******************************************************************/

#ifndef _UTIL_H_
#define _UTIL_H_

#include <string>

std::string getFilename(const std::string& path);
std::string getExtension(const std::string& path);
std::string getDirectory(const std::string& path);

#endif /* _UTIL_H_ */