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++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Console 'Hello World' won't build.
Re: Console 'Hello World' won't build. [message #10907 is a reply to message #10906] Sat, 04 August 2007 01:35 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
If I recall well, one can't use "naked" "main" function with U++...
Have a look at console apps examples (e.g CParser)

3 minimum U++ requirements :

1. include at least one U++ package which recursively includes <Core/Core.h>

2. Your code must be wrapped inside:
2.a
 CONSOLE_APP_MAIN
{
...
}

OR
2.b
 GUI_APP_MAIN
{
...
}

3. Main package configuration flags must be set accordingly: CONSOLE or GUI.


====
"String" is not recognized because it gets included with "Core" mentioned above.

[Updated on: Sat, 04 August 2007 01:37]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: What compiler are you using with Ultimate++?
Next Topic: Intel compiler
Goto Forum:
  


Current Time: Fri Jul 18 06:31:11 CEST 2025

Total time taken to generate the page: 0.05791 seconds