From 2471259a4111824bfd6d4476fb0ac09af4238cac Mon Sep 17 00:00:00 2001 From: "royqh1979@gmail.com" Date: Thu, 2 Sep 2021 22:40:22 +0800 Subject: [PATCH] add demo file for astyle code format options dialog --- RedPandaIDE/resources/formatdemo.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 RedPandaIDE/resources/formatdemo.cpp diff --git a/RedPandaIDE/resources/formatdemo.cpp b/RedPandaIDE/resources/formatdemo.cpp new file mode 100644 index 00000000..4097d7ea --- /dev/null +++ b/RedPandaIDE/resources/formatdemo.cpp @@ -0,0 +1,18 @@ +namespace asylte_test{ + class ClassA{ + public: + void voo(); + private: + void foo(); + }; + int main() { + int x; + if (x>10){ + for (int i=0;i<10;i++) + x+=i*20; + } + return 0; + } +} + +