Help with #include statements

Hi, Im new here. I'm having trouble with the #include,
[b]fatal error C1083: Cannot open include file: 'iomnip': No such file or directory[/b].I set the flags and the presicion but still get an error, here's what the beggining looks like:

#include
[b]#include [/b] [red]<---Problem[/red]
#include <string>

[blue][My Constants are here][/blue]

int main(void)
{
[blue][My Data Types are here][/blue]

cout << setiosflags (ios::fixed);
cout << setprecision (2);

If you have any Idea what is wrong, or you need the whole .cpp file, let me know. By the way, I use VisualStudios.net 6.0 Enterpise ed.

Comments

  • : Hi, Im new here. I'm having trouble with the #include,
    : [b]fatal error C1083: Cannot open include file: 'iomnip': No such file or directory[/b].I set the flags and the presicion but still get an error, here's what the beggining looks like:
    :
    : #include
    : [b]#include [/b] [red]<---Problem[/red]
    : #include <string>
    :
    : [blue][My Constants are here][/blue]
    :
    : int main(void)
    : {
    : [blue][My Data Types are here][/blue]
    :
    : cout << setiosflags (ios::fixed);
    : cout << setprecision (2);
    :
    : If you have any Idea what is wrong, or you need the whole .cpp file, let me know. By the way, I use VisualStudios.net 6.0 Enterpise ed.
    :

    you meant <iomanip> ???

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion