Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Shift damn you.

Name: Anonymous 2010-09-01 22:45

So, im writing a c++ program and i have it all done encept for some reason i cannot get the idea behind shifting a string down.
so i was wondering how you code to get
abc...yz   to become
bcd...za?

Name: Anonymous 2010-09-02 5:04

>>17,18: to prevent you two morons from feeling too good about yourselves: rotate(s.begin(), s.begin() + 1, s.end());

This endless reinvention of the same square wheel. This arrogant ignorance of the fucking standard library that does the goddamn thing right. C programmers are scum, unworthy of the gift of life.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List