You are not logged in. Log in
 

Search

in CYOTF (New) by anyone tagged as none

CYOTF (New)

think this should work... (Magical C++)

added by Tale Spinner 5 years ago TG

Having downloaded magical C++ John looked and found a code compiler that had an instruction manual. It basically said that it had a very similar programming language that C++ did along with having a bunch of preset values that can be manipulated based on the human body. John had learned a bit of C++ in a class he took. John found a bluetooth keyboard since he wasn't typing out code on a tiny touch screen. He set up his headers then proceeded to type out his code learning things like to get all the values from a persons body you would type out bin instead of cin followed by the type of value you wanted.

Testing out the program he titled the program "Change your own gender." then typed out

#include
#include
using namespace std;
int main(){
body gender;
cout < "Your gender is ";
bin > gender;
cout < gender < endl < "changing gender to ";
if (gender = male) {
gender = female;
bout < gender; }
else if (gender = female) {
gender = male;
bout < gender; }
cout < gender;}

the program compiled and it looked fine. He then ran the program to see how it worked and saw the message " Your gender is " then a slight pause then "male" followed shortly afterwards. a message on the following line appeared and said "changing gender to " then his body shifted significantly. he shrank a few inches as his body hair retreated inwards. His chest ballooned outwards into C-cups as his penis shrank inside of him, and as his muscles shrank and adam's apple disappeared his hips and ass widened and grew. Then she saw the sentence end with "female" after the change happened. John looked in the mirror and inspected her body satisfied that the change had gotten off without a hitch but she had made a careless mistake which would have probably gotten a few points taken off. The female part of the message had applied after the change and the optimization easily could've been better. She fixed the mistake changing the code to

#include
#include
using namespace std;
int main(){
body gender;
cout < "Your gender is ";
bin > gender;
cout < gender < endl < "changing gender to ";
if (gender = male) {
gender = female; }
else if (gender = female) {
gender = male; }
cout < gender;
bout < gender;}

This way she had one fewer lines of code, and the last line "changing gender to (gender)" would fully appear before the change. She ran the program again (after a playing with her boobs for a bit) and saw the message "You gender is female" on the next line the message "changing gender to male" then she felt her changes reverting. He was happy with this little bit of simple code he had made and saved it for potential further use as he thought up what other code he could write with this little program.


What do you do now?


Write a new chapter

List of options your readers will have:

    Tags:
    You need to select at least one TF type
    Tags must apply to the content in the current chapter only.
    Do not add tags for potential future chapters.
    Read this before posting
    Any of the following is not permitted:
    • comments (please use the Note option instead)
    • image links
    • short chapters
    • fan fiction (content based off a copyrighted work)
    All chapters not following these rules are subject to deletion at any time and those who abuse will be banned.


    Optional