U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Enhancing project templates (upt files)
Re: Enhancing project templates (upt files) [message #5436 is a reply to message #5428] Thu, 21 September 2006 15:50 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Werner wrote on Thu, 21 September 2006 05:25

When working on the project template documentation, I noticed that the "Console application (no U++)" template defines a non-standard main function:

The standard requires main() to return an int.

Furthermore the standard requires the strings to which argv[] points not to be constant.

Last but not least "stdio.h" should be "<iostream>".

After all, if somebody exploits TheIDE to write plain C++ programs, he or she should get the plain standard. Laughing

Werner




Thanks. As I am not planning to do anything with templates in near future.. what about posting here all your templates when you are finished? Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Assamblies and nests
Next Topic: Ctrl Documentation Bug?
Goto Forum:
  


Current Time: Thu Jul 30 09:05:09 GMT+2 2026

Total time taken to generate the page: 0.00649 seconds