Repository navigation
Expand file tree
/
Copy pathc-multifile-header-projects.html
More file actions
1488 lines (1421 loc) · 109 KB
/
Copy pathc-multifile-header-projects.html
File metadata and controls
1488 lines (1421 loc) · 109 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, viewport-fit=cover">
<meta name="theme-color" content="#090A0F">
<meta name="color-scheme" content="only dark">
<meta name="supported-color-schemes" content="dark">
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">
<title>Multi-File C Compiler for Android | SuperCode</title>
<meta name="description" content="Compile multi-file .c and .h projects up to 350 files offline on Android. SuperCode parses CMakeLists.txt and Makefiles automatically—or links #include.">
<meta name="author" content="Phoenix Global Studios">
<meta name="google-play-app" content="app-id=com.phoenixglobal.supercodeeditor">
<link id="canonical-link" rel="canonical" href="https://supercodeide.app/c-multifile-header-projects.html">
<link rel="alternate" hreflang="x-default" href="https://supercodeide.app/c-multifile-header-projects.html">
<link rel="alternate" hreflang="en" href="https://supercodeide.app/c-multifile-header-projects.html">
<link rel="alternate" hreflang="zh-Hans" href="https://supercodeide.app/zh/c-multifile-header-projects.html">
<link rel="alternate" hreflang="zh-Hant" href="https://supercodeide.app/zh-tw/c-multifile-header-projects.html">
<link rel="alternate" hreflang="es" href="https://supercodeide.app/es/c-multifile-header-projects.html">
<link rel="alternate" hreflang="pt-BR" href="https://supercodeide.app/pt/c-multifile-header-projects.html">
<link rel="alternate" hreflang="ja" href="https://supercodeide.app/ja/c-multifile-header-projects.html">
<link rel="alternate" hreflang="ko" href="https://supercodeide.app/ko/c-multifile-header-projects.html">
<link rel="alternate" hreflang="de" href="https://supercodeide.app/de/c-multifile-header-projects.html">
<link rel="alternate" hreflang="fr" href="https://supercodeide.app/fr/c-multifile-header-projects.html">
<link rel="alternate" hreflang="ru" href="https://supercodeide.app/ru/c-multifile-header-projects.html">
<link rel="alternate" hreflang="hi" href="https://supercodeide.app/hi/c-multifile-header-projects.html">
<link rel="alternate" hreflang="id" href="https://supercodeide.app/id/c-multifile-header-projects.html">
<link rel="alternate" hreflang="it" href="https://supercodeide.app/it/c-multifile-header-projects.html">
<link rel="alternate" hreflang="vi" href="https://supercodeide.app/vi/c-multifile-header-projects.html">
<link rel="alternate" hreflang="th" href="https://supercodeide.app/th/c-multifile-header-projects.html">
<link rel="alternate" hreflang="tr" href="https://supercodeide.app/tr/c-multifile-header-projects.html">
<link rel="alternate" hreflang="ar" href="https://supercodeide.app/ar/c-multifile-header-projects.html">
<link rel="alternate" hreflang="pl" href="https://supercodeide.app/pl/c-multifile-header-projects.html">
<link rel="alternate" hreflang="nl" href="https://supercodeide.app/nl/c-multifile-header-projects.html">
<link rel="alternate" hreflang="sv" href="https://supercodeide.app/sv/c-multifile-header-projects.html">
<link rel="alternate" hreflang="nb" href="https://supercodeide.app/nb/c-multifile-header-projects.html">
<link rel="alternate" hreflang="da" href="https://supercodeide.app/da/c-multifile-header-projects.html">
<link rel="alternate" hreflang="fi" href="https://supercodeide.app/fi/c-multifile-header-projects.html">
<link rel="alternate" hreflang="cs" href="https://supercodeide.app/cs/c-multifile-header-projects.html">
<link rel="alternate" hreflang="uk" href="https://supercodeide.app/uk/c-multifile-header-projects.html">
<link rel="alternate" hreflang="ro" href="https://supercodeide.app/ro/c-multifile-header-projects.html">
<link rel="alternate" hreflang="hu" href="https://supercodeide.app/hu/c-multifile-header-projects.html">
<link rel="alternate" hreflang="el" href="https://supercodeide.app/el/c-multifile-header-projects.html">
<link rel="alternate" hreflang="he" href="https://supercodeide.app/he/c-multifile-header-projects.html">
<link rel="alternate" hreflang="ms" href="https://supercodeide.app/ms/c-multifile-header-projects.html">
<link rel="alternate" hreflang="fil" href="https://supercodeide.app/tl/c-multifile-header-projects.html">
<link rel="alternate" hreflang="bn" href="https://supercodeide.app/bn/c-multifile-header-projects.html">
<link rel="alternate" type="application/rss+xml" title="SuperCode IDE Guides & Releases" href="https://supercodeide.app/feed.xml">
<meta property="og:type" content="article">
<meta property="og:site_name" content="SuperCode IDE">
<meta property="og:title" content="Multi-File C Compiler for Android | SuperCode">
<meta property="og:description" content="Compile multi-file .c and .h projects up to 350 files offline on Android. SuperCode parses CMakeLists.txt and Makefiles automatically—or links #include.">
<meta property="og:url" content="https://supercodeide.app/c-multifile-header-projects.html">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://supercodeide.app/assets/media/og-cpp.png">
<meta property="og:image:secure_url" content="https://supercodeide.app/assets/media/og-cpp.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Local C17 & C++20 Multi-File Compiler">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://supercodeide.app/assets/media/og-cpp.png">
<meta name="twitter:title" content="Multi-File C Compiler for Android | SuperCode">
<meta name="twitter:description" content="Compile multi-file .c and .h projects up to 350 files offline on Android. SuperCode parses CMakeLists.txt and Makefiles automatically—or links #include.">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="apple-touch-icon" href="/favicon.svg">
<script>if(/SamsungBrowser/i.test(navigator.userAgent)){document.documentElement.classList.add('is-samsung');}</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": [
"SoftwareApplication",
"MobileApplication"
],
"@id": "https://supercodeide.app/#supercode-app",
"name": "Code Editor: SuperCode IDE",
"alternateName": [
"Multi-File C Compiler Android",
"CMake Makefile C IDE Mobile",
"Offline .c and .h Project Builder"
],
"operatingSystem": "Android 8.0+, ChromeOS (Chromebook), Android XR",
"applicationCategory": "DeveloperApplication",
"applicationSubCategory": "Multi-File C Compiler, Header Linker & CMake/Makefile IDE for Android",
"inLanguage": "en",
"fileSize": "45MB",
"softwareVersion": "1.55.11",
"installUrl": "https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=c-cpp-compiler",
"downloadUrl": "https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=c-cpp-compiler",
"sameAs": [
"https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor",
"https://www.youtube.com/watch?v=C4AcQIV2sk4",
"https://github.com/supercode-ide/supercode-ide.github.io"
],
"potentialAction": [
{
"@type": "InstallAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=c-cpp-compiler",
"actionPlatform": [
"http://schema.org/AndroidPlatform",
"http://schema.org/MobileWebPlatform"
]
}
},
{
"@type": "ViewAction",
"name": "App Guide",
"target": [
"https://supercodeide.app/tutorial/?lang=en",
"android-app://com.phoenixglobal.supercodeeditor/https/supercode-ide.github.io/tutorial"
]
}
],
"identifier": "com.phoenixglobal.supercodeeditor",
"url": "https://supercodeide.app/c-multifile-header-projects.html",
"screenshot": [
"https://supercodeide.app/assets/gallery/en/02_cpp20_compiler.webp",
"https://supercodeide.app/assets/gallery/en/18_tablet_cpp20_light.webp",
"https://supercodeide.app/assets/gallery/en/24_chromebook_cpp20_light.webp",
"https://supercodeide.app/assets/gallery/en/11_chromebook_ide.webp"
],
"author": {
"@id": "https://supercodeide.app/#organization"
},
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
},
"featureList": [
"Workspace scanner supporting up to 350 C source/header files (16 MB total project graph) offline",
"Automatic parsing of CMakeLists.txt (add_executable / add_library) and Makefile / GNUmakefile targets",
"Zero-config #include \"...\" dependency crawler for building multi-file C folders without build scripts",
"Preprocessor-aware dead-branch pruning that ignores #if 0 and inactive #ifdef _WIN32 includes",
"Smart main() entry arbitration when pressing Run from inside a .h header or utility .c file",
"Incremental per-translation-unit (.o) hash cache for rapid multi-module C rebuilds",
"Adaptive 3-pane workstation for Android Tablets, Chromebooks (ChromeOS), Android Desktop & Android XR with hardware keyboard shortcuts & LCD-calibrated themes",
"Offline Python local web backend server (http.server / Flask / Bottle on 127.0.0.1) with 1-tap WebRunActivity DevTools preview"
],
"image": "https://supercodeide.app/assets/media/og-cpp.png",
"dateModified": "2026-12-02"
},
{
"@type": "BreadcrumbList",
"@id": "https://supercodeide.app/c-multifile-header-projects.html#breadcrumb",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "SuperCode IDE",
"item": "https://supercodeide.app/"
},
{
"@type": "ListItem",
"position": 2,
"name": "C Compiler & IDE Hub",
"item": "https://supercodeide.app/c-compiler.html"
},
{
"@type": "ListItem",
"position": 3,
"name": "Multi-File .c/.h & CMake Builds",
"item": "https://supercodeide.app/c-multifile-header-projects.html"
}
]
},
{
"@type": "HowTo",
"name": "How to Build Multi-File C & CMake Projects on Android",
"description": "Organize clean `.h` interfaces and `.c` implementations just like on a desktop Linux workstation.",
"totalTime": "PT2M",
"step": [
{
"@type": "HowToStep",
"position": 1,
"name": "Create src/ + include/ Folders or Clone a Repo",
"text": "Organize .h headers and .c units locally or clone a GitHub C coursework repository via SuperCode's built-in Visual Git client.",
"url": "https://supercodeide.app/c-multifile-header-projects.html#step1"
},
{
"@type": "HowToStep",
"position": 2,
"name": "Let Auto-Discovery or CMakeLists.txt Resolve Units",
"text": "Either rely on automatic #include \"...\" discovery or keep your project's existing CMakeLists.txt / Makefile intact.",
"url": "https://supercodeide.app/c-multifile-header-projects.html#step2"
},
{
"@type": "HowToStep",
"position": 3,
"name": "Compile Incrementally From Any Open File",
"text": "Tap Run even while editing a .h header; SuperCode arbitrates main(), compiles changed TUs, links -lm, and executes.",
"url": "https://supercodeide.app/c-multifile-header-projects.html#step3"
},
{
"@type": "HowToStep",
"position": 4,
"name": "Inspect Unified Diffs & Commit Clean Modules",
"text": "Review changes across .c and .h files in color unified diff view and push commits straight to GitHub or GitLab.",
"url": "https://supercodeide.app/c-multifile-header-projects.html#step4"
}
],
"inLanguage": "en"
},
{
"@type": "FAQPage",
"@id": "https://supercodeide.app/c-multifile-header-projects.html#faq",
"mainEntity": [
{
"@type": "Question",
"name": "Why do other Android C apps give `undefined reference` when I `#include \"helper.h\"`?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Single-file mobile apps only pass the active file to the compiler and never link `helper.c`. SuperCode scans your folder (and any `src/` or `include/` subdirectories), compiles `helper.c` alongside `main.c`, and links all object files together automatically."
}
},
{
"@type": "Question",
"name": "Do I have to write a `CMakeLists.txt` or `Makefile` for small C projects?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Not at all. If no `CMakeLists.txt` or `Makefile` is present, SuperCode's zero-config `#include \"...\"` dependency crawler discovers and links your `.c` and `.h` files automatically. When a `CMakeLists.txt` or `Makefile` is present, SuperCode respects its target graph."
}
},
{
"@type": "Question",
"name": "What if my project has unsaved edits in an open `.h` tab when I press Run?",
"acceptedAnswer": {
"@type": "Answer",
"text": "SuperCode overlays live unsaved editor buffers onto the workspace build snapshot automatically, so edits across open `.h` and `.c` tabs are always reflected immediately."
}
},
{
"@type": "Question",
"name": "How does SuperCode handle a workspace that contains two separate `main()` test programs?",
"acceptedAnswer": {
"@type": "Answer",
"text": "If you run a file that defines its own `main()`, that `main()` wins. If you run from a shared `.h` header, SuperCode checks `CMakeLists.txt`/`Makefile` targets and local `#include` edges to pick the matching executable without duplicate-symbol clashes."
}
}
],
"inLanguage": "en"
},
{
"@type": "Organization",
"@id": "https://supercodeide.app/#organization",
"name": "Phoenix Global Studios",
"url": "https://supercodeide.app/",
"logo": "https://supercodeide.app/favicon.svg",
"sameAs": [
"https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor",
"https://www.youtube.com/watch?v=C4AcQIV2sk4",
"https://github.com/supercode-ide/supercode-ide.github.io"
]
}
]
}
</script>
<link rel="preload" as="style" href="assets/site.css?v=15520">
<link rel="stylesheet" href="assets/site.css?v=15520">
</head>
<body data-page="c_multifile">
<svg width="0" height="0" style="position:absolute" aria-hidden="true" focusable="false">
<symbol id="sc-logo" viewBox="20 14 68 72">
<path fill="#FFD700" d="M52,28 L56,28 L56,80 L52,80 Z"/>
<path fill="#FF4500" d="M48,54 L30,40 L30,46 L44,54 L30,62 L30,68 Z"/>
<path fill="#FF4500" d="M60,54 L78,40 L78,46 L64,54 L78,62 L78,68 Z"/>
<path fill="#FFF176" d="M54,22m-3,0a3,3 0,1 1,6 0a3,3 0,1 1,-6 0"/>
</symbol>
<symbol id="gp-prism" viewBox="0 0 24 24">
<path fill="#4285F4" d="M3.6,2.4C3.3,2.7,3.1,3.2,3.1,3.8v16.4c0,0.6,0.2,1.1,0.5,1.4l0.1,0.1L12.9,12v-0.2L3.7,2.3L3.6,2.4z"/>
<path fill="#34A853" d="M16,15.1l-3.1-3.1v-0.2L16,8.7l0.1,0.1l3.6,2.1c1,0.6,1,1.5,0,2.1l-3.6,2.1L16,15.1z"/>
<path fill="#FBBC05" d="M16.1,15.1L12.9,12L3.6,21.3c0.3,0.4,0.9,0.4,1.6,0.1L16.1,15.1z"/>
<path fill="#EA4335" d="M16.1,8.9L5.2,2.6C4.5,2.2,3.9,2.3,3.6,2.7L12.9,12L16.1,8.9z"/>
</symbol>
<symbol id="i-ne" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" d="M7 17L17 7M9 7h8v8"/></symbol>
<symbol id="i-arrow" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" d="M5 12h14M13 6l6 6-6 6"/></symbol>
<symbol id="i-cube" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"><path d="M12 2.8 20 7.2v9.6L12 21.2 4 16.8V7.2z"/><path d="M4 7.2l8 4.4 8-4.4M12 11.6v9.6"/></g></symbol>
<symbol id="i-chip" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><rect x="6" y="6" width="12" height="12" rx="2"/><rect x="9.5" y="9.5" width="5" height="5" rx="1"/><path d="M9 2.8v3.2M15 2.8v3.2M9 18v3.2M15 18v3.2M2.8 9H6M2.8 15H6M18 9h3.2M18 15h3.2"/></g></symbol>
<symbol id="i-layers" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"><path d="M12 3 2.8 7.8 12 12.6l9.2-4.8z"/><path d="m2.8 12 9.2 4.8 9.2-4.8"/><path d="m2.8 16.2 9.2 4.8 9.2-4.8"/></g></symbol>
<symbol id="i-web" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.8" y="4" width="18.4" height="16" rx="2.5"/><path d="M2.8 8.5h18.4"/><path d="m9.5 12.5-2.2 2.2 2.2 2.2M14.5 12.5l2.2 2.2-2.2 2.2"/></g></symbol>
<symbol id="i-db" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><ellipse cx="12" cy="5.6" rx="7.6" ry="2.8"/><path d="M4.4 5.6v12.8c0 1.55 3.4 2.8 7.6 2.8s7.6-1.25 7.6-2.8V5.6"/><path d="M4.4 12c0 1.55 3.4 2.8 7.6 2.8s7.6-1.25 7.6-2.8"/></g></symbol>
<symbol id="i-term" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.8" y="4" width="18.4" height="16" rx="2.5"/><path d="m7.2 9.5 3 2.5-3 2.5M12.8 15h4"/></g></symbol>
<symbol id="i-git" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6" r="2.3"/><circle cx="6" cy="18" r="2.3"/><circle cx="18" cy="12" r="2.3"/><path d="M6 8.3v7.4M8.3 6h4.2a3.5 3.5 0 0 1 3.5 3.5v.2"/></g></symbol>
<symbol id="i-cloud" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6.5 18.5h11a4 4 0 0 0 .7-7.94A5.5 5.5 0 0 0 7.4 9.2 3.8 3.8 0 0 0 6.5 18.5z"/></g></symbol>
<symbol id="i-bolt" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M13 2.8 4.8 13.2h6.3L10.2 21.2 19.2 10.6h-6.4z"/></symbol>
<defs>
<radialGradient id="sc-rf-bg" cx="54" cy="54" r="76" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#1C1C24"/>
<stop offset="100%" stop-color="#09090B"/>
</radialGradient>
<linearGradient id="sc-rf-ring" x1="24" y1="24" x2="84" y2="84" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#00E5FF"/>
<stop offset="50%" stop-color="#8A2BE2"/>
<stop offset="100%" stop-color="#FF0055"/>
</linearGradient>
<linearGradient id="sc-rf-wl" x1="40" y1="48" x2="40" y2="60" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#00E5FF"/>
<stop offset="100%" stop-color="#29B6F6"/>
</linearGradient>
<linearGradient id="sc-rf-wc" x1="54" y1="30" x2="54" y2="78" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#8A2BE2"/>
<stop offset="100%" stop-color="#E040FB"/>
</linearGradient>
<linearGradient id="sc-rf-wr" x1="68" y1="45" x2="68" y2="63" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#FF0055"/>
<stop offset="100%" stop-color="#FF8A80"/>
</linearGradient>
<linearGradient id="sc-web-ring" x1="3" y1="3" x2="21" y2="21" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#38BDF8"/>
<stop offset="55%" stop-color="#818CF8"/>
<stop offset="100%" stop-color="#E879F9"/>
</linearGradient>
<radialGradient id="sc-web-glow" cx="11.5" cy="12.5" r="8.5" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#38BDF8" stop-opacity="0.24"/>
<stop offset="70%" stop-color="#818CF8" stop-opacity="0.06"/>
<stop offset="100%" stop-color="#090A0F" stop-opacity="0"/>
</radialGradient>
<linearGradient id="sc-web-gold" x1="16" y1="3" x2="22" y2="9" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#FFF176"/>
<stop offset="100%" stop-color="#F5C451"/>
</linearGradient>
</defs>
<symbol id="sc-radio-icon" viewBox="10 10 88 88">
<rect x="10" y="10" width="88" height="88" rx="22" fill="url(#sc-rf-bg)"/>
<circle cx="54" cy="54" r="42" fill="none" stroke="rgba(255,255,255,0.10)" stroke-width="0.9"/>
<circle cx="54" cy="54" r="34" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="0.9"/>
<path fill-rule="evenodd" fill="url(#sc-rf-ring)" d="M54,24 A30,30 0 1,0 54,84 A30,30 0 1,0 54,24 Z M54,32 A22,22 0 1,1 54,76 A22,22 0 1,1 54,32 Z"/>
<circle cx="54" cy="54" r="4" fill="#E0E0E0"/>
<line x1="40" y1="48" x2="40" y2="60" stroke="url(#sc-rf-wl)" stroke-width="5" stroke-linecap="round"/>
<line x1="54" y1="30" x2="54" y2="44" stroke="url(#sc-rf-wc)" stroke-width="5" stroke-linecap="round"/>
<line x1="54" y1="64" x2="54" y2="78" stroke="url(#sc-rf-wc)" stroke-width="5" stroke-linecap="round"/>
<line x1="68" y1="45" x2="68" y2="63" stroke="url(#sc-rf-wr)" stroke-width="5" stroke-linecap="round"/>
<rect x="11" y="11" width="86" height="86" rx="21" fill="none" stroke="rgba(148,163,184,0.34)" stroke-width="1.6"/>
</symbol>
<symbol id="sc-web-icon" viewBox="0 0 24 24">
<circle cx="11.5" cy="12.5" r="8.4" fill="url(#sc-web-glow)"/>
<circle cx="11.5" cy="12.5" r="8.4" fill="none" stroke="url(#sc-web-ring)" stroke-width="1.75"/>
<ellipse cx="11.5" cy="12.5" rx="3.8" ry="8.4" fill="none" stroke="url(#sc-web-ring)" stroke-width="1.35" stroke-opacity="0.90"/>
<path d="M3.6 10.2 Q11.5 11.9 19.4 10.2" fill="none" stroke="url(#sc-web-ring)" stroke-width="1.25" stroke-linecap="round" stroke-opacity="0.82"/>
<path d="M3.6 14.8 Q11.5 13.1 19.4 14.8" fill="none" stroke="url(#sc-web-ring)" stroke-width="1.25" stroke-linecap="round" stroke-opacity="0.82"/>
<circle cx="18.6" cy="5.4" r="3.9" fill="#0E1320"/>
<circle cx="18.6" cy="5.4" r="3.4" fill="none" stroke="#F5C451" stroke-width="1.15" stroke-opacity="0.48"/>
<circle cx="18.6" cy="5.4" r="2.0" fill="url(#sc-web-gold)"/>
</symbol>
<symbol id="sc-web-mono" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M3.4 12h17.2"/><path d="M12 3a13.5 13.5 0 0 1 3.6 9 13.5 13.5 0 0 1-3.6 9 13.5 13.5 0 0 1-3.6-9A13.5 13.5 0 0 1 12 3z"/></g></symbol>
<symbol id="gp-prism-mono" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M5 3.8c0-.8.9-1.3 1.6-.9l13.2 7.6c.7.4.7 1.4 0 1.8L6.6 19.9c-.7.4-1.6-.1-1.6-.9V3.8z"/><path d="M5.4 3.5l10.2 10.2" stroke-opacity="0.82"/><path d="M5.4 19.3l10.2-10.2" stroke-opacity="0.82"/></g></symbol>
<symbol id="i-shield" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M12 2.8 4.8 5.8v5.6c0 5 3.1 8.5 7.2 9.8 4.1-1.3 7.2-4.8 7.2-9.8V5.8z"/></symbol>
</svg>
<header class="topbar">
<div class="container topbar__inner">
<a href="index.html" class="brand" aria-label="SuperCode IDE Home">
<span class="brand__icon"><svg aria-hidden="true"><use href="#sc-logo"/></svg></span>
<span>SuperCode</span>
<span class="brand__tag">IDE</span>
</a>
<nav class="nav" aria-label="Primary Workspaces">
<a href="code-editor.html" data-i18n="nav_code_editor">Code Editor</a>
<a href="large-file-editor.html" data-i18n="nav_large_file">GB Large Files</a>
<a href="python-ide.html" data-i18n="nav_python_ide">Python IDE</a>
<a href="c-compiler.html" class="is-current" data-i18n="nav_c_compiler">C17 Compiler</a>
<a href="cpp-ide.html" data-i18n="nav_cpp_ide">C++20 IDE</a>
<a href="java-ide.html" data-i18n="nav_java_ide">Java 17 IDE</a>
<a href="javascript-ide.html" data-i18n="nav_js_ide">JavaScript</a>
<a href="web-ide.html" data-i18n="nav_web_ide">Web & PHP</a>
<a href="sql-ide.html" data-i18n="nav_sql_ide">SQL Studio</a>
<a href="git-client.html" data-i18n="nav_git_client">Visual Git</a>
<a href="sftp-client.html" data-i18n="nav_sftp_client">SFTP & FTPS</a>
</nav>
<div class="topbar__actions">
<button id="langModalBtn" class="btn-lang-trigger" type="button" onclick="openLangModal()" aria-label="Select Language">
<svg class="lang-globe-svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<circle cx="12" cy="12" r="10"/><path d="M2 12h20"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>
</svg>
<span id="langTriggerText">EN</span>
<span class="lang-chevron" aria-hidden="true">▾</span>
</button>
<a href="https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=c-cpp-compiler&referrer=utm_source%3Dsupercode_web%26utm_medium%3Den%26utm_campaign%3Dc-cpp-compiler%26utm_content%3Dc-multifile-header-projects" target="_blank" rel="noopener" class="btn btn--gold btn--sm topbar__play">
<svg class="gp-prism" aria-hidden="true"><use href="#gp-prism"/></svg>
<span data-i18n="nav_cta">Google Play</span>
</a>
<a href="index.html" class="btn-home-icon" aria-label="Home" title="Home">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M3 10.5L12 3l9 7.5"/>
<path d="M5 9.5V20a1 1 0 0 0 1 1h4.5v-6h3v6H18a1 1 0 0 0 1-1V9.5"/>
</svg>
</a>
<button type="button" class="menu-btn" id="menuBtn" aria-expanded="false" aria-controls="siteDrawer" aria-label="Full Site Map">
<svg class="i-menu" viewBox="0 0 24 24" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M4 8.5h16M4 15.5h16"/></svg>
<svg class="i-close" viewBox="0 0 24 24" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M6 6l12 12M18 6 6 18"/></svg>
</button>
</div>
</div>
</header>
<main id="top">
<!-- ==================== 01 · EDITORIAL HERO & INTERACTIVE WORKBENCH ==================== -->
<section class="hero">
<div class="container">
<div class="hero__grid">
<div class="hero__copy">
<div class="py-hub-crumb"><a href="c-compiler.html"><span class="crumb-arrow" aria-hidden="true">←</span> C Compiler & IDE Hub</a><span class="sep">/</span><span>Multi-File .c/.h & CMake Builds</span></div>
<div class="trust-pill">
<span class="trust-pill__score"><span data-play-rating>4.9</span> ★</span>
<span data-i18n="hero_tag">UP TO 350 FILES · CMAKELISTS.TXT & MAKEFILE · INCREMENTAL CACHE</span>
</div>
<h1 class="hero-h1" data-i18n="hero_h1">Compile <span class="text-gradient">Multi-File .c & .h Projects</span> Offline on Android.</h1>
<p class="hero-lead" data-i18n="hero_desc">Move beyond single-file <code>main.c</code> sandboxes. SuperCode scans up to <strong>350 workspace files</strong>, parses <strong><code>CMakeLists.txt</code></strong> and <strong><code>Makefile</code></strong> target graphs natively—or auto-links <strong><code>#include "..."</code></strong> projects with zero configuration and <strong>per-file object caching</strong>.</p>
<div class="hero__cta" id="heroCta">
<a href="https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=c-cpp-compiler&referrer=utm_source%3Dsupercode_web%26utm_medium%3Den%26utm_campaign%3Dc-cpp-compiler%26utm_content%3Dc-multifile-header-projects" target="_blank" rel="noopener" class="btn btn--gold">
<svg class="gp-prism" aria-hidden="true"><use href="#gp-prism"/></svg>
<span data-i18n="cta_btn">Get on Google Play</span>
</a>
<a href="https://supercodeide.app/tutorial/?lang=en&ref=official_web" data-supercode-tutorial="true" class="btn btn--ghost">
<span data-i18n="cta_tutorial">App Guide</span>
<svg class="icon-ne" aria-hidden="true"><use href="#i-ne"/></svg>
</a>
</div>
</div>
<dl class="specs" aria-label="Key Specifications">
<div class="spec"><dt>350</dt><dd data-i18n="cp2_s1">Max Workspace Files</dd></div>
<div class="spec"><dt>CMake</dt><dd data-i18n="cp2_s2">& Makefile Parser</dd></div>
<div class="spec"><dt>Auto</dt><dd data-i18n="cp2_s3">.h -> main() Run</dd></div>
<div class="spec"><dt>.o</dt><dd data-i18n="cp2_s4">Incremental Cache</dd></div>
</dl>
</div>
<div class="wb-caption">
<div class="sec-index" style="margin-bottom:0">
<span class="num">01</span>
<span class="rule"></span>
<span data-i18n="wb_eyebrow">MULTI-FILE .C / .H, CMAKE & INCREMENTAL LINKER WORKBENCH</span>
</div>
<span class="wb-caption__hint mono">CMakeLists.txt · Makefile · Dead #ifdef Pruning · Per-TU Cache</span>
</div>
<div class="ide-workbench">
<div class="wb-titlebar">
<div class="wb-dots" aria-hidden="true"><i></i><i></i><i></i></div>
<div class="wb-title" id="ide-compiler-label">c-matrix-project/include/vec3.h → src/main.c — Header Entry Arbitration</div>
<button type="button" class="wb-run" id="btn-run-sandbox">
<span class="wb-run__tri" aria-hidden="true">▶</span>
<span data-i18n="btn_run">Run Demo</span>
</button>
</div>
<div class="wb-tabs" role="tablist" aria-label="Interactive Workspace Tabs">
<button type="button" class="ide-tab active" data-tab="hdr" role="tab" aria-selected="true"><i></i>include/vec3.h</button>
<button type="button" class="ide-tab" data-tab="impl" role="tab" aria-selected="false"><i></i>src/vec3.c</button>
<button type="button" class="ide-tab" data-tab="cmake" role="tab" aria-selected="false"><i></i>CMakeLists.txt</button>
</div>
<div class="wb-body">
<aside class="wb-explorer" aria-label="Project Explorer">
<div class="wb-explorer__head">Explorer</div>
<div class="wb-folder">▾ c-matrix-project</div>
<button type="button" class="wb-file active" data-tab="hdr"><b>.H</b><span>include/vec3.h</span></button>
<button type="button" class="wb-file" data-tab="impl"><b>.C</b><span>src/vec3.c</span></button>
<button type="button" class="wb-file" data-tab="cmake"><b>CMAKE</b><span>CMakeLists.txt</span></button>
</aside>
<div class="wb-main">
<div class="ide-editor-body" id="ide-code-box" role="region" aria-label="Interactive Code Preview"></div>
<div class="ide-terminal" id="ide-terminal-drawer" aria-live="polite">
<div class="term-header">
<span data-i18n="term_title">Interactive Console Output</span>
<div class="term-header-right">
<span class="term-exec-badge" id="ide-exec-status">Ready</span>
<button type="button" class="btn-term-close" id="btn-close-term" aria-label="Close terminal">✕</button>
</div>
</div>
<div class="term-stream" id="ide-term-output"></div>
</div>
</div>
</div>
<div class="wb-statusbar">
<span class="wb-statusbar__dot"><i></i><span id="wbStatusLang">Header -> main() Auto-Arbitration</span></span>
<div class="wb-statusbar__right">
<span>UTF-8</span>
<span>LF</span>
<span>Ln 8, Col 1</span>
</div>
</div>
</div>
</div>
</section>
<!-- SC_REAL_GALLERY_START -->
<section class="section sc-real-gallery" id="screenshots" aria-label="App Preview and Screenshots">
<div class="container">
<div class="sc-gp-head">
<div class="sc-gp-head-left">
<div class="sc-gp-eyebrow" data-i18n="gal_eyebrow">PHONE · TABLET · CHROMEBOOK · ANDROID XR</div>
<h2 class="sc-gp-title" data-i18n="gal_title">App Preview & Screenshots</h2>
<p class="sc-gp-short" data-i18n="gal_short_desc">Offline IDE & Compiler: Python, C/C++, Java, JS, HTML, SQL, PHP, Lua, Git, SFTP</p>
</div>
<a class="sc-gp-store-bar" href="https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=c-cpp-compiler&referrer=utm_source%3Dsupercode_web%26utm_medium%3Den%26utm_campaign%3Dc-cpp-compiler%26utm_content%3Dc-multifile-header-projects" target="_blank" rel="noopener" aria-label="Code Editor: SuperCode IDE — Phoenix Global Studios">
<svg class="sc-gp-app-icon" width="38" height="38" viewBox="16 12 76 76" aria-hidden="true"><rect x="16" y="12" width="76" height="76" rx="18" fill="#070A10" stroke="#3B82F6" stroke-width="2"/><path fill="#FFD700" d="M52,28 L56,28 L56,80 L52,80 Z"/><path fill="#FF4500" d="M48,54 L30,40 L30,46 L44,54 L30,62 L30,68 Z"/><path fill="#FF4500" d="M60,54 L78,40 L78,46 L64,54 L78,62 L78,68 Z"/><path fill="#FFF176" d="M54,22m-3,0a3,3 0,1 1,6 0a3,3 0,1 1,-6 0"/></svg>
<span class="sc-gp-app-meta">
<span class="sc-gp-app-name">Code Editor: SuperCode IDE</span>
<span class="sc-gp-app-dev">Phoenix Global Studios</span>
</span>
<span class="sc-gp-store-arrow" aria-hidden="true">
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><line x1="7" y1="17" x2="17" y2="7"/><polyline points="7 7 17 7 17 17"/></svg>
</span>
</a>
</div>
<div class="sc-gp-tabs" id="scGpTabs" role="tablist">
<button type="button" class="sc-gp-tab is-active" data-device-filter="all" role="tab" aria-selected="true">All (31)</button>
<a class="sc-gp-all-link" href="./#screenshots">All 31 Screenshots →</a>
</div>
<div class="sc-gp-stage">
<button type="button" class="sc-gp-nav sc-gp-nav--prev is-hidden" id="scGpPrev" aria-label="Previous image">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>
</button>
<div class="sc-gp-rail" id="scGpRail">
<svg width="0" height="0" style="position:absolute;width:0;height:0;overflow:hidden" aria-hidden="true"><defs><symbol id="sc-zoom-i" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 3 21 3 21 9"/><polyline points="9 21 3 21 3 15"/><line x1="21" y1="3" x2="14" y2="10"/><line x1="3" y1="21" x2="10" y2="14"/></symbol></defs></svg>
<button type="button" class="sc-gp-item sc-gp-item--shot" data-device="phone" aria-label="Local C17 & C++20 Multi-File Compiler">
<img src="assets/gallery/en/02_cpp20_compiler.webp" data-sc-file="02_cpp20_compiler.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_2" data-cap="Local C17 & C++20 Multi-File Compiler" alt="Local C17 & C++20 Multi-File Compiler" width="720" height="1280" loading="eager" fetchpriority="high" decoding="async">
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
<button type="button" class="sc-gp-item sc-gp-item--wide" data-device="tablet" aria-label="Tablet · C17 & C++20 STL 8.5 ms Offline Build.">
<img src="assets/gallery/en/18_tablet_cpp20_light.webp" data-sc-file="18_tablet_cpp20_light.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_18" data-cap="Tablet · C17 & C++20 STL 8.5 ms Offline Build." alt="Tablet · C17 & C++20 STL 8.5 ms Offline Build." width="1280" height="720" loading="eager" fetchpriority="high" decoding="async">
<span class="sc-gp-dev-badge" data-i18n="badge_tablet">Tablet</span>
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
<button type="button" class="sc-gp-item sc-gp-item--wide" data-device="chromebook" aria-label="Chromebook · C17 & C++20 STL 8.5 ms Offline Build.">
<img src="assets/gallery/en/24_chromebook_cpp20_light.webp" data-sc-file="24_chromebook_cpp20_light.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_24" data-cap="Chromebook · C17 & C++20 STL 8.5 ms Offline Build." alt="Chromebook · C17 & C++20 STL 8.5 ms Offline Build." width="1280" height="720" loading="eager" fetchpriority="high" decoding="async">
<span class="sc-gp-dev-badge" data-i18n="badge_chromebook">Chromebook</span>
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
<button type="button" class="sc-gp-item sc-gp-item--wide" data-device="chromebook" aria-label="Chromebook (ChromeOS) & Desktop LCD IDE · Keyboard & Mouse">
<img src="assets/gallery/en/11_chromebook_ide.webp" data-sc-file="11_chromebook_ide.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_11" data-cap="Chromebook (ChromeOS) & Desktop LCD IDE · Keyboard & Mouse" alt="Chromebook (ChromeOS) & Desktop LCD IDE · Keyboard & Mouse" width="1280" height="720" loading="eager" fetchpriority="high" decoding="async">
<span class="sc-gp-dev-badge" data-i18n="badge_chromebook">Chromebook</span>
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
<button type="button" class="sc-gp-item sc-gp-item--wide" data-device="xr" aria-label="Android XR · C17 & C++20 STL 8.5 ms Offline Build.">
<img src="assets/gallery/en/29_xr_cpp20_light.webp" data-sc-file="29_xr_cpp20_light.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_29" data-cap="Android XR · C17 & C++20 STL 8.5 ms Offline Build." alt="Android XR · C17 & C++20 STL 8.5 ms Offline Build." width="1280" height="720" loading="lazy" decoding="async">
<span class="sc-gp-dev-badge" data-i18n="badge_xr">Android XR</span>
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
<button type="button" class="sc-gp-item sc-gp-item--wide" data-device="tablet" aria-label="Tablet · Open 1GB Files & Global Project Tree.">
<img src="assets/gallery/en/14_tablet_file_manager.webp" data-sc-file="14_tablet_file_manager.webp" data-sc-prefix="" data-sc-cap-key="gal_cap_14" data-cap="Tablet · Open 1GB Files & Global Project Tree." alt="Tablet · Open 1GB Files & Global Project Tree." width="1280" height="720" loading="lazy" decoding="async">
<span class="sc-gp-dev-badge" data-i18n="badge_tablet">Tablet</span>
<span class="sc-gp-zoom-cue" aria-hidden="true"><svg width="14" height="14" aria-hidden="true"><use href="#sc-zoom-i"/></svg></span>
</button>
</div>
<button type="button" class="sc-gp-nav sc-gp-nav--next" id="scGpNext" aria-label="Next image">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>
</button>
</div>
</div>
</section>
<div class="sc-lb-modal" id="scLightbox" role="dialog" aria-modal="true" aria-hidden="true" aria-label="App Preview and Screenshots">
<div class="sc-lb-topbar">
<button type="button" class="sc-lb-back" id="scLbBack">
<svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><line x1="19" y1="12" x2="5" y2="12"/><polyline points="12 19 5 12 12 5"/></svg>
<span data-i18n="gal_back">Back</span>
</button>
<div class="sc-lb-meta">
<span class="sc-lb-counter" id="scLbCounter">1 / 9</span>
<span class="sc-lb-title" id="scLbTitle"></span>
</div>
<button type="button" class="sc-lb-close" id="scLbClose" aria-label="Close preview">×</button>
</div>
<div class="sc-lb-stage">
<button type="button" class="sc-lb-arrow sc-lb-arrow--prev" id="scLbPrev" aria-label="Previous image">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>
</button>
<img class="sc-lb-img" id="scLbImg" src="" alt="SuperCode IDE Preview">
<button type="button" class="sc-lb-arrow sc-lb-arrow--next" id="scLbNext" aria-label="Next image">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>
</button>
</div>
<div class="sc-lb-dots" id="scLbDots"></div>
</div>
<script defer src="assets/gallery.js?v=15520"></script>
<!-- SC_REAL_GALLERY_END -->
<!-- ==================== 02 · CORE CAPABILITIES ==================== -->
<section class="section section--alt" id="capabilities">
<div class="container">
<div class="sec-index">
<span class="num">02</span>
<span class="rule"></span>
<span data-i18n="sec_cap_eyebrow">CORE CAPABILITIES</span>
</div>
<div class="sec-grid">
<h2 data-i18n="sec_cap_title">Real Multi-Module C Engineering Without Build-Script Friction</h2>
<p class="sec-lead" data-i18n="sec_cap_lead">Whether you drop two `.c`/`.h` files in a folder or clone a structured CMake repository from GitHub, SuperCode resolves the compilation graph automatically.</p>
</div>
<div class="sec-body">
<div class="feature-grid feature-grid--6">
<article class="feature-card" id="cap1">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-layers"/></svg></span>
<span class="f-idx">02.1</span>
</div>
<h3 class="f-title" data-i18n="f1_title">Zero-Config #include "..." Graph Linker</h3>
<p class="f-desc" data-i18n="f1_desc">Don't want to write a Makefile for a 5-file data-structures project? Just create main.c, list.h, and list.c. SuperCode crawls relative #include directives across up to 350 files (16 MB) and links matching .c implementations automatically.</p>
<div class="f-code" data-i18n="f1_badge">Zero Build Scripts Needed · Nested src/ & include/ Support</div>
</article>
<article class="feature-card" id="cap2">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-cube"/></svg></span>
<span class="f-idx">02.2</span>
</div>
<h3 class="f-title" data-i18n="f2_title">Native CMakeLists.txt Target Graph Parser</h3>
<p class="f-desc" data-i18n="f2_desc">Open an existing CMake repository and press Run. SuperCode evaluates set() variables, add_executable(), add_library(), and target_include_directories() to assemble exact include paths and translation units.</p>
<div class="f-code" data-i18n="f2_badge">add_executable · add_library · target_include_directories</div>
</article>
<article class="feature-card" id="cap3">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-code"/></svg></span>
<span class="f-idx">02.3</span>
</div>
<h3 class="f-title" data-i18n="f3_title">Makefile & GNUmakefile Source Extraction</h3>
<p class="f-desc" data-i18n="f3_desc">Working on a university assignment distributed with a Makefile or GNUmakefile? The build analyzer extracts SRCS, OBJS, CFLAGS, and target dependencies so your project compiles offline in one tap.</p>
<div class="f-code" data-i18n="f3_badge">Makefile · GNUmakefile · SRCS / OBJS Graph Resolution</div>
</article>
<article class="feature-card" id="cap4">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-shield"/></svg></span>
<span class="f-idx">02.4</span>
</div>
<h3 class="f-title" data-i18n="f4_title">Smart #if 0 & Platform #ifdef Dead-Branch Pruning</h3>
<p class="f-desc" data-i18n="f4_desc">Cross-platform C repositories often guard <windows.h> or macOS headers inside #ifdef _WIN32 or #if 0 blocks. SuperCode strips comments and prunes inactive preprocessor branches before resolving headers.</p>
<div class="f-code" data-i18n="f4_badge">Skips #if 0 & #ifdef _WIN32 · Clean Cross-Platform Builds</div>
</article>
<article class="feature-card" id="cap5">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-bolt"/></svg></span>
<span class="f-idx">02.5</span>
</div>
<h3 class="f-title" data-i18n="f5_title">Header-to-main() Smart Entry Arbitration</h3>
<p class="f-desc" data-i18n="f5_desc">Keep your cursor inside include/parser.h or src/lexer.c and tap Run directly. SuperCode inspects your target graph, distinguishes active main() definitions from helper modules, and launches the right binary.</p>
<div class="f-code" data-i18n="f5_badge">Run From Any .h or .c Tab · Multi-Target Aware</div>
</article>
<article class="feature-card" id="cap6">
<div class="f-top">
<span class="f-icon"><svg aria-hidden="true"><use href="#i-chip"/></svg></span>
<span class="f-idx">02.6</span>
</div>
<h3 class="f-title" data-i18n="f6_title">Incremental Per-Translation-Unit Object Cache</h3>
<p class="f-desc" data-i18n="f6_desc">Every .c file and its transitive .h dependencies are fingerprinted by content hash. Editing main.c reuses cached .o object files for all untouched modules, slashing rebuild latency on mobile.</p>
<div class="f-code" data-i18n="f6_badge">Content-Hash .o Cache · Instant Iterative Rebuilds</div>
</article>
</div>
</div>
<div class="sec-foot">
<span data-i18n="meta_ver">Built for Phones, Foldables & Tablets · Lightweight 45 MB</span>
<a class="link-arrow" href="c-compiler.html">
<span>C Compiler & IDE Hub</span>
<svg aria-hidden="true"><use href="#i-arrow"/></svg>
</a>
</div>
</div>
</section>
<!-- ==================== 03 · STEP-BY-STEP WORKFLOW GUIDE ==================== -->
<section class="section" id="workflow">
<div class="container">
<div class="sec-index">
<span class="num">03</span>
<span class="rule"></span>
<span data-i18n="sec_wf_eyebrow">STEP-BY-STEP WORKFLOW</span>
</div>
<div class="sec-grid">
<h2 data-i18n="workflow_title">How to Build Multi-File C & CMake Projects on Android</h2>
<p class="sec-lead" data-i18n="workflow_lead">Organize clean `.h` interfaces and `.c` implementations just like on a desktop Linux workstation.</p>
</div>
<div class="sec-body">
<div class="workflow-grid">
<article class="wf-step" id="step1">
<div class="wf-step__head">
<span class="wf-step__badge">STEP 01</span>
<span class="wf-step__cmd">Explorer / Git Clone</span>
</div>
<h3 data-i18n="wf1_title">Create src/ + include/ Folders or Clone a Repo</h3>
<p data-i18n="wf1_desc">Organize .h headers and .c units locally or clone a GitHub C coursework repository via SuperCode's built-in Visual Git client.</p>
</article>
<article class="wf-step" id="step2">
<div class="wf-step__head">
<span class="wf-step__badge">STEP 02</span>
<span class="wf-step__cmd">Zero-Config or CMake</span>
</div>
<h3 data-i18n="wf2_title">Let Auto-Discovery or CMakeLists.txt Resolve Units</h3>
<p data-i18n="wf2_desc">Either rely on automatic #include "..." discovery or keep your project's existing CMakeLists.txt / Makefile intact.</p>
</article>
<article class="wf-step" id="step3">
<div class="wf-step__head">
<span class="wf-step__badge">STEP 03</span>
<span class="wf-step__cmd">Any Tab -> Run ▶</span>
</div>
<h3 data-i18n="wf3_title">Compile Incrementally From Any Open File</h3>
<p data-i18n="wf3_desc">Tap Run even while editing a .h header; SuperCode arbitrates main(), compiles changed TUs, links -lm, and executes.</p>
</article>
<article class="wf-step" id="step4">
<div class="wf-step__head">
<span class="wf-step__badge">STEP 04</span>
<span class="wf-step__cmd">Visual Git Diff</span>
</div>
<h3 data-i18n="wf4_title">Inspect Unified Diffs & Commit Clean Modules</h3>
<p data-i18n="wf4_desc">Review changes across .c and .h files in color unified diff view and push commits straight to GitHub or GitLab.</p>
</article>
</div>
</div>
<div class="sec-foot">
<span data-i18n="wf_foot_note">Up to 350 Files / 16 MB Workspace Scan · Unsaved Open-Tab Buffer Overlay</span>
<a class="link-arrow" href="https://supercodeide.app/tutorial/?lang=en&ref=official_web" data-supercode-tutorial="true">
<span data-i18n="cta_tutorial">App Guide</span>
<svg aria-hidden="true"><use href="#i-ne"/></svg>
</a>
</div>
</div>
</section>
<!-- ==================== 04 · FEATURED SUMMARY & COMPARISON MATRIX ==================== -->
<section class="section section--alt" id="comparison">
<div class="container">
<div class="sec-index">
<span class="num">04</span>
<span class="rule"></span>
<span data-i18n="comp_eyebrow">CAPABILITY MATRIX</span>
</div>
<div class="sec-grid">
<h2 data-i18n="table_h2">SuperCode Multi-File C Builder vs. Single-File Mobile Compilers</h2>
<p class="snippet-definition" data-i18n="snippet_p"><strong>SuperCode's Multi-File C Project Builder</strong> compiles modular <code>.c</code> and <code>.h</code> workspaces up to 350 files offline on Android. It parses <code>CMakeLists.txt</code> and <code>Makefile</code> target graphs automatically, links zero-config header trees, prunes inactive preprocessor branches, arbitrates <code>main()</code> from open headers, and caches unchanged object files.</p>
</div>
<div class="sec-body">
<div class="table-wrap">
<table class="obsidian-benchmark-table">
<caption data-i18n="table_caption">MULTI-FILE C PROJECT CAPABILITIES ON ANDROID</caption>
<thead>
<tr>
<th scope="col" data-i18n="th_0">Build Capability</th>
<th scope="col" data-i18n="th_1">SuperCode C17 Builder</th>
<th scope="col" data-i18n="th_2">Basic Mobile C Apps</th>
<th scope="col" data-i18n="th_3">Browser Sandboxes</th>
<th scope="col" data-i18n="th_4">Manual CLI Make</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" data-i18n="tr1_c0">Project Scale</th>
<td><strong data-i18n="tr1_c1">Up to 350 Files / 16 MB Nested Folders</strong></td>
<td data-i18n="tr1_c2">Single main.c file only</td>
<td data-i18n="tr1_c3">2-3 manually pasted tabs</td>
<td data-i18n="tr1_c4">Unlimited (manual setup)</td>
</tr>
<tr>
<th scope="row" data-i18n="tr2_c0">CMake & Makefile</th>
<td><strong data-i18n="tr2_c1">Parses CMakeLists.txt & Makefile Natively</strong></td>
<td data-i18n="tr2_c2">Not supported</td>
<td data-i18n="tr2_c3">Rarely supported</td>
<td data-i18n="tr2_c4">Requires CLI packages</td>
</tr>
<tr>
<th scope="row" data-i18n="tr3_c0">Zero-Config Linking</th>
<td><strong data-i18n="tr3_c1">Auto-Crawls #include "..." + Companion .c</strong></td>
<td data-i18n="tr3_c2">Fails with `undefined reference`</td>
<td data-i18n="tr3_c3">Manual compile script</td>
<td data-i18n="tr3_c4">Manual `gcc *.c`</td>
</tr>
<tr>
<th scope="row" data-i18n="tr4_c0">Run From .h Header</th>
<td><strong data-i18n="tr4_c1">Smart Entry Arbitration Locates main()</strong></td>
<td data-i18n="tr4_c2">Errors (`no main in .h`)</td>
<td data-i18n="tr4_c3">Runs active tab only</td>
<td data-i18n="tr4_c4">Manual command</td>
</tr>
<tr>
<th scope="row" data-i18n="tr5_c0">Incremental Caching</th>
<td><strong data-i18n="tr5_c1">Per-TU Content-Hash Object (.o) Cache</strong></td>
<td data-i18n="tr5_c2">Full recompile every run</td>
<td data-i18n="tr5_c3">Full remote recompile</td>
<td data-i18n="tr5_c4">Timestamp-based</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="sec-foot">
<span data-i18n="meta_ver">Built for Phones, Foldables & Tablets · Lightweight 45 MB</span>
<a class="link-arrow" href="https://play.google.com/store/apps/details?id=com.phoenixglobal.supercodeeditor&hl=en-US&listing=c-cpp-compiler&referrer=utm_source%3Dsupercode_web%26utm_medium%3Den%26utm_campaign%3Dc-cpp-compiler%26utm_content%3Dc-multifile-header-projects" target="_blank" rel="noopener">
<span>Google Play</span>
<svg aria-hidden="true"><use href="#i-ne"/></svg>
</a>
</div>
</div>
</section>
<!-- ==================== 05 · VISIBLE EDITORIAL FAQ ==================== -->
<section class="section" id="faq">
<div class="container">
<div class="faq-grid">
<div class="faq-head">
<div class="sec-index">
<span class="num">05</span>
<span class="rule"></span>
<span data-i18n="sec3_eyebrow">QUESTIONS & ANSWERS</span>
</div>
<h2 class="h2" data-i18n="sec3_title">Frequently Asked Questions</h2>
<p class="sec-lead" data-i18n="faq_lead">Common questions on `undefined reference` errors, `#include` paths, Makefiles, and CMake on Android.</p>
</div>
<div class="faq-list">
<details class="faq-item" open>
<summary><span data-i18n="faq1_q">Why do other Android C apps give `undefined reference` when I `#include "helper.h"`?</span><span class="faq-icon" aria-hidden="true">+</span></summary>
<div class="faq-answer" data-i18n="faq1_a">Single-file mobile apps only pass the active file to the compiler and never link `helper.c`. SuperCode scans your folder (and any `src/` or `include/` subdirectories), compiles `helper.c` alongside `main.c`, and links all object files together automatically.</div>
</details>
<details class="faq-item">
<summary><span data-i18n="faq2_q">Do I have to write a `CMakeLists.txt` or `Makefile` for small C projects?</span><span class="faq-icon" aria-hidden="true">+</span></summary>
<div class="faq-answer" data-i18n="faq2_a">Not at all. If no `CMakeLists.txt` or `Makefile` is present, SuperCode's zero-config `#include "..."` dependency crawler discovers and links your `.c` and `.h` files automatically. When a `CMakeLists.txt` or `Makefile` is present, SuperCode respects its target graph.</div>
</details>
<details class="faq-item">
<summary><span data-i18n="faq3_q">What if my project has unsaved edits in an open `.h` tab when I press Run?</span><span class="faq-icon" aria-hidden="true">+</span></summary>
<div class="faq-answer" data-i18n="faq3_a">SuperCode overlays live unsaved editor buffers onto the workspace build snapshot automatically, so edits across open `.h` and `.c` tabs are always reflected immediately.</div>
</details>
<details class="faq-item">
<summary><span data-i18n="faq4_q">How does SuperCode handle a workspace that contains two separate `main()` test programs?</span><span class="faq-icon" aria-hidden="true">+</span></summary>
<div class="faq-answer" data-i18n="faq4_a">If you run a file that defines its own `main()`, that `main()` wins. If you run from a shared `.h` header, SuperCode checks `CMakeLists.txt`/`Makefile` targets and local `#include` edges to pick the matching executable without duplicate-symbol clashes.</div>
</details>
</div>
</div>
</div>
</section>
<!-- ==================== 06 · TOPICAL AUTHORITY ECOSYSTEM CLUSTER ==================== -->
<section class="section section--alt" id="ecosystem-guides">
<div class="container">
<div class="sec-index">
<span class="num">06</span>
<span class="rule"></span>
<span>C PROGRAMMING & GNU C17 GUIDES</span>
</div>
<div class="sec-grid">
<h2>Complete C17 Compiler Documentation Suite</h2>
<p class="sec-lead">Navigate between the main Offline C17 Compiler hub and all 5 specialized C programming guides for Android.</p>
</div>
<div class="sec-body">
<div class="py-cluster-grid">
<a href="c-compiler.html" class="py-spoke-card">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">C-HUB</span>
<span class="py-spoke-card__tag">GNU C17 · -lm · Pillar Hub</span>
</div>
<h3>Offline GNU C17 Compiler Overview</h3>
<p>Main overview of SuperCode's dedicated offline GNU C17 compiler, automatic .c/.h linking, unbuffered scanf stdin, and systems studio.</p>
<div class="py-spoke-card__go">
<span>c-compiler</span>
<span>Open Guide →</span>
</div>
</a>
<a href="c-pointers-memory-coursework.html" class="py-spoke-card">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">C-01</span>
<span class="py-spoke-card__tag">Pointers · malloc/free · CS101</span>
</div>
<h3>Pointers, Structs & Memory Lab</h3>
<p>Learn ANSI/ISO C17 pointers, structs, dynamic heap allocation, and bitwise operations offline without archaic Turbo C workarounds.</p>
<div class="py-spoke-card__go">
<span>c-pointers-memory-coursework</span>
<span>Open Guide →</span>
</div>
</a>
<a href="c-multifile-header-projects.html" class="py-spoke-card is-active">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">C-02</span>
<span class="py-spoke-card__tag">Auto .c/.h · Makefile · CMake</span>
</div>
<h3>Multi-File .c/.h & CMake Builds</h3>
<p>Compile multi-file C projects up to 350 files automatically — parsing CMakeLists.txt, Makefiles, and #include graphs with incremental caching.</p>
<div class="py-spoke-card__go">
<span>c-multifile-header-projects</span>
<span>Viewing Guide</span>
</div>
</a>
<a href="c-scanf-file-io-console.html" class="py-spoke-card">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">C-03</span>
<span class="py-spoke-card__tag">Unbuffered scanf · fopen · @args</span>
</div>
<h3>Live scanf Stdin & File I/O</h3>
<p>Run interactive scanf/fgets loops with automatic stdout prompt flushing, // @args CLI flags, and workspace fopen/fwrite file sync.</p>
<div class="py-spoke-card__go">
<span>c-scanf-file-io-console</span>
<span>Open Guide →</span>
</div>
</a>
<a href="c-posix-systems-programming.html" class="py-spoke-card">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">C-04</span>
<span class="py-spoke-card__tag">unistd.h · pthread · sys/socket</span>
</div>
<h3>POSIX Headers, Threads & Sockets</h3>
<p>Use POSIX headers (unistd.h, fcntl.h, dirent.h, regex.h, stdatomic.h) offline plus seamless Cloud C -pthread & socket builds.</p>
<div class="py-spoke-card__go">
<span>c-posix-systems-programming</span>
<span>Open Guide →</span>
</div>
</a>
<a href="c-algorithms-data-structures-android.html" class="py-spoke-card">
<div class="py-spoke-card__top">
<span class="py-spoke-card__code">C-05</span>
<span class="py-spoke-card__tag">Linked Lists · Trees · Bitfields</span>
</div>
<h3>Algorithms, Data Structures & Bitwise C</h3>
<p>Implement linked lists, binary search trees, hash maps, sorting algorithms, and embedded stdint.h bitfields offline in GNU C17 with AST Error Radar and A4 PDF export.</p>
<div class="py-spoke-card__go">
<span>c-algorithms-data-structures-android</span>
<span>Open Guide →</span>
</div>
</a>
</div>
</div>
<div class="sec-foot">
<span>6 Interconnected C17 Engineering Guides · Pure GNU C17 (-std=gnu17) + POSIX</span>
<a class="link-arrow" href="c-compiler.html">
<span>C Compiler & IDE Hub</span>
<svg aria-hidden="true"><use href="#i-arrow"/></svg>
</a>
</div>
</div>
</section>
</main>
<div class="menu-drawer" id="siteDrawer" hidden>
<nav class="container menu-drawer__inner" aria-label="Full Site Map">
<div class="drawer-top">
<div class="drawer-top__left">
<span class="drawer-top__dot" aria-hidden="true"></span>
<span class="drawer-top__title" data-i18n="sitemap_title">Full Site Map</span>
<span class="drawer-top__badge" data-i18n="sitemap_badge">61 Pages · 32 Languages</span>
</div>
<button type="button" class="drawer-toggle-all" id="drawerToggleAll" data-expanded="false" data-expand-label="Expand All" data-collapse-label="Collapse All">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h9M8 3.5v9" stroke="currentColor" stroke-width="1.65" stroke-linecap="round"/></svg>
<span data-i18n="sitemap_expand_all">Expand All</span>
</button>
</div>
<div class="drawer-cols">
<div class="drawer-group">
<div class="drawer-group__title"><span data-i18n="grp_core">Editor & Large Files</span></div>
<div class="drawer-group__list">
<div class="drawer-node">
<div class="drawer-node__row">
<a class="menu-drawer__link" href="index.html"><span class="drawer-link__title" data-i18n="nav_home">Overview</span><svg class="drawer-link__arrow" aria-hidden="true"><use href="#i-arrow"/></svg></a>
</div>
</div>
<div class="drawer-node">
<div class="drawer-node__row">
<a class="menu-drawer__link" href="code-editor.html"><span class="drawer-link__title" data-i18n="nav_code_editor">Code Editor</span><svg class="drawer-link__arrow" aria-hidden="true"><use href="#i-arrow"/></svg></a>
</div>
</div>
<div class="drawer-node">
<div class="drawer-node__row">
<a class="menu-drawer__link" href="large-file-editor.html"><span class="drawer-link__title" data-i18n="nav_large_file">GB Large Files</span><svg class="drawer-link__arrow" aria-hidden="true"><use href="#i-arrow"/></svg></a>
</div>
</div>
</div>
</div>
<div class="drawer-group">
<div class="drawer-group__title"><span data-i18n="grp_lang">Offline Compilers & Languages</span></div>
<div class="drawer-group__list">
<div class="drawer-node" data-hub="python-ide.html">