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

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: 119
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: Tue Apr 28 15:42:43 GMT+2 2026

Total time taken to generate the page: 0.00457 seconds