Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Dario1984

  1. Dario1984

    Using directives

    Hi. I'm trying to use the using directive like a typedef in C++. Can I re-write the following to be legal in C# in any way ? ..... using UidListType = System.Collections.Generic.List<UidType>; using BodyTableType = System.Collections.Generic.Dictionary<string, UidListType>; using...
  2. Dario1984

    C++ features in C#

    Thanks for the discussion. I think everyone missed my original question about the set though. Do you remember #include <set> ? I just wanted something to insert values into and to have them automatically rejected, if they were not unique. Is this available in C# ?
  3. Dario1984

    C++ features in C#

    Is there any eqivalent of S.T.L. sets in C# ? Also, I read you can't have a static variable that is shared between all instances of a class. Is there a simple way to do it ?
  4. Dario1984

    Confusing Error Message With Multimap

    Thanks anyway guys. It was actually an error I got when trying to put the <string, string> into the multimap. On the Sun CC compiler, it turns out you can only have <const string, string>. So that's why no one else was able to see those errors. CC is quite weird !
  5. Dario1984

    Confusing Error Message With Multimap

    I'm having a problem with my multimap. I've looked on the internet, and I can't see anything different to what other people have done. I get one of those long and unhelpful errors. I know it's against the policy to post uni questions on here, but our C++ lecturer has gone to Italy and China for...
  6. Dario1984

    Frustrating Error

    If I use that view to build up another view, can I sort it before I create the next view ?
  7. Dario1984

    Frustrating Error

    Thanks mate. It's nice to pick up these little important pieces of knowledge from experienced users.
  8. Dario1984

    Frustrating Error

    I'm new to SQL and have tried a number of ways to fix my "missing right parenthesis" error. It puts an asterisk under the keywork ORDER. CREATE VIEW DRINKER_LIKES_PUB_LOC_VIEW (NAME, DRINK, PUB, STREET, ADDNO) AS ( SELECT DRINKER_LIKES_PUB_VIEW.Name, DRINKER_LIKES_PUB_VIEW.Drink...
  9. Dario1984

    Command Not Properly Ended

    Oh sorry, I didn't see it. Yeah, it works good.
  10. Dario1984

    Command Not Properly Ended

    Thanks, I missed the CHECK. However, it doesn't get rid of the error ? Any other ideas ? Maybe it's becaue I'm trying to add 'GARDENING' to the already existing condition ? Do I have to delete the condition and re-write it ?
  11. Dario1984

    Command Not Properly Ended

    Hi, I'm just starting out in the world of SQL and I wrote some code and got an error like this : SQL> SQL> ALTER TABLE Book 2 MODIFY CONSTRAINT Book_CHK1 3 (topic IN ('ART', 'ARCHITECTURE', 'BIOGRAPHY', 'CHILDREN', 'COMPUTER', 4 'COOKING', 'FOOD AND WINE', 'GARDENING', 'HEALTH', 'HISTORY'...
  12. Dario1984

    Command Not Properly Ended

    Hi, I'm just starting out in the world of SQL and I wrote some code and got an error like this : SQL> SQL> ALTER TABLE Book 2 MODIFY CONSTRAINT Book_CHK1 3 (topic IN ('ART', 'ARCHITECTURE', 'BIOGRAPHY', 'CHILDREN', 'COMPUTER', 4 'COOKING', 'FOOD AND WINE', 'GARDENING', 'HEALTH'...

Part and Inventory Search

Back
Top