Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. FlashAsh99

    defining a string from a string macro

    Ok I have tried something this... #define FIRSTSTRING "my string 1" .... wchar_t myString[] = L""FIRSTRING; and I get the error message concatenating mismatched strings Concatenating wide "" with narrow "my string 1". How to I get myString to be a wide string from the macro?
  2. FlashAsh99

    defining a string from a string macro

    Suppose I have something like... #define FIRSTSTRING "my string 1" ... char[] secondString = L"my string 2" char[] firstString = ??? Where there is ???, What do I put here to set firstString to the value of FIRSTRING macro, similar to how secondString is set.

Part and Inventory Search

Back
Top