MByD

Israel

Age: 28

Make and break software for living.

Email: mbyd.so@gmail.com

2d
answered circular dependency between Dentry and superblock structure in linux kernel
2d
awarded Nice Answer
Apr
14
awarded Enlightened
Apr
13
awarded Guru
Mar
29
reviewed Reject suggested edit on Why static array working
Mar
18
comment strncpy() random result
@alk - If you dig into the execution itself, it might not be the type of the pointer that matters, though the type of the pointer will probably not exist anymore in the execution stage. But C as a language has rules, and one of them is that const char * is not char *, and that's what matters when writing C, and it doesn't matter if the const char * points to constant memory or not. It's as simple as that. String literal is just an instance of const memory for that matter.
Mar
18
comment strncpy() random result
@FredLarson - true, but it's actually "you should not assign const char * to char *". One cannot simply distinguish constant memory areas...
Mar
18
answered strncpy() random result
Mar
18
answered Error in Android Project Name
Mar
17
comment Why doesn't the JButtons appear until i change the dimensions of my Screen;
Calling revalidate on the same component should suffice (as described in the docs)
Mar
17
answered Why doesn't the JButtons appear until i change the dimensions of my Screen;
Mar
17
answered Observable error
Mar
14
answered single malloc for creating 2 structs
Mar
3
comment Create field of predefined type with string and value, java
Take a look at Maps. it will not create a variable, but will give you the desired functionality.
Mar
3
answered MIPS Calculator
Mar
3
comment Why am I unable to assign views within an array to a listener?
I'm talking about the for loop the encloses the switch (where you assign objects to the array...)
Mar
3
answered Why am I unable to assign views within an array to a listener?
Feb
28
awarded Good Answer
Feb
28
comment how to resolve the "Error in method main. java.lang.ExceptionInInitializerError"?
I have never used WebAppAccess before, only addressed your problem which have nothing to do with this specific class. Check the documentation how to get a WebAppAccess instance..
Feb
28
answered loop values are not updated outside of the loop in C++
1 2 3 4 5