Uploading C files with Arduino 1.05

Hello,
I am a newbie to Arduino but not to programming. My challenge is handling c files with extension .h and .cpp. The Arduino IDE will not open or save .c or .h files. I can create them in an external IDE and save them in the Arduino folder, but how do I upload them? And when I try to upload with Arduino I receive programming errors. I am working with the dht22 libraries located at Arduino/libraries/DHTlib at master · RobTillaart/Arduino · GitHub

Any help would be appreciated. Thank you for your time.

My learning curve is showing here, but in case someone else is hitting the same curve this is what I am doing. I have read this pages.

And watched this YouTube video Getting Started AVR with Eclipse Development and Arduino board in Linux - YouTube

The easiest thing to do is include the c files as a library to the arduino sketch. Look up on how to make custom libraries.

The Arduino IDE will not open or save .c or .h files.

Yes, it will, if they are in the same directory as the .ino file.

but how do I upload them?

Reference the header file in the sketch. The corresponding source file will then be compiled and made available to the linker.

I am working with the dht22 libraries located at

What, exactly, seems to be the problem?

Ok, in case anyone finds this post - this is the tutorial that worked for me.
http://horrorcoding.altervista.org/arduino-development-with-eclipse-a-step-by-step-tutorial-to-the-basic-setup/

Be sure and read the comments at the bottom, he missed a few descriptions but I was able to find the answers in the comments.