Thread: directives

  1. #1
    Unregistered
    Guest

    directives

    I am writing a program and I need to put in a function so the program will read a string in upper or lowercase. I put in the transform function but it is telling me I need to include the #include alogorithm directive and I don't know how to create it. How would I create that directive?

  2. #2
    Registered User blight2c's Avatar
    Join Date
    Mar 2002
    Posts
    266
    post the code

  3. #3
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    #include <algorithm>

    using std::transform;
    //etc

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C/C++ preprocessor directives
    By coletek in forum C++ Programming
    Replies: 11
    Last Post: 01-11-2009, 04:24 PM
  2. Directives and Macro Resources
    By Luciferek in forum C++ Programming
    Replies: 1
    Last Post: 08-06-2008, 06:53 AM
  3. \ in preprocessor directives
    By shawn_drn in forum C Programming
    Replies: 1
    Last Post: 01-16-2005, 03:49 PM
  4. preprocessor directives
    By linuxdude in forum C Programming
    Replies: 1
    Last Post: 12-16-2003, 10:30 PM
  5. about preprocessor directives...
    By Nutshell in forum C Programming
    Replies: 14
    Last Post: 04-18-2002, 12:45 AM