Go to the tutorials (top of page) and read some basic C++ tutorial. You seem to need it.
You only need to define the struct once, and in case of STARTUPINFO it is already defined in windows.h (actually winnt.h or wincore.h or something like that). Once a struct us defined, you can create an object like this:
STARTUPINFO si;