new to C++ development

I am a java developer new to C++ development. I am using eclipse ide downloaded from

http://eclipse.org/downloads/moreinfo/c.php

What is the best place to start. Please provide sample code, links, resources, sample training videos.
I tried helloworld example getting errors with endl cannot be resolved. std not defined etc
#include <iostream>
using namespace std;
void main()
{
  cout << "Hello World!" << endl;   cout << "Welcome to C++ Programming" << endl; }

Open in new window


what servers we run on. Can i build some simple web CRUD application to insert data into a database like oracle etc.
Thanks in advance
LVL 7
gudii9Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mwochnickCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gudii9Author Commented:
i tried
http://www.engr.mun.ca/~licheng/1020/how-to/eclipseTutorial/eclipseCppTutorial.htm

not sure what is MIGgw GCC project type. I do not have that option
0
mwochnickCommented:
didn't see the second part of your question about what servers C++ runs on.  C++ is a little different than java in that regard - its lower level - there are a few virtual machines out there but in general you are compiling and linking programs that run on natively on the host operating system or are plugins to a webserver like apache

Although to if your interested in the Microsoft platform you can run C++ in the .NET framework
http://msdn.microsoft.com/en-us/library/ms379617(v=vs.80).aspx

Apache
http://zach.chambana.net/apache-cplusplus/
0
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

mwochnickCommented:
GCC is a collection of compilers the gnu c++ compiler is one of them
http://gcc.gnu.org/

here's a video on setting up your environment
http://www.youtube.com/watch?v=xryv0fCL8us

0
masheikCommented:
Hi,
 
   There are lot of tutorials available in the internet,
   search with "C++ Tutorials for beginners" in google you will fin,d lot of materials ,
   If you want to go for books,
   go for Complete Reference type books like "C++ complete Reference by Schildt " and book from the c++ creator Bjarne Stroustrup,

   If you want to try some IDE,
   I recommend Code::Blocks, which is good to go for beginners ,

   code blocks --> http://www.codeblocks.org/downloads/26  Download one with mingw compiler

   If you download Microsoft Visual C++ 2008 Editon (Free ) this is also good,
 

  Apart from that try to read Open course ware lecture notes from MIT university,

  Few good links,
  http://www.cplusplus.com/doc/tutorial/
  http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/
0
masheikCommented:
you can create engine for web CRUD in C++ and run the engine on the background of the UI
0
gudii9Author Commented:
>>http://www.youtube.com/watch?v=xryv0fCL8us


the three video tutorials here are good. I am looking for more advanced video tutorials on C++ development using eclipse cdt, Mignw compiler similar to what is  shown in above videos. I want one piece of code calling other function which returns like string etc in different file in same or different package. I would like to see how using eclipse i can navigate to the called function area automatically from calling function by clicking on function. please advise
0
gudii9Author Commented:
>>http://www.ibm.com/developerworks/opensource/library/os-eclipse-stlcdt/

i was going through above link example.

I see some ".h" files. What are they.  I know about .cpp files but not sure on .h files. Are they not C++ files. Please advise
0
gudii9Author Commented:
is there is any simple example like above one with only cpp files not .h file
0
masheikCommented:
Those are header files , which only contains the declarations not entire implementations you can consider them without .h files
0
mwochnickCommented:
here's another tutorial for CDT from IBM - its a bit dated but relevant
There's a nice set of additional links in the resources section at the end
http://www.ibm.com/developerworks/opensource/library/os-eclipse-stlcdt/

The CDT FAQ is also a good resource for questions about configuring CDT
http://wiki.eclipse.org/CDT/User/FAQ

here is a link to some more videos
http://wiki.eclipse.org/CDT:Movies
 
0
masheikCommented:
hi mwochnick, the first link ,i have posted that already
0
mwochnickCommented:
II'd work with the .h header files as shown in the tutorial.  They are an essential part of C and C++ programming as that is how you tell the compiler what the interface to functions that you planning to use are - its kinda like an include in java

at compile time the compiler uses this to make sure you have call to the function or reference to another class from a library correct

at link time the actual library that header file is representing needs to be present to link your compiled program to the library to produce the exe - unless you are working with dynamic linking - then the linking is done when the program is run
0
mwochnickCommented:
masheik - didn't see your post - sorry about that - did you notice you did the same to me earlier? - its not a problem just the nature of the beast
0
masheikCommented:
ya, it happens, may be you are not refreshed the page, that is okay,no need to be sorry, i commented because user once again posted the link and asking for some help,and i thought you would have seen that link.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.