differances in msvc++5 and 6
ok, i just learned something. to be a programmer, i am going to have to learn new code every year or so, that sucks.i am learning code out of a book that was written for msvc++5, but im using msvc++6, when i write the code straight out of the book, it will not compile for nothing, but i can take the source code that come on a cd with the book, open a workspace from the cd, and it tells me that it was written in old formate, do i wont to convert it. i click yes and when compiled runs fine.so basicaly i wasted my money even getting this book.so what i want to know is, what are the main differances in the two versions,(msvc++5 and msvc++6) and can i still use the book, with a little formatting of code? sometimes it asks me if i want to use old style formate?how can i do that?
thanks,
scott
differances in msvc++5 and 6
woo, someone having a bad hair day?
you didnt read the post clearly, and you most deffinately didnt answer any questions i asked
Q: have i had any problems so far with it
A: yes
Q: does the example code compile?
A: NO <----- like i said, you didnt read the post clearly
Q: is the language different in the book compared to how it is now?
A: yes
Q: can i still use the book? <---- now pay attention here
A: no, and yes
now the question does the example code compile is where you got lost, yes i can open the workspace from the cd rom and when trying to put it in it askes me if i want to convert to the later formate.and i say yes, wala, its there. but let me ask you this? how am i learning anything if i copy and paste code? i thought actually writting the code i would learn more?
ok the next one was, is the code differant? yes it is, i looked at both, and compared.when i WRITE the code out of the book, it puts it like this
CWebBrowser m_target()
CWebBrowser m_search()
when i COPY it from cd, and it CONVERTS it, it looks like this
CWebBrowser m_target;
CWebBrowser m_search;
yes, the first one gives me errors, but it dont give and update code to new formate option if i write it straight out. that is only one of 8 errors and one of many differant code i saw.
can i still use the book? i probably can, but i am going to have to change my coding to the new style, WHICH WAS WHAT I WAS ASKING IN THE FIRST PLACE ON THIS POST, HOW CAN I DO THAT?i didnt say the book was bad or anything. matter of fact, i like the book very much,except that it is an older code ( version ) book
now, if i write code out of the book, how can i update it, or how can i change my code to work?i dont see an update code option when i write it straight out of the book.so i have got to do it manualy. thats what i was asking.im not the kind of person who is gonna sit here and copy and paste code, i cant learn anything that way, IM NOT GOING TO DO IT THAT WAY.
differances in msvc++5 and 6
o yeah, the first thing i learned out of this book, was
void main()
hmm, how is this differant than int main()?
differant code?i guess not