- rename to Red Pand C++
This commit is contained in:
parent
e4f205cdb4
commit
02cba8e03c
3
NEWS.md
3
NEWS.md
|
@ -1,4 +1,4 @@
|
||||||
Version 0.12.5 For Dev-C++ 7 Beta
|
Red Panda C++ Version 0.12.5
|
||||||
- fix: compile error in linux
|
- fix: compile error in linux
|
||||||
- fix: can't receive gdb async output for commands
|
- fix: can't receive gdb async output for commands
|
||||||
- fix: can't reformat code
|
- fix: can't reformat code
|
||||||
|
@ -9,6 +9,7 @@ Version 0.12.5 For Dev-C++ 7 Beta
|
||||||
- enhancement: console pauser for linux
|
- enhancement: console pauser for linux
|
||||||
- enhancement: redirect input to program in linux
|
- enhancement: redirect input to program in linux
|
||||||
- enhancement: detach pausing console window
|
- enhancement: detach pausing console window
|
||||||
|
- rename to Red Pand C++
|
||||||
|
|
||||||
Version 0.12.4 For Dev-C++ 7 Beta
|
Version 0.12.4 For Dev-C++ 7 Beta
|
||||||
- change: add copyright infos to each source file
|
- change: add copyright infos to each source file
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -125,7 +125,7 @@ void ProjectCompiler::newMakeFile(QFile& file)
|
||||||
void ProjectCompiler::writeMakeHeader(QFile &file)
|
void ProjectCompiler::writeMakeHeader(QFile &file)
|
||||||
{
|
{
|
||||||
writeln(file,"# Project: " + mProject->name());
|
writeln(file,"# Project: " + mProject->name());
|
||||||
writeln(file,QString("# Makefile created by Red Panda Dev-C++ ") + DEVCPP_VERSION);
|
writeln(file,QString("# Makefile created by Red Panda C++ ") + DEVCPP_VERSION);
|
||||||
writeln(file);
|
writeln(file);
|
||||||
if (mOnlyCheckSyntax) {
|
if (mOnlyCheckSyntax) {
|
||||||
writeln(file,"# This Makefile is written for syntax check!");
|
writeln(file,"# This Makefile is written for syntax check!");
|
||||||
|
|
|
@ -681,7 +681,7 @@ void MainWindow::setActiveBreakpoint(QString FileName, int Line, bool setFocus)
|
||||||
|
|
||||||
void MainWindow::updateAppTitle()
|
void MainWindow::updateAppTitle()
|
||||||
{
|
{
|
||||||
QString appName=tr("Red Panda Dev-C++");
|
QString appName=tr("Red Panda C++");
|
||||||
Editor *e = mEditorList->getEditor();
|
Editor *e = mEditorList->getEditor();
|
||||||
QCoreApplication *app = QApplication::instance();
|
QCoreApplication *app = QApplication::instance();
|
||||||
if (e && !e->inProject()) {
|
if (e && !e->inProject()) {
|
||||||
|
@ -4941,7 +4941,7 @@ void MainWindow::on_actionNew_Project_triggered()
|
||||||
this,
|
this,
|
||||||
tr("Save new project as"),
|
tr("Save new project as"),
|
||||||
location,
|
location,
|
||||||
tr("Red panda Dev-C++ project file (*.dev)"));
|
tr("Red Panda C++ project file (*.dev)"));
|
||||||
if (!saveName.isEmpty()) {
|
if (!saveName.isEmpty()) {
|
||||||
s = saveName;
|
s = saveName;
|
||||||
}
|
}
|
||||||
|
|
|
@ -711,7 +711,7 @@ void Project::saveOptions()
|
||||||
ini.SetValue("Project","FileName", toByteArray(extractRelativePath(directory(), mFilename)));
|
ini.SetValue("Project","FileName", toByteArray(extractRelativePath(directory(), mFilename)));
|
||||||
ini.SetValue("Project","Name", toByteArray(mName));
|
ini.SetValue("Project","Name", toByteArray(mName));
|
||||||
ini.SetLongValue("Project","Type", static_cast<int>(mOptions.type));
|
ini.SetLongValue("Project","Type", static_cast<int>(mOptions.type));
|
||||||
ini.SetLongValue("Project","Ver", 3); // Is 3 as of Red Panda Dev-C++ 7.0
|
ini.SetLongValue("Project","Ver", 3); // Is 3 as of Red Panda C++.0
|
||||||
ini.SetValue("Project","ObjFiles", toByteArray(mOptions.objFiles.join(";")));
|
ini.SetValue("Project","ObjFiles", toByteArray(mOptions.objFiles.join(";")));
|
||||||
ini.SetValue("Project","Includes", toByteArray(mOptions.includes.join(";")));
|
ini.SetValue("Project","Includes", toByteArray(mOptions.includes.join(";")));
|
||||||
ini.SetValue("Project","Libs", toByteArray(mOptions.libs.join(";")));
|
ini.SetValue("Project","Libs", toByteArray(mOptions.libs.join(";")));
|
||||||
|
@ -916,7 +916,7 @@ void Project::buildPrivateResource(bool forceSave)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
QStringList contents;
|
QStringList contents;
|
||||||
contents.append("/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */");
|
contents.append("/* THIS FILE WILL BE OVERWRITTEN BY Red Panda C++ */");
|
||||||
contents.append("/* DO NOT EDIT! */");
|
contents.append("/* DO NOT EDIT! */");
|
||||||
contents.append("");
|
contents.append("");
|
||||||
|
|
||||||
|
@ -1096,7 +1096,7 @@ void Project::buildPrivateResource(bool forceSave)
|
||||||
contents.clear();
|
contents.clear();
|
||||||
QString def = extractFileName(rcFile);
|
QString def = extractFileName(rcFile);
|
||||||
def.replace(".","_");
|
def.replace(".","_");
|
||||||
contents.append("/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */");
|
contents.append("/* THIS FILE WILL BE OVERWRITTEN BY Red Panda C++ */");
|
||||||
contents.append("/* DO NOT EDIT ! */");
|
contents.append("/* DO NOT EDIT ! */");
|
||||||
contents.append("");
|
contents.append("");
|
||||||
contents.append("#ifndef " + def);
|
contents.append("#ifndef " + def);
|
||||||
|
@ -1352,7 +1352,7 @@ void Project::loadOptions(SimpleIni& ini)
|
||||||
mOptions.version = 2;
|
mOptions.version = 2;
|
||||||
QMessageBox::information(pMainWindow,
|
QMessageBox::information(pMainWindow,
|
||||||
tr("Settings need update"),
|
tr("Settings need update"),
|
||||||
tr("The compiler settings format of Dev-C++ has changed.")
|
tr("The compiler settings format of Red Panda C++ has changed.")
|
||||||
+"<BR /><BR />"
|
+"<BR /><BR />"
|
||||||
+tr("Please update your settings at Project >> Project Options >> Compiler and save your project."),
|
+tr("Please update your settings at Project >> Project Options >> Compiler and save your project."),
|
||||||
QMessageBox::Ok);
|
QMessageBox::Ok);
|
||||||
|
@ -1432,7 +1432,7 @@ void Project::loadOptions(SimpleIni& ini)
|
||||||
mOptions.versionInfo.companyName = fromByteArray(ini.GetValue("VersionInfo", "CompanyName", ""));
|
mOptions.versionInfo.companyName = fromByteArray(ini.GetValue("VersionInfo", "CompanyName", ""));
|
||||||
mOptions.versionInfo.fileVersion = fromByteArray(ini.GetValue("VersionInfo", "FileVersion", "0.1"));
|
mOptions.versionInfo.fileVersion = fromByteArray(ini.GetValue("VersionInfo", "FileVersion", "0.1"));
|
||||||
mOptions.versionInfo.fileDescription = fromByteArray(ini.GetValue("VersionInfo", "FileDescription",
|
mOptions.versionInfo.fileDescription = fromByteArray(ini.GetValue("VersionInfo", "FileDescription",
|
||||||
toByteArray(tr("Developed using the Red Panda Dev-C++ IDE"))));
|
toByteArray(tr("Developed using the Red Panda C++ IDE"))));
|
||||||
mOptions.versionInfo.internalName = fromByteArray(ini.GetValue("VersionInfo", "InternalName", ""));
|
mOptions.versionInfo.internalName = fromByteArray(ini.GetValue("VersionInfo", "InternalName", ""));
|
||||||
mOptions.versionInfo.legalCopyright = fromByteArray(ini.GetValue("VersionInfo", "LegalCopyright", ""));
|
mOptions.versionInfo.legalCopyright = fromByteArray(ini.GetValue("VersionInfo", "LegalCopyright", ""));
|
||||||
mOptions.versionInfo.legalTrademarks = fromByteArray(ini.GetValue("VersionInfo", "LegalTrademarks", ""));
|
mOptions.versionInfo.legalTrademarks = fromByteArray(ini.GetValue("VersionInfo", "LegalTrademarks", ""));
|
||||||
|
|
|
@ -26,7 +26,7 @@ ProjectVersionInfo::ProjectVersionInfo()
|
||||||
charsetID = 0x04E4; // Windows multilingual
|
charsetID = 0x04E4; // Windows multilingual
|
||||||
companyName = "";
|
companyName = "";
|
||||||
fileVersion = "";
|
fileVersion = "";
|
||||||
fileDescription = "Developed using the Red Panda Dev-C++ IDE";
|
fileDescription = "Developed using the Red Panda C++ IDE";
|
||||||
internalName = "";
|
internalName = "";
|
||||||
legalCopyright = "";
|
legalCopyright = "";
|
||||||
legalTrademarks = "";
|
legalTrademarks = "";
|
||||||
|
|
|
@ -34,7 +34,7 @@ EnvironmentFileAssociationWidget::EnvironmentFileAssociationWidget(const QString
|
||||||
mModel.addItem("C/C++ Header File","h",3);
|
mModel.addItem("C/C++ Header File","h",3);
|
||||||
mModel.addItem("C++ Header File","hpp",4);
|
mModel.addItem("C++ Header File","hpp",4);
|
||||||
mModel.addItem("C++ Header File","hxx",4);
|
mModel.addItem("C++ Header File","hxx",4);
|
||||||
mModel.addItem("Dev-C++ Project File","dev",5);
|
mModel.addItem("Red Panda C++ Project File","dev",5);
|
||||||
ui->lstFileTypes->setModel(&mModel);
|
ui->lstFileTypes->setModel(&mModel);
|
||||||
connect(&mModel, &FileAssociationModel::associationChanged,
|
connect(&mModel, &FileAssociationModel::associationChanged,
|
||||||
[this](){
|
[this](){
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Just check or uncheck for which file types Dev-C++ wil be registered as the default application to open them ... </string>
|
<string>Just check or uncheck for which file types Red Panda C++ wil be registered as the default application to open them ... </string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
|
|
@ -621,7 +621,7 @@ void resetCppParser(std::shared_ptr<CppParser> parser)
|
||||||
for (QString define:compilerSet->defines()) {
|
for (QString define:compilerSet->defines()) {
|
||||||
parser->addHardDefineByLine(define); // predefined constants from -dM -E
|
parser->addHardDefineByLine(define); // predefined constants from -dM -E
|
||||||
}
|
}
|
||||||
// add a dev-cpp's own macro
|
// add a Red Pand C++ 's own macro
|
||||||
parser->addHardDefineByLine("#define EGE_FOR_AUTO_CODE_COMPLETETION_ONLY");
|
parser->addHardDefineByLine("#define EGE_FOR_AUTO_CODE_COMPLETETION_ONLY");
|
||||||
// add C/C++ default macro
|
// add C/C++ default macro
|
||||||
parser->addHardDefineByLine("#define __FILE__ 1");
|
parser->addHardDefineByLine("#define __FILE__ 1");
|
||||||
|
|
|
@ -46,7 +46,7 @@ enum class FileType{
|
||||||
CHeader, // c header (.h)
|
CHeader, // c header (.h)
|
||||||
CppHeader, // c++ header (.hpp)
|
CppHeader, // c++ header (.hpp)
|
||||||
WindowsResourceSource, // resource source (.res)
|
WindowsResourceSource, // resource source (.res)
|
||||||
Project, //Red Panda Dev-C++ Project (.dev)
|
Project, //Red Panda C++ Project (.dev)
|
||||||
Other // any others
|
Other // any others
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -28,18 +28,18 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
||||||
ui->lblTitle->setText(ui->lblTitle->text() + tr("Version: ") + DEVCPP_VERSION);
|
ui->lblTitle->setText(ui->lblTitle->text() + tr("Version: ") + DEVCPP_VERSION);
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
ui->lblContent->setText(ui->lblContent->text()
|
ui->lblQt->setText(ui->lblQt->text()
|
||||||
.arg(qVersion())
|
.arg(qVersion())
|
||||||
.arg(QString("GCC %1.%2")
|
.arg(QString("GCC %1.%2")
|
||||||
.arg(__GNUC__)
|
.arg(__GNUC__)
|
||||||
.arg(__GNUC_MINOR__)
|
.arg(__GNUC_MINOR__)));
|
||||||
,__DATE__, __TIME__));
|
|
||||||
#else
|
#else
|
||||||
ui->lblContent->setText(ui->lblContent->text()
|
ui->lblQt->setText(ui->lblQt->text()
|
||||||
.arg(qVersion())
|
.arg(qVersion())
|
||||||
.arg("Non-GCC Compiler"
|
.arg(tr("Non-GCC Compiler"));
|
||||||
,__DATE__, __TIME__));
|
|
||||||
#endif
|
#endif
|
||||||
|
ui->lblCompileTime->setText(ui->lblCompileTime->text()
|
||||||
|
.arg(__DATE__, __TIME__));
|
||||||
}
|
}
|
||||||
|
|
||||||
AboutDialog::~AboutDialog()
|
AboutDialog::~AboutDialog()
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="lblTitle">
|
<widget class="QLabel" name="lblTitle">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><h1>Red-Panda Dev-Cpp 7</h1></string>
|
<string><html><head/><body><h1 style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:xx-large; font-weight:600;">Red Panda C++</span></h1></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
@ -25,29 +25,82 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="lblContent">
|
<widget class="QLabel" name="lblQt">
|
||||||
<property name="sizePolicy">
|
<property name="font">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
<font>
|
||||||
<horstretch>0</horstretch>
|
<weight>50</weight>
|
||||||
<verstretch>0</verstretch>
|
<bold>false</bold>
|
||||||
</sizepolicy>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string>Based on Qt %1 (%2)</string>
|
||||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
|
||||||
p, li { white-space: pre-wrap; }
|
|
||||||
</style></head><body style=" font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;">
|
|
||||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Based on Qt %1 (%2)</p>
|
|
||||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Build time: %3 %4</p>
|
|
||||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (C) 2021-2022 royqh1979@gmail.com</p>
|
|
||||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Old Delphi Version:</p>
|
|
||||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (c) 2004 Bloodshed Software</p>
|
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (c) 2011-2015 orwell devcpp </p>
|
|
||||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (c) 2020-2021 royqh1979@gmail.com</p>
|
|
||||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Homepage: <a href="https://sourceforge.net/projects/dev-cpp-2020/"><span style=" text-decoration: underline; color:#007af4;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p></body></html></string>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="openExternalLinks">
|
</widget>
|
||||||
<bool>true</bool>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="lblCompileTime">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<weight>50</weight>
|
||||||
|
<bold>false</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Build time: %1 %2</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<weight>50</weight>
|
||||||
|
<bold>false</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Copyright(C) 2021-2022 瞿华(royqh1979@gmail.com)</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<weight>50</weight>
|
||||||
|
<bold>false</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><html><head/><body><p>Homepage: <a href="Homepage: https://sourceforge.net/projects/dev-cpp-2020/"><span style=" text-decoration: underline; color:#0000ff;">https://sourceforge.net/projects/dev-cpp-2020/</span></a></p></body></html></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<weight>50</weight>
|
||||||
|
<bold>false</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Red Panda Dev-C++:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_4">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<weight>50</weight>
|
||||||
|
<bold>false</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Copyright (c) 2004 Bloodshed Software
|
||||||
|
Copyright (c) 2011-2015 orwell devcpp
|
||||||
|
Copyright (c) 2020-2021 royqh1979@gmail.com</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<item row="0" column="0" colspan="3">
|
<item row="0" column="0" colspan="3">
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><html><head/><body><p>Red Panda Dev-C++'s Makefile has two important targets:</p><p>- all (which builds the executable)</p><p>- clean (which cleans up object files)</p><p><br/>&quot;all&quot; depends on 2 targets: all-before and all-after. All-before</p><p>gets called before the compilation process, and all-after gets</p><p>called after the compilation process.</p><p><br/>&quot;clean&quot; depends on the target clean-custom, which gets called</p><p>before the cleaning process.<br/></p><p>You can change the Makefile's behavior by defining the targets</p><p>that &quot;all&quot; and &quot;clean&quot; depend on.</p></body></html></string>
|
<string><html><head/><body><p>Red Panda C++'s Makefile has two important targets:</p><p>- all (which builds the executable)</p><p>- clean (which cleans up object files)</p><p><br/>&quot;all&quot; depends on 2 targets: all-before and all-after. All-before</p><p>gets called before the compilation process, and all-after gets</p><p>called after the compilation process.</p><p><br/>&quot;clean&quot; depends on the target clean-custom, which gets called</p><p>before the cleaning process.<br/></p><p>You can change the Makefile's behavior by defining the targets</p><p>that &quot;all&quot; and &quot;clean&quot; depend on.</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="textFormat">
|
<property name="textFormat">
|
||||||
<enum>Qt::RichText</enum>
|
<enum>Qt::RichText</enum>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Red Panda Dev-C++ 7
|
* This file is part of Red Panda C++
|
||||||
* Copyright (C) 2020-2022 Roy Qu (royqh1979@gmail.com)
|
* Copyright (C) 2020-2022 Roy Qu (royqh1979@gmail.com)
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
@ -135,7 +135,7 @@ int main(int argc, char** argv) {
|
||||||
if(argc < 3) {
|
if(argc < 3) {
|
||||||
printf("\n--------------------------------");
|
printf("\n--------------------------------");
|
||||||
printf("\nUsage: ConsolePauser.exe <0|1> <filename> <parameters>\n");
|
printf("\nUsage: ConsolePauser.exe <0|1> <filename> <parameters>\n");
|
||||||
printf("\n 1 means the STDIN is redirected by Dev-CPP;0 means not\n");
|
printf("\n 1 means the STDIN is redirected by Red Panda C++; 0 means not\n");
|
||||||
PauseExit(EXIT_SUCCESS,false);
|
PauseExit(EXIT_SUCCESS,false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Red Panda Dev-C++ 7
|
* This file is part of Red Panda C++
|
||||||
* Copyright (C) 2020-2022 Roy Qu (royqh1979@gmail.com)
|
* Copyright (C) 2020-2022 Roy Qu (royqh1979@gmail.com)
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
@ -148,7 +148,7 @@ int main(int argc, char** argv) {
|
||||||
if(argc < 3) {
|
if(argc < 3) {
|
||||||
printf("\n--------------------------------");
|
printf("\n--------------------------------");
|
||||||
printf("\nUsage: ConsolePauser.exe <0|1> <filename> <parameters>\n");
|
printf("\nUsage: ConsolePauser.exe <0|1> <filename> <parameters>\n");
|
||||||
printf("\n 1 means the STDIN is redirected by Dev-CPP;0 means not\n");
|
printf("\n 1 means the STDIN is redirected by Red Panda C++; 0 means not\n");
|
||||||
PauseExit(EXIT_SUCCESS,false);
|
PauseExit(EXIT_SUCCESS,false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue