is there another option instead of system("pause"); ??
Yeah. Running your console program the proper way -- from the console.
Start the Command Prompt (Start -> Run -> cmd.exe) then navigate to the folder where your executable is at, and run it. No more pausing of any kind required.
Minor note, some IDE's are smart enough to pause the output window automatically for you.