Thread: write and replace cout function?

  1. #16
    Registered User I C everything's Avatar
    Join Date
    Apr 2019
    Posts
    101
    in include file uses define LEAN and MEAN
    I test to remove it and it seem the LEAN and MEAN doesnt reduce size
    you tell me you can C,why dont you C your own bugs?

  2. #17
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    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 I C everything's Avatar
    Join Date
    Apr 2019
    Posts
    101
    Quote Originally Posted by stahta01 View Post
    thanks
    you tell me you can C,why dont you C your own bugs?

  4. #19
    Registered User I C everything's Avatar
    Join Date
    Apr 2019
    Posts
    101
    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
    you tell me you can C,why dont you C your own bugs?

  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