i am just curious if there is a way to set a "right justification" of data instead of using "setw" as i have in this example....

Code:cout<<"Total number of probes in Unordered Array: "<<setw (25)<<total_probes<<endl; cout<<"Total number of probes in Ordered Array: "<<setw (26)<<total_probes2<<endl; cout<<"Total number of probes in {binary search} of Ordered Array: "<<setw (8)<<total_probes3<<endl; cout<<"Total number of probes for all arrays were:"<<setw (25)<<total_probes + total_probes2 + total_probes3<<endl;