{"id":29001,"date":"2024-02-15T00:00:00","date_gmt":"2024-02-15T00:00:00","guid":{"rendered":"https:\/\/gufosaggio.net\/i\/can-c-program-run-in-android\/"},"modified":"2024-02-15T00:00:00","modified_gmt":"2024-02-15T00:00:00","slug":"can-c-program-run-in-android","status":"publish","type":"post","link":"https:\/\/gufosaggio.net\/i\/can-c-program-run-in-android\/","title":{"rendered":"Can C program run in Android?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gufosaggio.net\/i\/can-c-program-run-in-android\/#Using_CC_on_Android\" >Using C\/C++ on Android<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gufosaggio.net\/i\/can-c-program-run-in-android\/#Developing_Websites_with_C\" >Developing Websites with C<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gufosaggio.net\/i\/can-c-program-run-in-android\/#Opening_C_Files_on_Mobile\" >Opening C Files on Mobile<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/gufosaggio.net\/i\/can-c-program-run-in-android\/#File_Extension_for_a_C_File\" >File Extension for a C File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/gufosaggio.net\/i\/can-c-program-run-in-android\/#Developing_Apps_with_CC_on_Android\" >Developing Apps with C\/C++ on Android<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/gufosaggio.net\/i\/can-c-program-run-in-android\/#Free_IDEs_for_Python\" >Free IDEs for Python<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/gufosaggio.net\/i\/can-c-program-run-in-android\/#Geany_for_Python\" >Geany for Python<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Using_CC_on_Android\"><\/span>Using C\/C++ on Android<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Android is based on Linux Kernel, making it possible to compile and run C\/C++ programs on Android. <\/p>\n<h3><span class=\"ez-toc-section\" id=\"Developing_Websites_with_C\"><\/span>Developing Websites with C<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You can write a website in the C language.<\/p>\n<ul>\n<li>C is cross-platform, allowing a C program written on Windows to run on Linux and Android.<\/li>\n<li>Use any server-side tool as long as the output is HTML, then execute the executable by calling the program from the client.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Opening_C_Files_on_Mobile\"><\/span>Opening C Files on Mobile<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Any text editor like Notepad++, Emacs, or others can open and view a C file if it&#8217;s a C\/C++ source code file.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"File_Extension_for_a_C_File\"><\/span>File Extension for a C File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A C file is a source code file for a C or C++ program. It can be edited using a basic text editor but may not show syntax highlighting like specialized software.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Developing_Apps_with_CC_on_Android\"><\/span>Developing Apps with C\/C++ on Android<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You can add C and C++ code to your Android project by placing it in a cpp directory. The code is compiled into a native library that Gradle can package with your app.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Free_IDEs_for_Python\"><\/span>Free IDEs for Python<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>PyCharm Edu is free to use, built on open source code licensed under Apache 2.0.<\/li>\n<li>IntelliJ IDEA Edu is also free to use, based on open source code licensed under Apache 2.0.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Geany_for_Python\"><\/span>Geany for Python<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Geany is a versatile editor that supports colouring and indenting code based on the file type used.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using C\/C++ on Android Android is based on Linux Kernel, making it possible to compile and run C\/C++ programs on Android. Developing Websites with C You can write a website in the C language. C is cross-platform, allowing a C program written on Windows to run on Linux and Android. Use any server-side tool as &#8230; <a title=\"Can C program run in Android?\" class=\"read-more\" href=\"https:\/\/gufosaggio.net\/i\/can-c-program-run-in-android\/\" aria-label=\"Per saperne di pi\u00f9 su Can C program run in Android?\">Leggi tutto<\/a><\/p>\n","protected":false},"author":4836,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-29001","post","type-post","status-publish","format-standard","hentry","category-c"],"_links":{"self":[{"href":"https:\/\/gufosaggio.net\/i\/wp-json\/wp\/v2\/posts\/29001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gufosaggio.net\/i\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gufosaggio.net\/i\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gufosaggio.net\/i\/wp-json\/wp\/v2\/users\/4836"}],"replies":[{"embeddable":true,"href":"https:\/\/gufosaggio.net\/i\/wp-json\/wp\/v2\/comments?post=29001"}],"version-history":[{"count":0,"href":"https:\/\/gufosaggio.net\/i\/wp-json\/wp\/v2\/posts\/29001\/revisions"}],"wp:attachment":[{"href":"https:\/\/gufosaggio.net\/i\/wp-json\/wp\/v2\/media?parent=29001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gufosaggio.net\/i\/wp-json\/wp\/v2\/categories?post=29001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gufosaggio.net\/i\/wp-json\/wp\/v2\/tags?post=29001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}