yes, i have refenrences particularly "Beginning Visual C++ 2008". Im just trying to experiment which things work and i found that definitions can all be written in .h without extra .cpp file.
--- In [email protected], "peternilsson42" <peternilsso...@...> wrote: > > "mark" <anthonymorada@> wrote: > > > > Thanks guys! i have made my sample code work now. I > > thought i cannot use '#include' and 'std::...' inside > > a .h file. So what are the differences of .h and .cpp? > > Do you have any reference texts or tutorials? I sincerely > hope you're not trying to learn C++ by pure experimentation. > > Explore the C-prog Links section for some tutorials and FAQs. > > -- > Peter >
