Problems with unwinding a segue

Having a real issue with this. I have now managed to transfer my label data across a segue and display it on a new view controller. Thank you to all of those who helped with this. For this I used the following code: override func prepare(for segue: UIStoryboardSegue, sender: Any?) { let BMI_Result = segue.destination… Read More Problems with unwinding a segue

My code runs fine with test A or test B commented out, but both are run the program crashes

#include <stdio.h> #include <stdlib.h> #include <inttypes.h> #include <math.h> void ip2array(const char* ip_str, uint8_t* ip_int) { int i = 0; char* p = (char*)ip_str; while (*p != ‘\0’) { ip_int[i++] = (uint8_t)strtoul(p, &p, 10); p++; } } uint32_t ips_between (const char* start, const char* end) { uint8_t ip[2][4]; ip2array(start, ip[0]); ip2array(end, ip[1]); uint32_t total = 0;… Read More My code runs fine with test A or test B commented out, but both are run the program crashes