with cifs-utility in ubuntu, it's easy to access windows shared directory
sudo mount -t cifs -o username=xxx,pass=xxx,vers=2.1 //10.61.16.223/HiVaProfiler /media/code/
#include "Base.h" | |
Base::Base() : | |
IsRegistered_(false) | |
{ } | |
Base::Base(bool isRegistered) : | |
IsRegistered_(isRegistered) | |
{ } |
msys2 vs msys vs msysgit | |
MinGW doesn't provide a linux-like environment, that is MSYS(2) and/or Cygwin | |
Cygwin is an attempt to create a complete UNIX/POSIX environment on Windows. | |
MinGW is a C/C++ compiler suite which allows you to create Windows executables - you only | |
need the normal MSVC runtimes, which are part of any normal Microsoft Windows installation. | |
MinGW provides headers and libraries so that GCC (a compiler suite, | |
not just a "unix/linux compiler") can be built and used against the Windows C runtime. |
#include <iostream> | |
#include <string> | |
#include <initializer_list> | |
class Log: public std::ostringstream | |
{ | |
public: | |
Log() = default; |
with cifs-utility in ubuntu, it's easy to access windows shared directory
sudo mount -t cifs -o username=xxx,pass=xxx,vers=2.1 //10.61.16.223/HiVaProfiler /media/code/
``` | |
#include <string.h> | |
#include <memory> // for std::unique_ptr | |
#include <mutex> // for std::mutex | |
#include <iterator> | |
template <class T, class elem_type = class T::value_type> | |
class ring_iterator; // forward declaration | |
template <class T, size_t N> |
#include <stdio.h> | |
#include <string.h> | |
#include <sys/mman.h> | |
#include <unistd.h> | |
#include <thread> | |
#include <sys/mman.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
int main(void) { |
git config --global credential.helper osxkeychain
git config --global credential.helper store
then do some push/pull works.
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "nvToolsExt.h"
#include <thread>
int func(int a)
{
1, using clang 11.0 build gtest will prompt error : tuple not support | |
2, solve by cmake -DCMAKE_CXX_STANDARD=17 |