Search the web
Sign In
New User? Sign Up
c-prog · C/C++ Programmer's Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 71514 - 71543 of 71798   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date v
71543
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,...
Vishva
vish_401
Offline Send Email
Nov 19, 2009
10:28 pm
71542
... 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...
Paul Herring
shabble
Offline Send Email
Nov 19, 2009
11:41 am
71541
... ...but you do want to store it, so it should be " %[^=]=%lu". I don't know about the _T because I'm a C programmer....
johnmatthews2000
johnmatthews...
Offline Send Email
Nov 19, 2009
7:09 am
71540
... The %s matches a sequence of non-space characters, so it includes the '='. Try the format string: " %*[^=]=%u" The "%*[^=]" matches any characters...
johnmatthews2000
johnmatthews...
Offline Send Email
Nov 19, 2009
6:55 am
71539
... I don't know about the "_T" type specifier. I'd leave it off. But try using "%4s=%lu" ~Rick...
Rick
thefirstrepa...
Offline Send Email
Nov 19, 2009
6:21 am
71538
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@...
Send Email
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 =...
Vishva
vish_401
Offline Send Email
Nov 19, 2009
3:01 am
71536
... 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 ...
andrew clarke
zoomosis
Offline Send Email
Nov 18, 2009
8:15 pm
71535
can we call any function before "main" function in 'C' using any compiler without editing "start-up" file...
tujare_raj1
Offline Send Email
Nov 18, 2009
6:31 pm
71534
... 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...
Paul Herring
shabble
Offline Send Email
Nov 18, 2009
8:34 am
71533
... 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...
John Gaughan
john23874
Offline Send Email
Nov 18, 2009
12:43 am
71532
... 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...
Thomas Hruska
shininglightpro
Offline Send Email
Nov 17, 2009
1:58 pm
71531
... Wonder why it's not mentioned in MSDN.. Or didn't I see it.. But thanks again for replying.. Now my doubts are clear.. Cheers, Vishva...
Samudra Vishvajith Ka...
vish_401
Offline Send Email
Nov 17, 2009
11:32 am
71530
On Tue, Nov 17, 2009 at 10:39 AM, Samudra Vishvajith Kapuruge <vishvaya@...> wrote: [...] ... It means application specific data like this should be...
Paul Herring
shabble
Offline Send Email
Nov 17, 2009
10:50 am
71529
... 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...
Samudra Vishvajith Ka...
vish_401
Offline Send Email
Nov 17, 2009
10:39 am
71528
On Tue, Nov 17, 2009 at 9:54 AM, Paul Herring <pauljherring@...> wrote: [...] ... Erm - make that GetPrivateProfileSection() ...
Paul Herring
shabble
Offline Send Email
Nov 17, 2009
9:56 am
71527
... No. That retrieves a data item that has previously been written with WritePrivateProfileStruct() only. You're after GetPrivateProfileSectionNames() ...
Paul Herring
shabble
Offline Send Email
Nov 17, 2009
9:55 am
71526
Further, number of keys in a section has the possibility of getting changed.. 2009/11/17 Vishva <vishvaya@...> ... -- Cheers, Vishva [Non-text portions...
Vishva
vish_401
Offline Send Email
Nov 17, 2009
1:52 am
71525
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...
Vishva
vish_401
Offline Send Email
Nov 17, 2009
1:49 am
71524
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...
Babar Ali
ch.babarali
Offline Send Email
Nov 16, 2009
4:21 am
71523
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@...
Send Email
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...
Brett McCoy
smartandkewl
Online Now Send Email
Nov 15, 2009
1:45 am
71521
... 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. ...
Thomas Hruska
shininglightpro
Offline Send Email
Nov 15, 2009
1:34 am
71520
... 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...
Thomas Hruska
shininglightpro
Offline Send Email
Nov 15, 2009
1:31 am
71519
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...
totallyfreeenergy
totallyfreee...
Offline Send Email
Nov 13, 2009
12:52 am
71518
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...
bags joni
bagsjoni
Offline Send Email
Nov 13, 2009
12:52 am
71517
Yes , i got the point the last statement comes as it is the part of string literal. Thanks & Regards, Aakanksha. ________________________________ From:...
Aakanksha Hulkur
aakanksha_hu...
Offline Send Email
Nov 12, 2009
8:51 pm
71516
... 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...
Peter
peternilsson42
Offline Send Email
Nov 12, 2009
2:36 am
71515
[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...
Aakanksha Hulkur
aakanksha_hu...
Offline Send Email
Nov 11, 2009
9:40 pm
71514
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...
Mick Pearson
mick.pearson@...
Send Email
Nov 11, 2009
12:30 pm
Messages 71514 - 71543 of 71798   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help