? Trouble freeing memory

I have a struc of 3 void*:typedef struct ck{void * arg1;void * arg2;void * arg3;} argCookie;later on I instanciate argCookie:argCookie myCookie;and then I assing some values to it's arguments: unsigne
 ? Seg fault dynamically allocated 2d array

I have a homework assignment where I have to dynamically allocate a 2d array and i am getting seg faults when my arrays are long and skinny, such as 2x8, and the problem only occurs when certain value
 ? Possible to create statically allocated array in swift?

I want to create a struct in swift that has a small fixed number of values (say 16 floats) as instance data. It is required that this struct not store these values on the heap, so that the address of
 ? Dynamic printing array

I have a workbook with 50+ worksheets each being a different business division. I want to set up numerous macros to print combinations of these sheets based on the defined group that they are in (e.g.
 ? Convert buffer (&[u8]) to integer (i32)

How can I convert a slice of bytes to an integer? I am reading raw data from a file and I want to convert it to an integer.fn main() { let buf: &[u8] = &[0, 0, 0, 1]; let num = slice_to_
 ? TableView with all the Idioms

I have a tableView and I would like to show to the user a list of the languages, and the user can select one or more spoken languages. Is there a way for swift to show a list of it? In yourTableVie
 ? Remove a field from array element in mongodb

I have below document in MongoDB(2.4.5){ "_id" : 235399, "casts" : { "crew" : [ { "_id" : 1186343, "withBase" : true, "department"
 ? Incrementing: x++ vs x += 1

I've read that many developers use x += 1 instead of x++ for clarity. I understand that x++ can be ambiguous for new developers and that x += 1 is always more clear, but is there any difference in ef
 ? Incrementing: x++ vs x += 1

I've read that many developers use x += 1 instead of x++ for clarity. I understand that x++ can be ambiguous for new developers and that x += 1 is always more clear, but is there any difference in ef
 ? Incrementing: x++ vs x += 1

I've read that many developers use x += 1 instead of x++ for clarity. I understand that x++ can be ambiguous for new developers and that x += 1 is always more clear, but is there any difference in ef
 ? Incrementing: x++ vs x += 1

I've read that many developers use x += 1 instead of x++ for clarity. I understand that x++ can be ambiguous for new developers and that x += 1 is always more clear, but is there any difference in ef
 ? is any of array items contained in a string

I have a keywords list and a blacklist.I want to delete all keywords that contain any of blacklist item.At the moment Im doing it this way:my @keywords = ( 'some good keyword', 'some other good keywor
 ? How to create array of arrays from all variables in a module

I have a number of variables declared in a module such asmodule testuse othermod, only: ninteger, dimension(n) :: var0real, dimension(n) :: var1real, dimension(n) :: var2..... real, dimension(n) :: va
 ? Matlab - Nested loop for certain column

I have an dataset array M of size 500x5, is there any way I can use a nested for loop to run through a particular column of the array? If so how would I go about doing that? I want the if statement in
 ? how to write this if else condition statement in MATLAB?

for each pixel, do if R>90 & R>G & R>B classify the pixel as **Healthy** else classify the pixel as non-healthy I am trying to implement an algorithm which
 ? Optimize algorithm arrange an array with items with even-indexs are on left side of array, items with odd-indexs are on right side of array

Requirement: using recursion, size of array is an even number. For example: 0...1...2...3...4...5 (order of index)a...b...c...d...e...f (array before arrange)a...c...e...b...d...f (array after arrange

Page 1 of 300  |  Show More Pages:  Top Prev Next Last