By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,797 Members | 1,794 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,797 IT Pros & Developers. It's quick & easy.

ultimate API noobie qs

P: 75
well well where do i start?? :D

ok im working on the Maya SDK, using VC++ EE, and i got a bunch of questions if any may know.. (i hope im posting in the right place :S)

1- what does the "#pragma comment(lib,"OpenMayaUi.lib)" mean???
2- why do i need a header file?? other than the C++ in my project? what does it exactly do? how does the compiler deal with them? and how do they interact with the C++ code?
3- when do i use public:?? and when private:??

ill be back soon... thanks 4 any feedback :)
Jun 10 '07 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 5K+
P: 9,197
I would start with a book. Try "C++ Primer Plus" by Stephen Prata.

A C++ textboook will explain why header files are important and how to use them. In Prata's book that start's on page 393.

When to use public and private is so general that's is not possible to answer that question. First you need to understand the concept of encapsulation and why that is important.

Use your docs for the #pragma. Put your mouse on the word and press F1.

Also, consider taking a C++ class at your local college.
Jun 10 '07 #2

P: 75
1st of all thnx 4 ur answer, and about the course, there isnt a single place around here that has an idea how 2 teach programming languages :S
and as for the book, i already have the deitel and deitel book, and im tryin to go thru it b4 i come here again and start dumpin more questions hehe


Jun 12 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.