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 » Community » Newbie corner » expected template name ???
expected template name ??? [message #31260] Thu, 17 February 2011 15:12 Go to previous message
jibe is currently offline  jibe
Messages: 294
Registered: February 2007
Location: France
Experienced Member
Hi,

Trying to write a new application, I get this message :

"TheIde"

main.cpp
In file included from /home/joseph/upp/MyApps/gTMXcleaner/main.cpp:1:
/home/joseph/upp/MyApps/gTMXcleaner/gTMXcleaner.h:13: error: expected template-name before ‘<’ token
/home/joseph/upp/MyApps/gTMXcleaner/gTMXcleaner.h:13: error: expected ‘{’ before ‘<’ token
/home/joseph/upp/MyApps/gTMXcleaner/gTMXcleaner.h:13: error: expected unqualified-id before ‘<’ token



The line 13 is the declaration of the class :
#ifndef _gTMXcleaner_gTMXcleaner_h
#define _gTMXcleaner_gTMXcleaner_h

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

#include "Controls4U/Controls4U.h"

#define LAYOUTFILE <gTMXcleaner/gTMXcleaner.lay>
#include <CtrlCore/lay.h>

class gTMXcleaner : public WithgTMXcleanerLayout<TopWindow> {
public:
	typedef gTMXcleaner CLASSNAME;
	gTMXcleaner();

	void Clean();
	void Close();
	void Fichier();
};

#endif

What is wrong ? Seems that I followed exactly the samples...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Introduction (Howard Lee Harkness)
Next Topic: Background of static frames
Goto Forum:
  


Current Time: Wed May 15 10:29:06 CEST 2024

Total time taken to generate the page: 0.02343 seconds