Only done a handful of stouts myself so not sure.
Either flaked oats and flaked barley I believe will add 'mouthfeel' - creaminess, silkiness in your mouth but not flavours. Flaked Oats particularly so, Flaked barley adds protein and some body and is used more to get a creamy head on the beer.
For flavour additions you need steeped grain for that - stouts typically use crystal malt, roasted barley, black malt, chocolate malt, and some use roast wheat and european dark grains among others in their recipes.
Related post on flaked barley here:
Flaked Barley. It concurs with what the guys have said - that you need a base grain to add this as well.
I know that on the all-grain posts here there are plenty of people who add the supermarket oats to their stouts - check out any 'Oatmeal Stout' and you'll find a lot of them use them. Again appears that any flaked adjunct needs to be mashed in with some grain.
Hope this helps, sorry not an uber expert on stouts (yet B) ).
Hopper.
Edit - My meagre knowledge topped up by a quick read of Palmer's 'How to brew'