Well, I think Paul is right, destLong should be a pointer to a long so the swscanf code should be like.. ret = swscanf(srcStr, _T"%s=%lu", destString,...
... Previous comments about the string specifier aside... Plain scanf() would require a pointer to a long - is destLong a long, or a pointer to a long? If the...
... The %s matches a sequence of non-space characters, so it includes the '='. Try the format string: " %*[^=]=%u" The "%*[^=]" matches any characters...
I don't know about a "startup" file. You could always redefine the entry point with the linker and make that call main, but why not just call the function in...
Tyler Littlefield
tyler@...
Nov 19, 2009 3:56 am
71537
This might be very simple to most of you. ... TCHAR destString[10]; unsigned long destLong = 0; // srcStr contains a string like "xxxx=2000" ret =...
... Not in a standard way. Some C compilers might support something like that though. In C++ you can have a constructor call a function before main() is ...
... That's what the user interface is for. Users should not be digging into the registry/INI files to change stuff. Firefox's about:config interface is a sorta...
... I never did like the registry. I would store data in flat files in the user's profile, in a platform-independent way. XML is good for this, although...
... Well, since you want to develop games, a good place to start could be enemy behaviors. Write a program to get a number of enemies optimally through a...
On Tue, Nov 17, 2009 at 10:39 AM, Samudra Vishvajith Kapuruge <vishvaya@...> wrote: [...] ... It means application specific data like this should be...
... Thanks a lot Paul. I'll try your advice. By the way the msdn says *Note* This function is provided only for compatibility with 16-bit Windows-based...
... No. That retrieves a data item that has previously been written with WritePrivateProfileStruct() only. You're after GetPrivateProfileSectionNames() ...
Further, number of keys in a section has the possibility of getting changed.. 2009/11/17 Vishva <vishvaya@...> ... -- Cheers, Vishva [Non-text portions...
Dear all, At the moment I'm developing an MFC application using Visual Studio 2005, development language is C++. There is an .ini file where most constant data...
Dear all, I was new to C programming 4 months ago. I have learnt the basic concepts of C language. Now I am trying to enhance my skills in C language as my...
Saying that google should "limit its self," is quite a leap; though you've always been up for the presumptions that what you say should be. I do beleive there...
Tyler Littlefield
tyler@...
Nov 15, 2009 5:40 am
71522
... I thought the same thing when I first read about it, but spent some time playing around with Go the past few days. It's growing on me. Rob Pike and Ken...
... Interesting project. Keep us in the loop. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. ...
... This is the first I've heard of it. The question I see people asking is, "Do we really need another programming language?" C++ and PHP are the two...
I have a tricky problem using SpeechSDK activeX components. I am searching for SAPI 5.3. The earlier versions do not have 'WaitUntilDone' function which I...
Has any body seen this. could we be having a new competitor in the market! http://www.webmonkey.com/blog/Meet_Go__Google_s_New_Programming_Language At first...
Yes , i got the point the last statement comes as it is the part of string literal. Thanks & Regards, Aakanksha. ________________________________ From:...
... What don't you understand? ... You've reformatted it so isn't a quine anymore. The program is meant to be a single line. ... I suspect you meant int...
[mod-- http://www0.us.ioccc.org/1994/smr.hint --mod pn] Hi , Can anybody explain that how the below program works. Below is the quine.(program that prints out...
Thanks (finally officially) this really got us back on the right track. It actually turned out the correct address was the same as I had originally or would...