Skip to main content
6 events
when toggle format what by license comment
Feb 7, 2019 at 8:02 vote accept faedx
Feb 7, 2019 at 3:38 comment added curiouskiwi Glad to hear @faedx. Can you please accept my answer to remove this from the open queue? thanks!
Feb 6, 2019 at 21:53 comment added faedx Thanks, problem solved! I think you were right
Jan 19, 2019 at 21:52 comment added curiouskiwi Well, I would suggest that you've really overcomplicated the problem.
Jan 19, 2019 at 18:55 comment added faedx Thanks curiouskiwi. I've just tried to apply the type char to out and modified out assignments (out[i] = (char)&c_i; and out[i] = lett_x), but I'm still getting an error: test1.c:77:12: error: incompatible pointer to integer conversion returning 'char [n]' from a function with result type 'int' [-Werror,-Wint-conversion] return out; I'm starting to think this kind of returning (a char or either a string) is somehow problematic... If I print 'out' (for each i) I'm getting the program works, (it shows ciphed letters), but if I try to return out I'm getting an error...
Jan 18, 2019 at 22:41 history answered curiouskiwi CC BY-SA 4.0