title: Unable to include iostream in android why?
body: <p>Have installed android-ndk-r7, and trying to compile .cpp file.</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  int main ( int argc, char ** argv)
  {
  
       cout &lt;&lt;"Hello World.."&lt;&lt;endl;
  
  } 
  </code></pre>
  
  <p>Executed following command:
  Got into jni folder, and executed </p>
  
  <pre><code>#ndk-build
  </code></pre>
  
  <p>Got following error:</p>
  
  <pre><code>/home/jelari/Desktop/androidDevelopment/android-ndk-r7/DCF/jni/test1.cpp:1:20: error: iostream: No such file or directory
  /home/jelari/Desktop/androidDevelopment/android-ndk-r7/DCF/jni/test1.cpp: In function 'int main(int, char**)':
  /home/jelari/Desktop/androidDevelopment/android-ndk-r7/DCF/jni/test1.cpp:8: error: 'cout' was not declared in this scope
  /home/jelari/Desktop/androidDevelopment/android-ndk-r7/DCF/jni/test1.cpp:8: error: 'endl' was not declared in this scope
  make: *** [/home/jelari/Desktop/androidDevelopment/android-ndk-r7/DCF/obj/local/armeabi/objs/test1/test1.o] Error 1
  </code></pre>
  
  <p>What am i doing wrong ?</p>
  
  <p>My Android.mk file looks like:</p>
  
  <pre><code># A simple test for the minimal standard C++ library
  #
  
  LOCAL_PATH := $(call my-dir)
  
  include $(CLEAR_VARS)
  LOCAL_MODULE := test1
  LOCAL_SRC_FILES := test1.cpp
  include $(BUILD_EXECUTABLE)
  </code></pre>
  
  <p>and Application.mk file looks like:</p>
  
  <pre><code># Build both ARMv5TE and ARMv7-A machine code.
  APP_ABI := armeabi armeabi-v7a
  </code></pre>
  
  <p>Kindly point out the mistake?</p>