I've gone through a vast quantity of Google links and questions on here in order to understand how pipping works but I can't seem to grasp the concept of making my stdout redirect to the stdin of my second program.
I am attempting to create a program that moves around characters of text, encrypts it and puts it into a string. My second program is supposed to take that string and decrypt it. I understand the functions that are needed to create a pipe but what I don't understand is how it is pointed to the next program, all the source code that I have looked at seems to have both the parent and child in it and not in a second program.