|
You are here |
dlang.org | ||
| | | | |
zig.guide
|
|
| | | | | Slices can be thought of many-item pointers ([*]T) with a length (usize). | |
| | | | |
ciesie.com
|
|
| | | | | Today I've played around with Zig, the new, hip (is it hip?) programming language. I find it pretty neat. I'm going to walk you (and myself) through my first, very short, piece of code. Below you can see the entirety of it. It basically allocates a 2MB buffer and reads a file into it... Yep, not particularly impressive, but this is a judgment free, learning zone, ok?! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 const std = @import("std"); const warn = @import("std"). | |
| | | | |
www.catch22.net
|
|
| | | | | Presented here are a collection of sourcecode snippets and mini-projects. All downloads are plain Win32 C and C++, and compile under Microsoft Visual Studio 6.0. Code Snippets A collection of C and C++ programming snippets organised into categories of functionality. | |
| | | | |
www.uraimo.com
|
|
| | | Now that Swift is available on Linux and other OSes, there are even more situations where you could need to interact with C code from your Swift 3 application. This article will hopefully shed some light on the most non-obvious details and give you some practical examples and tips of how to interact with C APIs like the C standard library. | ||