CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 23

Threaded View

  1. #22
    Join Date
    Jul 2010
    Posts
    10

    Re: Learning to use Microsoft Visual C++

    OK. You're getting a bit ahead of yourself.
    I know it does seem like that but that is really just me experimenting with code - there's nothing else in that file except a quoted out maths program. I haven't gotten up to classes yet, so I haven't experimented with them. Mainly I plan things by doing stuff like that. It generally lets me work out problems before I have loads of them to fix. I'll do that loads of times with loads of different bits of code.

    SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_INTENSITY | FOREGROUND_RED);
    Tried using this (with added 'foreground intensity') but I don't think it's the same colour, does this mean I can set the intensity?

    #include "stdafx.h"
    Tried to run your code but it couldn't find this library. (Compiler is Microsoft V 2008.) Is it something I have to download? Thanks for all your help though!
    Last edited by Ion Zone; July 18th, 2010 at 06:27 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured