C++ and Access Watch
I'd personally uses a better database.
If you need to access Access reports as opposed to simply access data, you're probably going to have to investigate MS Access' automation interface so it'll be more COM and probably quite messy from C++.
I am making a magazine inventory system, so it stores the name, publisher, etc of magazines, up to 1000.
I want it so when the user enters a magazine in the program it will then store to Access database using C++ as the in between.
Also if i can get that working, is it possible to print out a report made in access using C++
On the other hand, if you just need a persistence mechanism for some custom C++, as mentioned previously, there are easier and better ones than Access.
It doesn't look like you have a complex data set to manage, as long as you don't have any overly restrictive concurrency requirements, I think you'll find that a simple file-based persistence mechanism will be a lot cheaper to implement.
If you want to interact with a database from C++ then assuming you're not going to implement the database yourself (i.e. you're not doing the raw file handling) then you'll need to use a database API. I gave you a link to a whole lot of possiblities from Microsoft as you seemed to need Access at the time, but if you're now considering other databases such as MySQL, Oracle, postgres then these have there own APIs and google is your friend.
I just need some pointers
As far as printing reports, that's not really the job of a database. Do you mean just printing text to screen, or "pretty printing" in a pdf / send to printers type of printing? If the former, just regular C++ streams output would work, if the later you'll probably want to use some sort of library, or possibly output something that can be postprocessed by another tool. For example, you could format html that could be printed by a browser, or you could format tex or latex that can be turned into a pdf an printed by a pdf reading tool.
could you guys please give me some hints on how i would write to a database instead of suggesting databases???
How you do it depends on which database you are using. We don't know which database you've chosen, but you originally suggested Access. I pointed you at the Microsoft documentation for a range of different APIs as one of these is likely to be what you'd have to use. Without any more specific questions, or at least an indication of which API you are going to use it's difficult for anyone to suggest how you are going to do this. Have you looked at, for instance, the ADO API, to see if it offers you the functionality that you think you'd need?