Name: Anonymous 2013-11-19 12:18
Ask /prog/ anything.
Although don't expect an answer or even a good one.
Also, keep it /prog/ related.
Although don't expect an answer or even a good one.
Also, keep it /prog/ related.
oh no! forced indentation of code! what do you mean everyone already writes code like that because it is the most legible way to write in a statically scoped block structured language? MY FREEDOMS
why do you think it's been so widely adopted by software devs, system administrators, and the scientific community?
software devsYou mean programmers you corporate retard?
being used for web work isn't serious, regardless of it being used by amazon or google)
StringBuilder
is at least on the right track, in that it is an object structure that could allow efficient modifications to parts of the string (including growing/shrinking) while also making an attempt to keep memory usage down.eval
function/statement/annotation/type in a Touring-complete type system is potentially vulnerable to code injection. eval
more common than they tend to be in, say, Perl. Combine that with the stellar reputation of PHP coders and your answer becomes clear.
#include <stdio.h>
struct {
unsigned int a : 1;
int b : 1;
unsigned int c : 2;
int d : 2;
} test;
int main(void) {
int i;
test.a = test.b = test.c = test.d = 0;
for(i = 0; i < 15; i++)
printf("%d:%d:%d:%d\n", test.a++,test.b++,test.c++,test.d++);
return(0);
}
typedef struct unit {
char *name;
unit **nodes;
double *factors;
} unit;