Always when programs run they don't open in full screen by default. You must go to properties an change the settings. But i was wondering if there's a way you can code your program to do that when it runs without needing to go to properties.
A standard C++ program doesn't really have control over that. The console window is not part of your program. It's just what's being used to display the output and input of your program. It is possible to run the program without showing a console window. It's even possible to redirect the input and output to files.
If you really want to have control over the console window you will have to use platform dependent functions or special libraries to do that, but I'm not sure how many of them actually allow you to put the console window into fullscreen mode.
If you are using some kind of graphics/GUI library to do real graphics (no console window) then you can probably use the same library to put the window in fullscreen mode.