Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 9th, 2006, 05:57 AM
Registered User
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jared_edge Send a message via MSN to jared_edge
Default Has anyone experienced this kind of thing?

I am trying to study c++ from a book. I have done exercises now I am reviewing. Redoing exercises, keeping original files in separate folders and making completely new files. Everything was working out easy until i got to a simple task of linking a header file to a source code file. Listen, don't jump to conclusions because it doesn't seem to make sense.

I already wrote one declaration from header file in the source file. used it, compiled it and it was successful. In the same header file I added another declaration and again added a call for that in the source code. Only now it doesn't compile. says" 'name' undeclared (first use this function)I have got this error before and led me to check header file, but I could not see anything wrong with it. So I moved the header file I created the first time I did the project, but renamed it. now I linked those 2, and they compiled successfully. ok, so now im thinking there definitely must be something wrong with the other header. So I copy and paste stuff with no luck
Lastly I did a saves to my Old header and over wrote the bad header. I try to compile and it still does not work and has the same error.

I have just skipped this knowing I don't know what is going on but any suggestions could help. I try to move on but I am obsessive.
by the way, i am using Quincy 2002 v 3.2.3 for all my programming.

Reply With Quote
  #2 (permalink)  
Old September 18th, 2006, 03:55 PM
Authorized User
Join Date: Mar 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to skoob1152 Send a message via Yahoo to skoob1152

What you mean header files? are refering to functions?

Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
For the experienced ones... Thomas82 Classic ASP Databases 6 June 20th, 2007 03:16 AM
About CSS Chapter 5 the <thing> + <thing> {} part thenetduck BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 February 7th, 2007 03:45 AM
Question to all the experienced C# programmers... ChiefOwl1971 C# 2 August 15th, 2006 03:27 PM
I am an experienced asp.net(c#) developer . JasonGuo ASP.NET 1.x and 2.0 Application Design 0 March 23rd, 2006 11:24 PM

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