am using ms vc++ - i need as simple program to concatenate 3 wchar_t* variables into one inside a loop. problem description is attached. it is also listed below:
I am having a problem with wchar_t* variables. If I create an initial wchar_t* by using something like:
wchar_t* InitValue = L”SM_Lst_”;
my expectation is that InitValue will have a length of 16: • 2 bytes for each of the y characters in the string and 2 chars for the null terminator. • sizeof(L"SM_Lst_"), in fact, returns 16
I need to construct a loop. In pseudo code it is
Int CharCount;
wchar_t* AddString = L””; wchar_t* Name = L””;
I = 0; while(i < 3){ AddString = I formatted as “%03d” Name = InitString + AddString + “_n”;
CharCount = SomeFunc(Name); // which will return 26 for each iteration
i ++; }
Here are the requirements:
1. Name will have a value of L”SM_Lst_000_n”, L”SM_Lst_001_n” and L”SM_Lst_002_n” for each of the iterations, respectively 2. SomeFunc (e.g. wcslen, sizeof etc…) will return a CharCount value of 26 3. The app must be work in VS2022 as a Dialog based app
No need to develop the app – ie I will accept code but the code hast to work. There are an awful lot of examples on the internet that simply do not work
Cartoonish Animated Intro Category: 2D Animation, 2D Animation Explainer Video, 3D Animation, After Effects, Animated Video Development, Animation, Character Illustration, Graphic Design Budget: $250 - $750 USD
11-Feb-2026 22:54 GMT
HaynesPro API Integration on WordPress Category: API Development, API Integration, API Testing, HTML, PHP, Web Development, Web Design, WordPress Budget: £750 - £1500 GBP
Python Web Scraper - Extend what we've already built Category: Automation, BeautifulSoup, Data Analysis, Data Extraction, Django, Python, Scrapy, Selenium, Software Architecture, Web Scraping Budget: $30 - $250 USD
11-Feb-2026 22:52 GMT
Aluminium Product and Subfloor 3D Renders Category: 3D Animation, 3D CAD, 3D Design, 3D Modelling, 3D Rendering, 3D Visualization, 3ds Max, Blender Budget: $100 - $150 AUD
11-Feb-2026 22:52 GMT
Especialista em IA para Assistente Virtual -- 2 Category: AI Chatbot Development, AI Content Creation, Conversational AI, Customer Experience, Natural Language Processing, Prompt Engineering Budget: $750 - $1500 USD
11-Feb-2026 22:49 GMT
Reddit Ads for GLP-1 Clinic (also tiktok and facebook maybe) Category: Analytics, Content Creation, Content Marketing, Content Writing, Digital Marketing, Facebook Marketing, Growth Hacking, Internet Marketing, SEO, Social Media Marketing Budget: $250 - $750 USD