its a bubble sort (sorting algorithm), i was trying to make it look more readable for beginners. Without any function and any class just simple as c.
For further actions, you may consider blocking this person and/or reporting abuse
its a bubble sort (sorting algorithm), i was trying to make it look more readable for beginners. Without any function and any class just simple as c.
For further actions, you may consider blocking this person and/or reporting abuse
Vargas Behrens -
Ajo George -
Lamm Figueroa -
Lamm Figueroa -
Top comments (2)
You can write your c++ code almost exactly like a plain c code. Just look up for the c*.h headers, like cstdio instead of stdio.h. But if it's your intention, why not just write in C? C++ can link against C code too.
Yeah it can.Just messing with the syntax.