1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[メモ] cantools の サンプルコード dbclsを VCでビルド

Posted at

概要

環境

  • Windows 7 64ビット
  • Visual Studio 2015 Update 3

手順

  1. git clone https://github.com/mt08xx/cantools_canls_vc.git
  2. cantools_canls_vc.slnをダブルクリックして、VCを開く
  3. (構成をえらんで) CTRL+SHIFT+B で、ビルド

## その他

...
#if 0
#include
#else
#include
char path_buffer[_MAX_PATH];
char drive[_MAX_DRIVE];
char dir[_MAX_DIR];
char fname[_MAX_FNAME];
char ext[_MAX_EXT];

char *dirname(char *path) {
    _splitpath(path, drive, dir, fname, ext);
    return dir;

}
char *basename(char *path) {
_splitpath(path, drive, dir, fname, ext);
return fname;
}
#endif
...

- `dbcls`なのに、`canls`で作業してたな...
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?