Download upstream/emscripten/test/cmake/stdproperty/main.cpp from arudradey/flst: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/arudradey/flst/resolve/main/upstream/emscripten/test/cmake/stdproperty/main.cpp
- Command line
-
hf download hf://arudradey/flst/upstream/emscripten/test/cmake/stdproperty/main.cpp
-
curl -L -o main.cpp https://huggingface.co/arudradey/flst/resolve/main/upstream/emscripten/test/cmake/stdproperty/main.cpp
427 Bytes
| // Copyright 2016 The Emscripten Authors. All rights reserved. | |
| // Emscripten is available under two separate licenses, the MIT license and the | |
| // University of Illinois/NCSA Open Source License. Both these licenses can be | |
| // found in the LICENSE file. | |
| struct vector2d{ | |
| int x,y,z; | |
| }; | |
| int main(int argc, char * argv[]) | |
| { | |
| vector2d v{1,2,3}; | |
| std::cout << v.x << "," << v.y << "," << v.z << std::endl; | |
| } | |