2018-12-17から1日間の記事一覧

VisualStudio Nugetパッケージの管理から.nupkgファイル経由で追加する方法

VisualStudio Nugetパッケージの管理開いて 右の小さい歯車ボタンクリック Nugetパッケージパッケージマネージャーの中のパッケージソース 選んで、+ボタンで項目追加。 ソースのとこの...ボタン押して.nupkgファイルのあるフォルダを選択する ネタ元 https…

Clibor Ctrl+Cでコピーしたテキストの履歴を保持してくれる優れもの

Ctrl+Cでコピーしたテキストの履歴を保持してくれる優れもの。 大昔にコピーしたテキストもctrlキーを2回押せば履歴から選んでペーストができる https://www.vector.co.jp/soft/winnt/util/se472890.html ネタ元 全人類がPCにインストールすべきソフト第一位…

C++でファイルの存在確認

CPP

PathFileExists() #include<Windows.h> #include<iostream> #include<Shlwapi.h> #pragma comment(lib, "Shlwapi.lib") int main(int argc, char* argv[]) { char path[] = ""; if (PathFileExists(path)) { std::cout << "file exists." << std::endl; } else { std::cout << "file doesn't </shlwapi.h></iostream></windows.h>…

C++ 文字列の暗号化/復号化

CPP

Win32API の Cryptography Functions を利用 ネタ元 https://www.hiramine.com/programming/windows/encryptdecryptstring.html コード // EncryptDecryptCR4.cpp : コンソール アプリケーションのエントリ ポイントを定義します。 // #include "stdafx.h" #…