CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 17

Threaded View

  1. #1
    Join Date
    Sep 2011
    Posts
    197

    [RESOLVED] NullPointer/warnings

    why does the toCharArray throw nullpointer?
    Code:
    String allTxt;
    allTxt = br.readLine();
    char[] araFull = allTxt.toCharArray();
    Last edited by kolt007; October 31st, 2011 at 05:51 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured