Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: John E

Page 1 of 80 1 2 3 4

Search: Search took 0.19 seconds.

  1. Replies
    3
    Views
    261

    Re: noexcept

    Yes, I think this is something new in C++11
  2. Replies
    3
    Views
    261

    [RESOLVED] noexcept

    I'm building a popular gtk library called glibmm. Effectively, it's a C++ wrapper around the libglib toolset. Some classes used to have member functions declared like this:-


    void...
  3. Replies
    1
    Views
    183

    Re: CaptureStackBackTrace

    Oops - forgot to surround it with extern "C":-


    define CaptureStackBackTrace RtlCaptureStackBackTrace

    extern "C" {
    __declspec(dllimport) USHORT WINAPI CaptureStackBackTrace (
    ...
  4. Replies
    1
    Views
    183

    [RESOLVED] CaptureStackBackTrace

    Using MSVC-8 I need to compile a module which calls CaptureStackBackTrace. There's no declaration for it in WinBase.h but the function itself does seem to exist in kernel32.lib (although the actual...
  5. Re: Is it possible to add to (i.e. extend) a std::stringstream ?

    Thanks guys. Creating the object uninitialized seems to do the trick. I must admit, it surprised me but what the heck... :)
  6. Is it possible to add to (i.e. extend) a std::stringstream ?

    Suppose I do this:-



    std::stringstream whatever("initialize, ");

    whatever << "then add";

    Somehow I expected the stringstream to contain initialize, then add. Whereas in fact, it seems to...
  7. Re: Using upper_bound() and lower_bound() (from the 'algorithm' header)

    Thanks Philip. I'll try your 2nd suggestion and I'll try to find out if the vector is guaranteed to be sorted.

    What would happen if the vector wasn't sorted? Does that give us undefined behaviour?
  8. Using upper_bound() and lower_bound() (from the 'algorithm' header)

    I'm trying to debug some code which uses upper_bound() and lower_bound(). In the following example, _ary is essentially a std::vector of 64-bit ints:-


    BBTPointList::const_iterator pos = ...
  9. Replies
    6
    Views
    462

    Re: Compiling on an x86 CPU

    That's a really interesting list. Thanks for finding it.!

    What's Itanium BTW?? I only ever hear it mentioned in relation to servers so I've never been 100% certain. Is it related to x86 or...
  10. Replies
    6
    Views
    462

    Re: Compiling on an x86 CPU

    Thanks OReubens. Something occurred to me just after I posted - am I right in thinking that MSVC can only target the x86 architecture? If so, I guess I could just test for _MSC_VER

    [Edit...] No, I...
  11. Replies
    6
    Views
    462

    Compiling on an x86 CPU

    I'm compiling some open source code (originally written for Linux / gcc) which uses the following line to determine if a particular section is being compiled for an x86 processor:-


    #if (...
  12. Replies
    3
    Views
    406

    Re: Graphical alternative to pastebin ?

    Yeah, that's the problem I've encountered. I just wondered if someone could recommend one that's least intrusive.

    [Edit...] Actually, I just found postimage which doesn't seem too bad... :thumb:
  13. Replies
    3
    Views
    406

    Graphical alternative to pastebin ?

    The pastebin site is a great tool for letting programmers share code fragments etc. But its big limitation is that it's restricted to text. You can't (for example) share a screenshot with someone.
    ...
  14. Replies
    4
    Views
    375

    Re: Thread/Core affinity

    Thanks guys. I tried both the Task Manager and Process Explorer and they both showed the same results (as you might expect!) Setting a process's affinity to one particular core did show a noticeable...
  15. Replies
    4
    Views
    375

    Thread/Core affinity

    I use the Windows CPU Meter on my dual-core machine. It has two dials which I (wrongly) thought were showing me the usage for core #1 and core #2. But I've just realised this morning that the 2nd...
  16. Replies
    5
    Views
    558

    Re: Text format conversion

    Thanks Laserlight. After a lot of (confusing) research yesterday I kinda ended up with the same conclusion.

    From what I can tell, the full specification looks like this:-

    ...
  17. Re: Windows 10: Is Microsoft Seeing Things That Arenít There?

    I'm not sure if it's the same thing - but with regard to the 'single app store' I remember hearing (about 18 months ago) that Microsoft was working on a utility similar to Linux's apt-get. For anyone...
  18. Replies
    5
    Views
    558

    Re: Text format conversion

    I need a little help with cross-platform stuff. Suppose I have this file path in Windows:- C:\file.txt

    If I was to convert that to a URI it would look like this:- file:///C%3A/file.txt

    But...
  19. [RESOLVED] URI question - how many forward slashes??

    Suppose I have this file path in Windows:- C:\file.txt

    If I was to convert that to a URI it would look like this:- file:///C%3A/file.txt

    But what's the situation in Linux (where file paths...
  20. Replies
    5
    Views
    558

    Re: Text format conversion

    In this particular case, yes.

    [Edit...] and given that I am dealing with URLs and filenames in this instance, I've just found a handy little function in libglib. (it's called g_filename_frum_uri)....
  21. Replies
    5
    Views
    558

    Text format conversion

    Does anyone know of a handy function (or library) for converting between different text formats? I've heard of a library called iconv but I've no familiarity with it. However, it looks promising...
  22. Thread: ole32.lib / dll

    by John E
    Replies
    1
    Views
    488

    ole32.lib / dll

    This is a question about ole32.dll (and .lib) although it could equally apply to other MS libraries with "32" in their name...

    I want my app to call CoCreateInstance() which (according to that...
  23. Replies
    3
    Views
    542

    Re: Compiler / linker flags

    Thanks 2kaud. Phew! There are quite a lot of them!! :D

    I'm working through those lists to find which ones are relevant but in the meantime, another problem's cropped up...

    Because we're...
  24. Replies
    3
    Views
    542

    Compiler / linker flags

    I'm helping a friend to modify a waf script for a program which was originally intended to be compiled with gcc/mingw. He's trying to adapt it to be buildable with MSVC. The script contains a table...
  25. Re: Switch git to a new upstream branch (without losing my local changes)

    Here's an idea that occurred to me, just after my original post...

    1) The upstream dev syncs to git master and then creates his new upstream branch called feature
    2) At the same time, I sync my...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center