Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8772441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:01:55+00:00 2026-06-13T18:01:55+00:00

I wrote a small Hello, World! program in C and here it is: #include

  • 0

I wrote a small Hello, World! program in C and here it is:

#include <stdio.h>

int main()
{
    printf(“ Hello, World\n”);
    return 1;
}

Here is the make file

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE    := cppTestProj
LOCAL_SRC_FILES := LOCAL_SRC_FILES := helloworld.c

include $(BUILD_SHARED_LIBRARY)

When I tried executing the same from command prompt using ndk-build.cmd, I was getting some long unknown errors of this kind:

jni/helloworld.c:59:1: error: stray '\277' in program
jni/helloworld.c:59:1: error: stray '\271' in program
jni/helloworld.c:59:1: error: stray '\362' in program
jni/helloworld.c:59:1: error: stray '\224' in program
jni/helloworld.c:59:1: error: stray '\34' in program
jni/helloworld.c:59:1: error: stray '\213' in program
jni/helloworld.c:59:1: error: stray '\7' in program
jni/helloworld.c:59:1: error: stray '\35' in program
jni/helloworld.c:59:1: error: stray '\310' in program
jni/helloworld.c:59:1: error: stray '\341' in program
jni/helloworld.c:59:1: error: stray '\24' in program
jni/helloworld.c:59:1: error: stray '\330' in program
jni/helloworld.c:59:1: error: stray '\370' in program
jni/helloworld.c:59:1: error: stray '\271' in program
jni/helloworld.c:59:1: error: stray '\220' in program
jni/helloworld.c:59:1: error: stray '\203' in program
jni/helloworld.c:59:1: error: stray '\223' in program
jni/helloworld.c:59:1: error: stray '\275' in program
jni/helloworld.c:59:1: error: stray '\23' in program
jni/helloworld.c:59:1: error: stray '\302' in program
jni/helloworld.c:59:1: error: stray '\214' in program
jni/helloworld.c:59:1: error: stray '\310' in program
jni/helloworld.c:59:1: error: stray '\1' in program
jni/helloworld.c:59:1: error: stray '\252' in program
jni/helloworld.c:59:1: error: stray '\261' in program
jni/helloworld.c:59:1: error: stray '\4' in program
jni/helloworld.c:59:1: error: stray '\326' in program
jni/helloworld.c:59:1: error: stray '\255' in program
jni/helloworld.c:59:1: error: stray '\200' in program
jni/helloworld.c:59:1: error: stray '\310' in program
jni/helloworld.c:59:1: error: stray '\242' in program
jni/helloworld.c:59:1: error: stray '\373' in program
jni/helloworld.c:59:1: error: stray '\235' in program
jni/helloworld.c:59:1: error: stray '\377' in program
jni/helloworld.c:59:1: error: stray '\24' in program
jni/helloworld.c:59:1: error: stray '\366' in program
jni/helloworld.c:59:1: error: stray '\17' in program
jni/helloworld.c:59:1: error: stray '\324' in program
jni/helloworld.c:59:105: warning: null character(s) ignored [enabled by default]

jni/helloworld.c:59:1: error: stray '\355' in program
jni/helloworld.c:59:1: error: stray '\277' in program
jni/helloworld.c:59:1: error: stray '\267' in program
jni/helloworld.c:59:1: error: stray '\363' in program
jni/helloworld.c:59:1: error: stray '\274' in program
jni/helloworld.c:59:1: error: stray '\5' in program
jni/helloworld.c:59:1: error: stray '\177' in program
jni/helloworld.c:59:1: error: stray '\335' in program
jni/helloworld.c:59:1: error: stray '\377' in program
jni/helloworld.c:60:1: error: stray '\321' in program
jni/helloworld.c:60:1: error: stray '\345' in program
jni/helloworld.c:60:1: error: stray '\344' in program
jni/helloworld.c:60:87: warning: null character(s) ignored [enabled by default]
jni/helloworld.c:60:1: error: stray '\353' in program
jni/helloworld.c:60:1: error: stray '\202' in program
jni/helloworld.c:60:1: error: stray '\216' in program
jni/helloworld.c:60:1: error: stray '\255' in program
jni/helloworld.c:60:1: error: stray '\226' in program
jni/helloworld.c:60:1: error: stray '\371' in program
jni/helloworld.c:60:1: error: stray '\272' in program
jni/helloworld.c:60:1: error: stray '\211' in program
jni/helloworld.c:60:1: error: stray '`' in program
jni/helloworld.c:60:1: error: stray '\215' in program
jni/helloworld.c:60:1: error: stray '\21' in program
jni/helloworld.c:60:1: error: stray '\254' in program
jni/helloworld.c:60:1: error: stray '\226' in program
jni/helloworld.c:60:1: error: stray '\252' in program
jni/helloworld.c:60:1: error: stray '\321' in program
jni/helloworld.c:60:1: error: stray '\36' in program
jni/helloworld.c:60:1: error: stray '\243' in program
jni/helloworld.c:60:1: error: stray '\252' in program
jni/helloworld.c:60:1: error: stray '\246' in program
jni/helloworld.c:60:1: error: stray '\256' in program
jni/helloworld.c:60:1: error: stray '\233' in program
jni/helloworld.c:60:1: error: stray '\220' in program
jni/helloworld.c:60:1: error: stray '\377' in program
jni/helloworld.c:60:1: error: stray '\22' in program
jni/helloworld.c:60:1: error: stray '@' in program
jni/helloworld.c:60:1: error: stray '\314' in program
jni/helloworld.c:60:1: error: stray '\34' in program
jni/helloworld.c:60:1: error: stray '\361' in program
jni/helloworld.c:60:1: error: stray '\200' in program
jni/helloworld.c:60:1: error: stray '\306' in program
jni/helloworld.c:60:1: error: stray '\21' in program
jni/helloworld.c:60:1: error: stray '\4' in program
jni/helloworld.c:60:1: error: stray '\34' in program
jni/helloworld.c:60:1: error: stray '\361' in program
jni/helloworld.c:60:1: error: stray '\200' in program
jni/helloworld.c:60:1: error: stray '\206' in program
jni/helloworld.c:60:1: error: stray '\213' in program
jni/helloworld.c:60:1: error: stray '\361' in program
jni/helloworld.c:60:1: error: stray '\260' in program
jni/helloworld.c:60:1: error: stray '\310' in program
jni/helloworld.c:60:1: error: stray '\332' in program
jni/helloworld.c:60:1: error: stray '\340' in program
jni/helloworld.c:60:1: error: stray '\265' in program
jni/helloworld.c:60:1: error: stray '\336' in program
jni/helloworld.c:60:1: error: stray '\10' in program
jni/helloworld.c:60:1: error: stray '\20' in program
jni/helloworld.c:60:1: error: stray '\274' in program
jni/helloworld.c:60:1: error: stray '\371' in program
jni/helloworld.c:60:1: error: stray '\337' in program
jni/helloworld.c:60:1: error: stray '\203' in program
jni/helloworld.c:60:1: error: stray '\252' in program
jni/helloworld.c:60:1: error: stray '\342' in program
jni/helloworld.c:60:1: error: stray '\215' in program
jni/helloworld.c:60:165: warning: null character(s) ignored [enabled by default]

jni/helloworld.c:60:1: error: stray '\221' in program
jni/helloworld.c:60:1: error: stray '\265' in program
jni/helloworld.c:60:1: error: stray '\301' in program
jni/helloworld.c:60:1: error: stray '\251' in program
jni/helloworld.c:60:1: error: stray '\361' in program
jni/helloworld.c:60:1: error: stray '\243' in program
jni/helloworld.c:60:1: error: stray '\262' in program
jni/helloworld.c:60:1: error: stray '\356' in program
jni/helloworld.c:60:1: error: stray '\201' in program
jni/helloworld.c:60:1: error: stray '\225' in program
jni/helloworld.c:60:1: error: stray '\356' in program
jni/helloworld.c:60:1: error: stray '\20' in program
jni/helloworld.c:60:1: error: stray '\4' in program
jni/helloworld.c:60:1: error: stray '\205' in program
jni/helloworld.c:60:1: error: stray '\34' in program
jni/helloworld.c:60:1: error: stray '\240' in program
jni/helloworld.c:60:1: error: stray '\246' in program
jni/helloworld.c:60:1: error: stray '#' in program
jni/helloworld.c:60:1: error: stray '\344' in program
jni/helloworld.c:60:1: error: stray '\350' in program
jni/helloworld.c:60:1: error: stray '\264' in program
jni/helloworld.c:60:1: error: stray '\211' in program
jni/helloworld.c:60:1: error: stray '\202' in program
jni/helloworld.c:60:1: error: stray '\5' in program
jni/helloworld.c:60:1: error: stray '\257' in program
jni/helloworld.c:60:1: error: stray '\241' in program
jni/helloworld.c:60:1: error: stray '\306' in program
jni/helloworld.c:60:1: error: stray '\362' in program
jni/helloworld.c:60:1: error: stray '\207' in program
jni/helloworld.c:60:1: error: stray '`' in program
jni/helloworld.c:60:1: error: stray '\215' in program
jni/helloworld.c:60:1: error: stray '#' in program
jni/helloworld.c:60:1: error: stray '\336' in program
jni/helloworld.c:60:1: error: stray '\10' in program
jni/helloworld.c:60:1: error: stray '\320' in program
jni/helloworld.c:60:1: error: stray '\342' in program
jni/helloworld.c:60:1: error: stray '\215' in program
jni/helloworld.c:60:216: warning: null character(s) ignored [enabled by default]

jni/helloworld.c:60:1: error: stray '\215' in program
jni/helloworld.c:60:1: error: stray '#' in program
jni/helloworld.c:60:1: error: stray '\336' in program
jni/helloworld.c:60:1: error: stray '\10' in program
jni/helloworld.c:60:1: error: stray '\320' in program
jni/helloworld.c:60:1: error: stray '\342' in program
jni/helloworld.c:60:1: error: stray '\215' in program
jni/helloworld.c:60:225: warning: null character(s) ignored [enabled by default]

jni/helloworld.c:60:1: error: stray '\215' in program
jni/helloworld.c:60:1: error: stray '#' in program
jni/helloworld.c:60:1: error: stray '\336' in program
jni/helloworld.c:60:1: error: stray '\10' in program
jni/helloworld.c:60:1: error: stray '\320' in program
jni/helloworld.c:60:1: error: stray '\361' in program
jni/helloworld.c:60:1: error: stray '\356' in program
jni/helloworld.c:60:1: error: stray '\207' in program
jni/helloworld.c:60:1: error: stray '\214' in program
jni/helloworld.c:60:236: warning: missing terminating ' character [enabled by de
fault]
jni/helloworld.c:60:1: error: missing terminating ' character
jni/helloworld.c:61:1: error: stray '\233' in program
jni/helloworld.c:61:1: error: stray '\361' in program
jni/helloworld.c:61:1: error: stray '\267' in program
jni/helloworld.c:61:1: error: stray '\213' in program
jni/helloworld.c:61:1: error: stray '\202' in program
jni/helloworld.c:61:1: error: stray '\16' in program
jni/helloworld.c:61:1: error: stray '\274' in program
jni/helloworld.c:61:1: error: stray '\21' in program
jni/helloworld.c:61:1: error: stray '\24' in program
jni/helloworld.c:61:1: error: stray '\202' in program
jni/helloworld.c:61:1: error: stray '\352' in program
jni/helloworld.c:61:1: error: stray '\16' in program
jni/helloworld.c:61:1: error: stray '\301' in program
jni/helloworld.c:61:22: warning: missing terminating " character [enabled by def
ault]
jni/helloworld.c:61:1: error: missing terminating " character
jni/helloworld.c:62:1: error: stray '\344' in program
jni/helloworld.c:62:1: error: stray '\267' in program
jni/helloworld.c:62:1: error: stray '\213' in program
jni/helloworld.c:62:1: error: stray '\202' in program
jni/helloworld.c:62:1: error: stray '\16' in program
jni/helloworld.c:62:1: error: stray '\274' in program
jni/helloworld.c:62:1: error: stray '\21' in program
jni/helloworld.c:62:1: error: stray '\24' in program
jni/helloworld.c:62:1: error: stray '\202' in program
jni/helloworld.c:62:1: error: stray '\352' in program
jni/helloworld.c:62:1: error: stray '\305' in program
jni/helloworld.c:62:1: error: stray '\33' in program
jni/helloworld.c:62:1: error: stray '\301' in program
jni/helloworld.c:62:22: warning: missing terminating " character [enabled by def
ault]
jni/helloworld.c:62:1: error: missing terminating " character
jni/helloworld.c:63:1: error: stray '\366' in program
jni/helloworld.c:63:1: error: stray '\234' in program
jni/helloworld.c:63:1: error: stray '\255' in program
jni/helloworld.c:63:1: error: stray '\212' in program
jni/helloworld.c:63:1: error: stray '\236' in program
jni/helloworld.c:63:1: error: stray '\322' in program
jni/helloworld.c:63:1: error: stray '\222' in program
jni/helloworld.c:63:1: error: stray '\4' in program
jni/helloworld.c:63:1: error: stray '\330' in program
jni/helloworld.c:63:1: error: stray '\6' in program
jni/helloworld.c:63:1: error: stray '\345' in program
jni/helloworld.c:63:1: error: stray '\251' in program
jni/helloworld.c:63:1: error: stray '\6' in program
jni/helloworld.c:63:19: error: invalid suffix "p" on integer constant
jni/helloworld.c:63:1: error: stray '\326' in program
jni/helloworld.c:63:1: error: stray '\22' in program
jni/helloworld.c:63:1: error: stray '\260' in program
jni/helloworld.c:63:1: error: stray '\230' in program
jni/helloworld.c:63:1: error: stray '\340' in program
jni/helloworld.c:63:1: error: stray '\276' in program
jni/helloworld.c:63:1: error: stray '\345' in program
jni/helloworld.c:63:1: error: stray '\271' in program
jni/helloworld.c:63:1: error: stray '\351' in program
jni/helloworld.c:63:1: error: stray '\342' in program
jni/helloworld.c:63:1: error: stray '\375' in program
jni/helloworld.c:63:1: error: stray '\247' in program
jni/helloworld.c:63:1: error: stray '\6' in program
jni/helloworld.c:63:1: error: stray '\2' in program
jni/helloworld.c:63:1: error: stray '\313' in program
jni/helloworld.c:63:1: error: stray '\31' in program
jni/helloworld.c:63:1: error: stray '\22' in program
jni/helloworld.c:63:1: error: stray '\210' in program
jni/helloworld.c:63:1: error: stray '\351' in program
jni/helloworld.c:63:1: error: stray '\201' in program
jni/helloworld.c:63:1: error: stray '\235' in program
jni/helloworld.c:63:1: error: stray '\342' in program
jni/helloworld.c:63:1: error: stray '\177' in program
jni/helloworld.c:63:1: error: stray '\4' in program
jni/helloworld.c:63:1: error: stray '\270' in program
jni/helloworld.c:63:1: error: stray '\203' in program
jni/helloworld.c:63:1: error: stray '\335' in program
jni/helloworld.c:63:1: error: stray '\363' in program
jni/helloworld.c:63:1: error: stray '\226' in program
jni/helloworld.c:63:1: error: stray '\4' in program
jni/helloworld.c:63:1: error: stray '\243' in program
jni/helloworld.c:63:1: error: stray '\304' in program
jni/helloworld.c:63:1: error: stray '\25' in program
jni/helloworld.c:63:1: error: stray '\22' in program
jni/helloworld.c:63:1: error: stray '\216' in program
jni/helloworld.c:63:1: error: stray '\337' in program
jni/helloworld.c:63:1: error: stray '\303' in program
jni/helloworld.c:63:1: error: stray '\235' in program
jni/helloworld.c:63:1: error: stray '#' in program
jni/helloworld.c:63:1: error: stray '\302' in program
jni/helloworld.c:63:1: error: stray '\331' in program
jni/helloworld.c:63:1: error: stray '\321' in program
jni/helloworld.c:63:1: error: stray '\365' in program
jni/helloworld.c:63:1: error: stray '\317' in program
jni/helloworld.c:63:1: error: stray '\360' in program
jni/helloworld.c:63:1: error: stray '\311' in program
jni/helloworld.c:63:1: error: stray '\300' in program
jni/helloworld.c:63:1: error: stray '\306' in program
jni/helloworld.c:63:1: error: stray '\272' in program
jni/helloworld.c:63:1: error: stray '\207' in program
jni/helloworld.c:63:1: error: stray '\252' in program
jni/helloworld.c:63:1: error: stray '\355' in program
jni/helloworld.c:63:1: error: stray '\320' in program
jni/helloworld.c:63:1: error: stray '\236' in program
jni/helloworld.c:63:1: error: stray '\33' in program
jni/helloworld.c:63:1: error: stray '\207' in program
jni/helloworld.c:63:1: error: stray '\214' in program
jni/helloworld.c:63:1: error: stray '\237' in program
jni/helloworld.c:63:1: error: stray '\372' in program
jni/helloworld.c:63:1: error: stray '\366' in program
jni/helloworld.c:63:1: error: stray '\345' in program
jni/helloworld.c:63:1: error: stray '\311' in program
jni/helloworld.c:63:1: error: stray '\315' in program
jni/helloworld.c:63:1: error: stray '\10' in program
jni/helloworld.c:63:1: error: stray '\331' in program
jni/helloworld.c:63:1: error: stray '\276' in program
jni/helloworld.c:63:1: error: stray '\256' in program
jni/helloworld.c:63:1: error: stray '\242' in program
jni/helloworld.c:63:1: error: stray '\5' in program
jni/helloworld.c:63:1: error: stray '\10' in program
jni/helloworld.c:63:1: error: stray '\372' in program
jni/helloworld.c:63:1: error: stray '\320' in program
jni/helloworld.c:63:1: error: stray '\321' in program
jni/helloworld.c:63:1: error: stray '\326' in program
jni/helloworld.c:63:1: error: stray '\7' in program
jni/helloworld.c:63:1: error: stray '\333' in program
jni/helloworld.c:63:1: error: stray '\37' in program
jni/helloworld.c:63:1: error: stray '\363' in program
jni/helloworld.c:63:139: warning: null character(s) preserved in literal [enable
d by default]
jni/helloworld.c:63:139: warning: missing terminating " character [enabled by de
fault]
jni/helloworld.c:63:1: error: missing terminating " character
make: *** [obj/local/armeabi/objs/cppTestProj/helloworld.o] Error 1

What is the issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:01:56+00:00Added an answer on June 13, 2026 at 6:01 pm

    The quote characters around your string “ Hello world\n” are fancy quotes – see how they point up and down? Replace with plain ASCII ones. Did you edit your file in MS Word? Word, and other document-oriented text editors, sometimes replace plain quotes with fancy ones. Better use an ASCII editor like Notepad (on Windows), or a programming IDE like Eclipse.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote this small C++ program and built it(Release) #include<iostream> int main(){ std::cout<<Hello World;
I wrote a small Hello World app. #include <stdio.h> int main(int argc, const char
I wrote a small code of C. #include<stdio.h> int main() { int a =
I'm writing small hello world type of program, which groups same files by different
I wrote a small program in C FILE *fp = fopen(/tmp/file, w+); char *buf
I wrote this small code to ascertain read behavior. #include <stdio.h> #include <sys/types.h> #include
I wrote a small test program for flipperview. I have 3 views. I call
I wrote a small program, that creates files at an interval of 1 minute.
I wrote a small program to test accessing a widget parent's slot. Basically, it
I wrote a small code to extract hashtags from tweets in R m<-c(paste(Hello! #London

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.