This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- ( void )actionSheet: ( UIActionSheet * )actionSheet clickedButtonAtIndex: ( NSInteger )buttonIndex | |
{ | |
NSLog( @"%i", buttonIndex ); | |
if( buttonIndex == 0 ) | |
{ | |
SettingsView * settings = [ [ SettingsView alloc ] initWithNibName: @"SettingsView" bundle: nil ]; | |
NSLog( @"%@", settings ); | |
NSLog( @"%@", self.navigationController ); | |
[ self.navigationController pushViewController: settings animated: YES ]; | |
[ settings release ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int * x; | |
int * y; | |
int z; | |
x = ( int * )calloc( 10, sizeof( int ) ); | |
y = &( x[ 5 ] ); | |
x = ( int * )realloc( x, 20 * sizeof( int ) ); | |
z = *( y ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Girlfriend/BSD | |
Login: love | |
Password: | |
Login incorrect | |
Login: boyfriend | |
Password: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Wall | |
-Wbad-function-cast | |
-Wcast-align | |
-Wconversion | |
-Wdeclaration-after-statement | |
-Wdeprecated-implementations | |
-Wextra | |
-Wfloat-equal | |
-Wformat=2 | |
-Wformat-nonliteral |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define XSTR(s) STR(s) | |
#define STR(s) #s | |
int main( void ) | |
{ | |
printf | |
( | |
"\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BITS 16 | |
before_big_bang: | |
cli | |
mov ax, 0x07C0 | |
mov ds, ax | |
mov es, ax |
NewerOlder