Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 31st, 2005, 09:51 AM
Registered User
 
Join Date: Jul 2005
Location: Toronto, Ontario, Canada.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default New programmer - Compiling problems

Hello, I'm trying to learn C or C++. It would be my first language.

(Please refrain from telling me that it's too hard for a starting language ... I believe that whether something is easy or difficult is only a matter of perception. I hear that simpler languages teach bad habits. In addition, I strongly believe I am capable of grasping the concepts.)

Anyway, I'm trying to learn by tutorials. I'll probably get a book some time down the road. The tutorials compile fine... probably because they rarely do anything terribly demanding. Sometimes I've tried compiling open source code, to try and learn by example (Sourceforge comes in handy for things like that). However, almost nothing will compile. I frequently encounter innumerable errors and/or warnings. I believe that some of the problem is that I don't have some header files, but I also get errors when I know I have the required header files. Still, I'm extremely green in the field and I admit that at this point I don't really know what I'm doing, so I could be way off.

I am using the Dev-C++ 5 beta IDE. I can post examples of errors I get or post links to source that I'd like to try compiling.

Oh... 2 minor things. What exactly is a makefile? Also, in IDEs you can save "project" files. How important is it to use a "project" file? I would imagine it's possible to get by without them, but that the "projects" simplify things.
Reply With Quote
  #2 (permalink)  
Old November 6th, 2005, 08:30 PM
Authorized User
 
Join Date: Nov 2005
Location: Chennai, Tamil Nadu, India.
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Paramesh
Default

Hi,
Quote:
quote:
I frequently encounter innumerable errors and/or warnings. I believe that some of the problem is that I don't have some header files, but I also get errors when I know I have the required header files
Many use different libraries and header files for their programs.
So the better thing is stick to your book.
Learn all the basics and then go to sourceforge.

Look at the project documentation for more information about the project.

Quote:
quote:
Oh... 2 minor things. What exactly is a makefile? Also, in IDEs you can save "project" files. How important is it to use a "project" file? I would imagine it's possible to get by without them, but that the "projects" simplify things.
A description file that defines the relationships or dependencies between applications and functions; it simplifies the development process by automatically performing tasks necessary to rebuild an application when you modify code.
You can google it for more information.

A project file is a file maintained by the dev c++ or an IDE to keep track of the various files and libraries included in the project.
For example, if you have 10 C++ files, 5 lib files and 4 header files, you can store it as a project. If you compile, all the files will be compiled.

Yes.It is possible to go without project files but that would be difficult in an IDE.
Most of the IDEs compile only if we create a project.

Regards,:)
Paramesh.
Reply With Quote
  #3 (permalink)  
Old November 6th, 2005, 10:40 PM
Authorized User
 
Join Date: Nov 2005
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://www.mindview.net/Books/TICPP/...ngInCPP2e.html

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I am having problems compiling Hello World program jch BOOK Beginning Linux Programming, 3rd Edition 5 August 26th, 2008 10:33 AM
New Programmer misty5 SQL Language 3 September 2nd, 2007 02:30 PM
Being a C++ programmer michaelbao C++ Programming 0 September 23rd, 2006 07:07 PM
Looking For Programmer buddzilla C++ Programming 2 September 3rd, 2005 09:13 PM
New to Java, problems compiling Kyle Colyer JSP Basics 3 September 6th, 2003 04:58 AM



All times are GMT -4. The time now is 04:47 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.