Search:

Type: Posts; User: arpsmack

Page 1 of 12 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,938

    This might be silly, but it looks like you're...

    This might be silly, but it looks like you're passing false for the clientCertificateRequired parameter to stream.AuthenticateAsServer. Shouldn't you be passing true?

    This guy has some sample...
  2. Replies
    1
    Views
    6,657

    Here are some things you can try: 1. Read in...

    Here are some things you can try:

    1. Read in packageDistance as an integer and do integer division. You can rely on the fact that integer division truncates and use a nifty trick to always round...
  3. Replies
    2
    Views
    732

    https://msdn.microsoft.com/en-us/library/w40768et(...

    https://msdn.microsoft.com/en-us/library/w40768et(v=vs.120).aspx



    You specified an input parameter of type 's', therefore you need to pass in the buffer size.

    The documentation gives an...
  4. Thread: MSVCP100.dll

    by arpsmack
    Replies
    4
    Views
    15,433

    Thank god. I searched MSDN for verification, but...

    Thank god. I searched MSDN for verification, but sometimes I feel that I would get answers faster if I just pounded my face on my keyboard for a while. It amazes me that Google is better at...
  5. Thread: MSVCP100.dll

    by arpsmack
    Replies
    4
    Views
    15,433

    You don't have to download it. If you have...

    You don't have to download it. If you have Visual Studio 2010 installed the redistributable packages are located here:

    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages
    ...
  6. I was able to do something like this before, but...

    I was able to do something like this before, but I can't remember exactly how.

    I believe I either printed a carriage return without a linefeed before the text each time I printed it:

    while (...
  7. Replies
    21
    Views
    5,161

    Poll: Heh good point. Stupid unnecessary fluff words. ...

    Heh good point. Stupid unnecessary fluff words. And even worse is that in this particular instance I'm pretty sure my subconscious added "clearly" to give off that "OH MY GOD I'M SO SMART LOOK AT...
  8. I'm curious about what it looks like. Got any...

    I'm curious about what it looks like. Got any screenshots? I don't have a Linux system to try it on currently (at least not one with a monitor attached).
  9. Replies
    21
    Views
    5,161

    Poll: k = floor(k / 2), when repeated, will cause k to...

    k = floor(k / 2), when repeated, will cause k to become 0, thus terminating the loop. (Unless of course k is negative, but you can rule this out due to the explicitly stated invariant k >= 0)
    ...
  10. Replies
    2
    Views
    906

    I'm not an advanced coffee drinker so I enjoy the...

    I'm not an advanced coffee drinker so I enjoy the flavored cream I put in the coffee more than I enjoy the coffee. Maybe someday my tastes will refine.

    I can't see any reason why filtered/bottled...
  11. Replies
    13
    Views
    1,476

    Are you sure? I can't reproduce the behavior...

    Are you sure? I can't reproduce the behavior you're describing. Everything works exactly as it usually does. Perhaps the problem is client-side (cookie-related)?
  12. Replies
    9
    Views
    4,736

    This looks completely wrong: ...

    This looks completely wrong:


    int avrgb(unsigned char *rpixels, unsigned char *gpixels, unsigned char *bpixels, unsigned char *rav,
    unsigned char *gav, unsigned char *bav,...
  13. Replies
    2
    Views
    2,165

    Set the AutoGenerateColumns...

    Set the AutoGenerateColumns property to false.
  14. Replies
    15
    Views
    2,486

    I don't think you understand this pattern you're...

    I don't think you understand this pattern you're using. This:


    if (control->InvokeRequired)
    control->Invoke(me);
    else
    {
    ...
    }
  15. Replies
    6
    Views
    1,361

    Maybe this is due to my lack of knowledge in...

    Maybe this is due to my lack of knowledge in Excel VBA programming, but the push-relabel algorithm isn't terribly difficult and its a well studied problem.

    If I had (or desired to have) any skills...
  16. Replies
    7
    Views
    2,962

    Break it down: // declare a variable of type...

    Break it down:


    // declare a variable of type course_t
    course_t myCourse;

    // allocate enough space for the first student
    myCourse.myStudents[0] = malloc(sizeof(student_t));

    // give the...
  17. Replies
    2
    Views
    2,615

    On a quick glance, it looks to me like you are...

    On a quick glance, it looks to me like you are trying to compile a library that is meant to be used by other code.

    Unfortunately, in the code module that implements the library you aren't defining...
  18. Here's a small app I wrote years ago. Some of...

    Here's a small app I wrote years ago. Some of the comments look a little fishy, and I'm not even sure it's entirely correct, but it does seem to work for me.


    #include <windows.h>
    ...
  19. MSDN Windows Multimedia - Audio Mixers...

    MSDN Windows Multimedia - Audio Mixers

    For whatever reason, it took me about 10 minutes to find a link to the audio mixer page in MSDN. Searches like "win32 mixer api" and even a direct "Bing"...
  20. If you need to generate a C# class file from an...

    If you need to generate a C# class file from an XSD, there is already a tool to do so called xsd.exe, and it's provided along with the .NET framework. Google searches for "c# xsd" turn up MANY...
  21. Replies
    4
    Views
    1,079

    To my knowledge, is NOT a standard C++...

    To my knowledge, <stdlib> is NOT a standard C++ header. <cstdlib> is, but its part of the C library and not relevant for the example code you posted.

    I would just remove the #include.
  22. Replies
    7
    Views
    1,214

    You are not using include guards correctly. ...

    You are not using include guards correctly. Please read the link I posted. It shows proper usage of include guards and proper handling of cyclic dependencies (which include guards will NOT help...
  23. Replies
    7
    Views
    1,214

    For an example check the section called Cyclic...

    For an example check the section called Cyclic Dependency here:
    C++ Header File Include Patterns
  24. Replies
    10
    Views
    1,065

    /* Get a pointer to the location of the space...

    /* Get a pointer to the location of the space character */
    char *ptr = strchr(name, ' ');

    /* Make sure you actually found a space character */
    if (ptr != NULL)
    ptr[1] = toupper(ptr[1]);

    ...
  25. Replies
    4
    Views
    887

    You can't just cast a char to a char *, it...

    You can't just cast a char to a char *, it doesn't work like that.

    How you accomplish this task depends on how you defined your struct.



    If you allocated a fixed amount of space for the...
Results 1 to 25 of 293
Page 1 of 12 1 2 3 4