File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1+ # #####################################################################
2+ # Automatically generated by qmake (3.1) Sun Nov 27 18:11:43 2022
3+ # #####################################################################
4+
5+ TEMPLATE = app
6+ TARGET = Console
7+ INCLUDEPATH += .
8+
9+ # You can make your code fail to compile if you use deprecated APIs.
10+ # In order to do so, uncomment the following line.
11+ # Please consult the documentation of the deprecated API in order to know
12+ # how to port your code away from it.
13+ # You can also select to disable deprecated APIs only up to a certain version of Qt.
14+ # DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
15+
16+ # Input
17+ SOURCES += main.cpp
18+ # RESOURCES += resources.qrc
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ int main(void)
4646 a.prepend (" Music " );
4747
4848 out << " Original mesasge: " << a << " \n " ;
49- out << " The a string has " << a.count ()
49+ out << " The a string has " << a.length ()
5050 << " characters" << " \n " ;
5151
5252 // toUpper() and toLower()
You can’t perform that action at this time.
0 commit comments