/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

ryanbigg.com
| | www.brianbondy.com
3.0 parsecs away

Travel
| | [AI summary] A technical explanation clarifying the fundamental differences between C++ arrays and pointers, including size distinctions and syntax examples.
| | qsantos.fr
6.8 parsecs away

Travel
| | This article will quickly explain the Rust types [T; N], &[T; N], &[T], Vec, &Vec with C code, and what the str, &str, String, OsString and CString add. Arrays and Slices Rust C [T; N] (array)Example: [i32; 100]Allocated on the stack T[N]Example: int[100]Allocated on the stack &[T; N] (array reference)Example: &[i32; 100]N is tracked at ... Continue reading Rust Strings for C Programmers
| | grosser.it
5.8 parsecs away

Travel
| | Diff is defined on Set, but not on Array, so we patch it in... (thanks to reto) Usage [1,2] ^ [2,3,4] == [1,3,4] Code class Array def ^(other) result = dup other.each{|e| result.include?(e) result.delete(e) : result.push(e) } result end unless method_defined?(:^) alias diff ^ unless method_defined?(:diff) end puts ([] ^ [1]).inspect # [1] puts...
| | vitalyobukhov.wordpress.com
13.5 parsecs away

Travel
| Visit the post for more.