ls -w1 */ - show only subdirectories in current directory (*/) and display in 1 column (-w1)
ls -c - sort by date
ls -c - sort by date
static_cast между указателями корректно, только если один из указателей - это указатель на void или если это приведение между объектами классов, где один класс является наследником другого. То есть для приведения к какому-либо типу от void*, который возвращает malloc, следует использовать static_cast.int * p = static_cast<int*>(malloc(100));
Если приведение не удалось, возникнет ошибка на этапе компиляции. Однако, если это приведение между указателями на объекты классов вниз по иерархии и оно не удалось, результат операции undefined. То есть, возможно такое приведение: static_cast<Derived*>(pBase), даже если pBase не указывает наDerived, но программа при этом будет вести себя странно.trunk
- project1
- project2
-subdir1
-subdir2
-subdir3
We want to copy only subdir2 to a branch /branches/branch1 with saving all the structure of projects.branches/branch1
- project1
- project2
-subdir2
We want to copy only subdir2 to a branch /branches/branch1 with saving all the structure of projects.svn cp --parents ./project2/subdir2 http://repo.url/branches/branch1/project2/subdir2
or
svn cp --parents http://<svn_path>/trunk/project2/subdir2 <working copy path>/branches/branch1/project2/subdir2
Subversion creates all intermediate directories.ffmpeg -pix_fmt yuv420p -s 1920x1088 -r 1 -i input_video.yuv -r 1 -ss 160 -frames 5 output_sequence_%d.png