IPAD must-haves. And fun-to-haves.

Brighten your iPad with a colorful cover, stream to your TV, download pictures from your digital camera, and more. There’s already so much you can do with iPad and iPad mini

Apple Wireless Keyboard

The incredibly thin Apple Wireless Keyboard uses Bluetooth technology, which makes it compatible with iPad

Apple unveils iPad mini: ‘Thin as a pencil, light as paper’

iPad inspires creativity and hands-on learning with features you won’t find in any other educational tool

Lightning connector and FaceTime HD camera

Apple announces 4th generation iPad packing an A6X CPU

Pages

Showing posts with label handling. Show all posts
Showing posts with label handling. Show all posts

Saturday, February 23, 2013

C file handling on xcode 3.2.3

Hi all

I am opening a file that does not exists.

But after i got message File does not exists,

gdb does not stop.What should i do?

Suggestions are welcome.

Thanks.

 

my program:

 

int main (int argc, const char * argv[])

{

          FILE* fd;

          fd = fopen("abc123.txt", "r");

 

          if(NULL == fd)

          {

  printf("File does not exists\n");

  return -1;

          }

printf("File Opened\n");

return 0;

}


And here is the output:

 

Not a file

 

Debugger stopped.

Program exited with status value:255.The program being debugged is not being run.

The program being debugged is not being run.

(gdb)


View the original article here

Thursday, February 21, 2013

C file handling on xcode 3.2.3

Hi all

I am opening a file that does not exists.

But after i got message File does not exists,

gdb does not stop.What should i do?

Suggestions are welcome.

Thanks.

 

my program:

 

int main (int argc, const char * argv[])

{

          FILE* fd;

          fd = fopen("abc123.txt", "r");

 

          if(NULL == fd)

          {

  printf("File does not exists\n");

  return -1;

          }

printf("File Opened\n");

return 0;

}


And here is the output:

 

Not a file

 

Debugger stopped.

Program exited with status value:255.The program being debugged is not being run.

The program being debugged is not being run.

(gdb)


View the original article here