
- Home
- Activity Stream
Activity Stream
New Activity ()
Please reload this page to view the 200+ new activity items that have been created.
-
Older Activity
-
Yesterday, 10:48 AM
I found a list of useful solutions at Stackoverflow.
Solution #4 is the older version that uses a struct (essentially what used to work okay with...
8 replies | 152 view(s)
-
Yesterday, 09:28 AM
Is the window called Autos in the screenshot below where I ought to focus on and should I then expand the elements, e.g., d, d.line. is, here, for...
6 replies | 96 view(s)
-
Yesterday, 08:45 AM
Yes - and to watch the contents of the variables. Not only do you get to understand the code, you also get to debug it to make sure it's working as...
6 replies | 96 view(s)
-
Yesterday, 08:21 AM
And by using the debugger the intention is to run and follow the control in the code by F10 & F11 in VS, right?
I'm sorry that I can't give you a...
6 replies | 96 view(s)
-
Yesterday, 08:16 AM
Nope - I just looked at the code. :)
6 replies | 96 view(s)
-
Yesterday, 08:06 AM
Ow ****, ln->begin() equals lines.begin()->begin() that is, it pointes to the first element (char) of the vector, and ln->end() points to one beyond...
6 replies | 96 view(s)
-
Yesterday, 06:07 AM
Yesterday I tried removing the Playlist elements and replacing them with a simpler type (int) - but I was quite tired by that stage! I did make it...
8 replies | 152 view(s)
-
Yesterday, 04:43 AM
Use the debugger to trace through the code to see what is happening and the contents of the variables. Then you'll see exactly.
if (pos ==...
6 replies | 96 view(s)
-
Yesterday, 04:36 AM
Just a quick question. You are using the latest version of boost when compiling with VS2019 - not the old version used with VS005?
I don't...
8 replies | 152 view(s)
-
January 21st, 2021, 03:55 PM
Hi all,
Here's a code using a list of vectors to read a text terminated by ctrl+z and then print it all in the same order. The problem is that I...
6 replies | 96 view(s)
-
January 21st, 2021, 12:57 PM
Re post #3.
You're not inserting an int to a set of int. The set isn't a set of int - but a set of shared_ptr<list<int>> - which is a very...
8 replies | 152 view(s)
-
January 21st, 2021, 12:17 PM
Going back to the original problem, I just modified the code and realised something...
static void
get_id_sorted_playlists (const List&...
8 replies | 152 view(s)
-
January 21st, 2021, 10:52 AM
I'm not sure what's happening in the original code - but in my simplified version...
id_sorted_ints.insert(*i);
insert() seems to be expecting...
8 replies | 152 view(s)
-
January 21st, 2021, 09:18 AM
Thanks 2kaud - I tried removing const and also changing to cbegin() / cend() etc but nothing seemed to help.
For testing purposes I've now changed...
8 replies | 152 view(s)
-
January 21st, 2021, 07:55 AM
I suspect that .insert() doesn't want a const argument. Try making i ::iterator instead of ::const_iterator. Also, as .begin()/.end() are used rather...
8 replies | 152 view(s)
-
January 21st, 2021, 07:41 AM
I'm updating some code that previously built okay with VS2005:-
struct id_compare
{
bool operator()(const boost::shared_ptr<Playlist>& p1,...
8 replies | 152 view(s)
-
January 21st, 2021, 05:01 AM
It's something I only need to do temporarily (for debugging)
2 replies | 94 view(s)
-
January 21st, 2021, 04:32 AM
Dont. See https://stackoverflow.com/questions/55687044/can-i-take-the-address-of-a-function-defined-in-standard-library
2 replies | 94 view(s)
-
January 21st, 2021, 03:54 AM
Is it possible to create a pointer to a template function - e.g. if I had a std::list of ints and I wanted a pointer to its "unique" member :-
...
2 replies | 94 view(s)
-
January 19th, 2021, 08:29 AM
The /bigobj applies to the number of sections in the generated .obj file. So /bigobj would usually be applied to the project properties - not an...
3 replies | 171 view(s)
-
January 19th, 2021, 07:45 AM
Thanks 2kaud, that seems to fix it. BTW... as it happens, the module I'm building is a DLL. At the moment, I've only specified /bigobj for that one...
3 replies | 171 view(s)
-
January 19th, 2021, 07:05 AM
Properties/C++/CommandLine. Add it to Additional Options.
Not all compiler options are in the properties pages - some (another is /J to make char...
3 replies | 171 view(s)
-
January 19th, 2021, 06:49 AM
I'm updating a program which previously got compiled with VC2005 (I'm compiling it now with VC2019). One of the source modules was fine with VS2005...
3 replies | 171 view(s)
-
January 19th, 2021, 05:34 AM
Yep :D - although the std:: version has some additional features over yours. But that is how professional libraries are written - with heavy use of...
14 replies | 386 view(s)
-
January 19th, 2021, 05:20 AM
Ah, **** it! Three thousand lines of code for a vector!? :(
14 replies | 386 view(s)
-
January 19th, 2021, 04:17 AM
To look at the STL source code, just put your mouse cursor over the #inciude <...> statement in your code, right click and choose Go To Document......
14 replies | 386 view(s)
-
January 19th, 2021, 01:57 AM
@2kaud
You're using Visual Studio 2019 compiler just like me. I want to find the source code of STL libraries inside it so that I can explore them...
14 replies | 386 view(s)
-
January 18th, 2021, 03:53 PM
No, I cannot help you with using MSCOMM.
MSCOMM worked well in time of Win16.
But then in a real world beginning of Win32 it just sucks. :(
13 replies | 5496 view(s)
-
January 18th, 2021, 03:39 PM
I understand where you are coming from but I wish retrieve the code for this particular project. I dont have the time to relearn a new programming...
13 replies | 5496 view(s)
-
January 18th, 2021, 03:10 PM
then it's time to learn the modern technologies! ;)
13 replies | 5496 view(s)
|
Click Here to Expand Forum to Full Width
On-Demand Webinars (sponsored)
|