Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. STL

STL

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RalfPeter
    wrote on last edited by
    #1

    Hi all, I'm using a list"double" variable in my code. Even though I added the #include "list" to the beginning of the file, I keep getting a 'undeclared identifier' message. What's missing? Best, Ralf. ps " = angled brackets. Can't display those. ralf.riedel@usm.edu

    D D G 3 Replies Last reply
    0
    • R RalfPeter

      Hi all, I'm using a list"double" variable in my code. Even though I added the #include "list" to the beginning of the file, I keep getting a 'undeclared identifier' message. What's missing? Best, Ralf. ps " = angled brackets. Can't display those. ralf.riedel@usm.edu

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      RalfPeter wrote: ps " = angled brackets. Can't display those. Sure you can. Just click on the < and > in the Formatting bar above the smileys.


      "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

      1 Reply Last reply
      0
      • R RalfPeter

        Hi all, I'm using a list"double" variable in my code. Even though I added the #include "list" to the beginning of the file, I keep getting a 'undeclared identifier' message. What's missing? Best, Ralf. ps " = angled brackets. Can't display those. ralf.riedel@usm.edu

        D Offline
        D Offline
        Daniel Turini
        wrote on last edited by
        #3

        Be sure to use:

        using namespace std;

        or use:

        std::list<double>

        Perl combines all the worst aspects of C and Lisp: a billion different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript. -- Jamie Zawinski

        A 1 Reply Last reply
        0
        • D Daniel Turini

          Be sure to use:

          using namespace std;

          or use:

          std::list<double>

          Perl combines all the worst aspects of C and Lisp: a billion different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript. -- Jamie Zawinski

          A Offline
          A Offline
          Anonymous
          wrote on last edited by
          #4

          Good deal, it worked. Thx.

          1 Reply Last reply
          0
          • R RalfPeter

            Hi all, I'm using a list"double" variable in my code. Even though I added the #include "list" to the beginning of the file, I keep getting a 'undeclared identifier' message. What's missing? Best, Ralf. ps " = angled brackets. Can't display those. ralf.riedel@usm.edu

            G Offline
            G Offline
            Gary R Wheeler
            wrote on last edited by
            #5

            In order to type angle brackets in a message, use **&lt;** for < and **&gt;** for >. These are the 'character entities' in HTML for those respective characters.


            Software Zen: delete this;

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups