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 » U++ SQL » SQL tutorial 5 and using namespace Upp; in header file (Solved)
SQL tutorial 5 and using namespace Upp; in header file (Solved) [message #52791] Mon, 25 November 2019 17:22 Go to previous message
coolman is currently offline  coolman
Messages: 114
Registered: April 2006
Location: Czech Republic
Experienced Member
Hi,

It may be a stupid question, but I can't figure it out.

If you take a look at https://www.ultimatepp.org/srcdoc$Sql$tutorial$en-us.html#5 you can see "using namespace Upp;" in the MyApp.h.

How can I avoid this usage in header file and still be able to use defined SqlId constants in other source files (there can be more than one source file using the SqlID constants)?

BR, Radek

[Updated on: Sat, 30 November 2019 05:14]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: sql innerjoin not working
Next Topic: BUGFIX: MySqlConnection::SetParam(): handling INT64_V is missing
Goto Forum:
  


Current Time: Fri Mar 29 06:07:43 CET 2024

Total time taken to generate the page: 0.01118 seconds