FORGET ABOUT using 20- to 30-year-old Minolta mount manual focusing lenses on a brand-new, d-slr camera! Just forget about it. NEITHER Nikon F-mount NOR Canon EF-mount d-slr cameras work well with Minolta's old lenses. Minolta's old lens mount is not a very compatible mount with a Canon or Nikon d-slr camera system, plus you're just, as a beginnr, WASTING time and shot opportunities futzing around with lens f/stops and manually trying to squint-focus MF lenses on AF cameras that have small, squinty, sub-standard viewfinder images.
Stick with _modern_, system-specific autofocusing lenses!!! The results in sticking with modern, camera-brand-spoecific autofocusing lenses will, for a beginner, especially on entry-level compact d-slr bodies like the two you mentioned, be well,well worth it!
For the beginning shooter, using a compact, pentamirror type d-slr, using obsolete lenses, or lenses that require a glass element in the lens adapter is just an exercise in missed shots, bad light metering, and flub-ups. SYSTEM-specific lenses, those designed for modern, autofocusing cameras, are the very best bet for the beginning shooter!