Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » GeoFun -- Plot Spirograph
Re: GeoFun -- Plot Spirograph [message #43749 is a reply to message #43734] |
Wed, 01 October 2014 23:30   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello deep,
A small note on your code, you should never use following statement in your header file:
This is definitly bad practice and it can lead to mistakes in the future.
You can improve your code quality by simply using:
// In header file (.h):
NAMESPACE_UPP
#define IMAGECLASS GFImg
#define IMAGEFILE <GeoFun/GeoFun.iml>
#include <Draw/iml_header.h>
// ...
END_UPP_NAMESPACE
// In implementation file (.cpp)
#include "GeoFun.h"
using namespace Upp;
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Wed, 01 October 2014 23:30] Report message to a moderator
|
|
|
 |
|
GeoFun -- Plot Spirograph
By: deep on Thu, 28 February 2013 16:38
|
 |
|
Re: GeoFun -- Plot Spirograph
By: deep on Fri, 01 March 2013 13:39
|
 |
|
Re: GeoFun -- Plot Spirograph
By: deep on Fri, 01 March 2013 13:45
|
 |
|
Re: GeoFun -- Plot Spirograph
By: deep on Sun, 03 March 2013 18:59
|
 |
|
Re: GeoFun -- Plot Spirograph
By: deep on Thu, 25 September 2014 19:47
|
 |
|
Re: GeoFun -- Plot Spirograph
By: koldo on Fri, 26 September 2014 09:01
|
 |
|
Re: GeoFun -- Plot Spirograph
By: deep on Sat, 27 September 2014 19:57
|
 |
|
Re: GeoFun -- Plot Spirograph
By: koldo on Mon, 29 September 2014 08:56
|
 |
|
Re: GeoFun -- Plot Spirograph
By: deep on Mon, 29 September 2014 15:24
|
 |
|
Re: GeoFun -- Plot Spirograph
By: koldo on Tue, 30 September 2014 17:23
|
 |
|
Re: GeoFun -- Plot Spirograph
By: Klugier on Wed, 01 October 2014 23:30
|
 |
|
Re: GeoFun -- Plot Spirograph
|
 |
|
Re: GeoFun -- Plot Spirograph
By: deep on Wed, 08 October 2014 17:01
|
 |
|
Re: GeoFun -- Plot Spirograph
|
 |
|
Re: GeoFun -- Plot Spirograph
|
Goto Forum:
Current Time: Tue Apr 29 09:04:12 CEST 2025
Total time taken to generate the page: 0.03546 seconds
|