COMP2113
COMP2113_ENGG1340 Programming technologies and Computer programming II [Section 2BC] [2023]
Loading...
Searching...
No Matches
string_basics.cpp
Go to the documentation of this file.
1
#include <iostream>
2
#include <string>
3
using namespace
std;
4
5
int
main
() {
6
string
greeting =
"Hi"
, name =
"COMP2113_ENGG1340"
;
7
cout << greeting <<
" "
<< name << endl;
8
greeting =
"Good morning"
;
9
cout << greeting <<
" "
<< name << endl;
10
return
0;
11
}
main
int main()
Definition
string_basics.cpp:5
Module3
string_basics.cpp
Generated on Sun Sep 29 2024 16:39:53 for COMP2113 by
1.12.0