Menu

Manipulators

2002-11-14
2012-09-26
  • Nobody/Anonymous

    Hi
    Recently I discovered that the following manipulators doesnt work!

    The manipulators are:

    right
    left

    I have included <iomanip> and the setw( ) manipulator works fine!

    My teacher have said that the manipulators, right and left is part of the ANSI / ISO standard for C++.

    Is it me that is doing something wrong since I cant get this to work? Or are these features simply not implemented in Dev?

     
    • Nobody/Anonymous

      Think they have to do with Trees ?.

      tOn

       
    • Nobody/Anonymous

      What version of MinGW are you running? 2.95 has a bug. If you are using 3.2 you should be alright. Get it from sourcefore from the MinGW pages

      Blakjak :]

       
      • Nobody/Anonymous

        where can I get information about how to change the compiler from v. 2.95 to 3.2
        I have tried but it didn't work.........

         
    • Nobody/Anonymous

      J@ack had a thread on here a few weeks ago that described exactly how to do it.  Give a search a try.  If I get time later in the day, I'll look for it.

      Wayne

       
    • j@ck_

      j@ck_ - 2002-11-15

      Download The mingw 3.2 from here   http://www.mingw.org/

      Install the mingw in its own Dir as:  C:\minGW ( install program has this already ).

      Now the only things to change are the paths. 
      In Dev under tools\compiler options  select directories. Then in the first one ' Binaries'  change to:  C:\minGW\bin
      and all the others ( Libraries , C includes , C++ includes )change path to just a  period and nothing else.

      Now in compiler options go to 'programs'.  In the list i made these changes too:

      IN .  gcc:   change to:    mingw32-gcc

      IN  . g++:   change to:     mingw32.g++.exe

      IN .  Make  change to:   mingw32-make.exe

      The make is important, without the change i found the projects will not work.
           
      This is what i have found that has worked very well for me. I hope it work out for you as well... good luck. If you have any other questions please come back to this thread and ask, i will get to it as soon as i can.

       
      • Nobody/Anonymous

        Thanks :-) I'l try it tomorrow!

         
    • Nobody/Anonymous

      Try here for mingw the other link was not working.
      http://sourceforge.net/projects/mingw/
      download   the top  one  MinGW 2.0.0 September 4, 2002 its about 12mb and has a self install.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.