I got the solution. There is a two solution:
- First my file name was
bubbleSort.cpp
, but it has to be .c
means bubbleSort.c
as I was running C Program.
- If I
want to run
the code in .cpp
then I should include #include<iostream>
header file.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…