Saturday, June 6, 2015

Removing Extension of a File Name C++

Quite practical one:
int lastindex = fullname.find_last_of("."); 
string rawname = fullname.substr(0, lastindex); 

No comments:

Post a Comment

Setting Jupyter and Tensorflow on Google Cloud Platform

https://towardsdatascience.com/running-jupyter-notebook-in-google-cloud-platform-in-15-min-61e16da34d52