Inside a folder called Resources I have a text file called "hello.txt". How do I read it using blackberry 10 native sdk using cpp. I found something like using a FileConnection. But its showing FileConnection is not declared!!. Is there any header file required?? Please mind that I am using cpp:
FileConnection fc = (FileConnection) Connector.open("Resources/hello.txt", Connector.READ);
How do I do this?