Thread: write and replace cout function?

  1. #16
    Registered User
    Join Date
    Apr 2019
    Posts
    70
    in include file uses define LEAN and MEAN
    I test to remove it and it seem the LEAN and MEAN doesnt reduce size
    How do you know when you are a Guru?
    When you can (code) C even blindfolded

  2. #17
    Registered User
    Join Date
    May 2009
    Posts
    3,675
    Using the Windows Headers - Windows applications | Microsoft Docs

    You can reduce the size of the Windows header files by excluding some of the less common API declarations as follows:
    Code:
    #define WIN32_LEAN_AND_MEAN
    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  3. #18
    Registered User
    Join Date
    Apr 2019
    Posts
    70
    Quote Originally Posted by stahta01 View Post
    thanks
    How do you know when you are a Guru?
    When you can (code) C even blindfolded

  4. #19
    Registered User
    Join Date
    Apr 2019
    Posts
    70
    I am trying to learn C/C++ way of things to be able to not be only MS windows coder,but C++ 11 with <thread> way of make multiplethreads doesnt seem to work well here,it pops up exceptions no matter wherever I place
    std::thread bar calls
    How do you know when you are a Guru?
    When you can (code) C even blindfolded

  5. #20
    Registered User
    Join Date
    Jul 2019
    Posts
    2
    It's seem as though I am on a restricted path,lots of sorts and type throwing


    throwing and wchar rather than strings.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to write this cout<< in C
    By dunsta in forum C Programming
    Replies: 2
    Last Post: 04-19-2010, 08:21 AM
  2. Replace function
    By Loic in forum C++ Programming
    Replies: 7
    Last Post: 04-03-2007, 01:20 PM
  3. Replace Function
    By DrFox in forum C++ Programming
    Replies: 7
    Last Post: 06-26-2005, 07:52 AM
  4. replace function
    By garycastillo in forum C Programming
    Replies: 2
    Last Post: 04-16-2002, 03:50 PM
  5. replace function
    By thewarpedone in forum C++ Programming
    Replies: 1
    Last Post: 10-10-2001, 10:09 AM

Tags for this Thread