Questions tagged [style]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
677 views

Memory allocation: recommended practices

I'm rambling a little with hacker 2 (the passwords') and, in the meantime, gained some insight about pointers, mem-alloc, 'valgrind', etc... It's been a truly great, challenging experience. But, ...
0
votes
1answer
184 views

How should I wrap lines on long conditions?

What's the recommended and / or required way to wrap the condition on an if block? For example, I have this block: if ((islower(p[i]) && encrypted > 'z') || (isupper(p[i]) && ...