Text-based preprocessor macros in C/C++ perform substitutions before compilation, often generating code that differs significantly from human intent, causing AI to misinterpret program logic, introduce runtime errors, and struggle with accurate analysis.