Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » how to #define/#include correctly the .iml file
Re: how to #define/#include correctly the .iml file [message #3466 is a reply to message #3464] Thu, 25 May 2006 23:44 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
forlano wrote on Thu, 25 May 2006 17:21

luzr wrote on Thu, 25 May 2006 22:54

Only single ".h" and single ".cpp" placement is needed - as long as .cpp include that ".h" (it is in fact same as declaring (in .h) / defining (in .cpp) class and its methods).

Means you can most likely delete .iml include from vegatab1.cpp and vegatab4.cpp.

Mirek

In vegatab4.cpp you are right, but in vegatab1.cpp if I remove it I get complain from the compiler:
C:\Vega\Vega3\VegaTab1.cpp: In function `void Avail3(One<Ctrl>&)':
C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgYes' undeclared (first use this function)
C:\Vega\Vega3\VegaTab1.cpp:49: error: (Each undeclared identifier is reported only once for each function it appears
	 in.)
C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgNo' undeclared (first use this function)
C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgMaybe' undeclared (first use this function)
C:\Vega\Vega3\VegaTab1.cpp: In constructor `VegaTab1::VegaTab1()':
C:\Vega\Vega3\VegaTab1.cpp:89: error: `imgYes' undeclared (first use this function)
C:\Vega\Vega3\VegaTab1.cpp:128: error: `female' undeclared (first use this function)
C:\Vega\Vega3\VegaTab1.cpp:128: error: `male' undeclared (first use this function)

Luigi



Do you include "vegamain.h" there?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to show the plot of a function
Next Topic: How to display an icon on the right side of a label/button
Goto Forum:
  


Current Time: Tue Aug 26 09:39:05 CEST 2025

Total time taken to generate the page: 0.09506 seconds