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 #3464 is a reply to message #3460] Thu, 25 May 2006 23:21 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
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
 
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: Fri May 03 20:48:57 CEST 2024

Total time taken to generate the page: 0.02382 seconds