Search:
Type: Posts; User: 2kaud
Search:
Search took 0.05 seconds; generated 23 minute(s) ago.
-
'Overall PC security app' is pretty vague and could cover many things.
Can you be a bit more specific as to what you are wanting to achieve?
If you know VB6, then you might be interested in...
-
August 4th, 2022, 02:53 AM
-
August 3rd, 2022, 07:39 AM
So what's wrong with the responses you're received on VBforums? They have way more members who could help with VB than on this forum...
-
August 3rd, 2022, 04:51 AM
For VB, the codeguru sister site VBforums as you found out when you also posted the question there and received replies that did indeed include code...
-
August 2nd, 2022, 03:04 AM
[Now asked on VB sister site https://www.vbforums.com/showthread.php?897187-find-jpg-files ]
-
July 31st, 2022, 04:20 AM
std::bit_width() requires an unsigned type for argument.
"This overload participates in overload resolution only if T is an unsigned integer type (that is, unsigned char, unsigned short, unsigned...
-
July 29th, 2022, 06:16 AM
Then just do it as a simple lookup-table. You don't need A - just B with 64 elements.
x5, x5, x5, x5, x5, x5, x5, x4, x4, x4, x4, x4, x4, x4 ,x4.....
etc. Then just check that index is within...
-
July 29th, 2022, 03:41 AM
What are the sizes of A and B?
If they are just values from 1 to 64 even in production, then a simple table lookup using an array of size 64 with each element the required x value. If the given...
-
July 28th, 2022, 11:23 AM
Is something like this what you are after? I'm not sure what type x1 - x5 are so I've just made them literals.
#include <iostream>
#include <vector>
#include <iterator>
int main() {...
-
July 28th, 2022, 09:52 AM
Sorry, but I'm not understanding. Perhaps you could provide an example of A and B and what is expected from the function.
-
July 28th, 2022, 05:07 AM
For the C++ in-built intrinsic types see:
https://en.cppreference.com/w/cpp/language/types
Which language(s) may be suitable for which projects can depend upon the project and existing...
-
July 18th, 2022, 03:29 AM
Well excluding "format.h", those headers compile fine for me with VS2022.
But without seeing the code that gives the compiler errors...
This test code compiles OK with the given header:
...
-
For a summary article re the new features in C++23 see:
https://github.com/steve-downey/papers/blob/master/wg21-status.org
-
June 14th, 2022, 03:30 AM
The best on-line free resource to learn C++ is https://www.learncpp.com/
For a book, IMO the best to learn from is Ivor Horton's Beginning C++: From Novice To Professional...
-
June 13th, 2022, 03:22 AM
Sorry my bad - I blame not enough coffee! When I was going through the original code I misread one line and used 8 instead of v.size() - 1.
I've also changed in main re detecting no move possible...
-
June 12th, 2022, 12:03 PM
As an example of using std::unordered_set consider:
#include <iostream>
#include <unordered_set>
struct Pos {
int i {};
int j {};
-
June 12th, 2022, 11:43 AM
You need to maintain a container of already visited locations. I'd suggest a std::unordered_set
https://cplusplus.com/reference/unordered_set/unordered_set/
insert only works if the value to be...
-
June 12th, 2022, 10:52 AM
Then you need to use the debugger to trace through the code to see where is the issue.
When I ran the code, I was getting -ve values for moved to in disp().
Moved to (11,1)
Total moves :...
-
June 12th, 2022, 04:10 AM
There are various issues with variables being defined at global or function level and then at local scope level.
As a start, this revised c++ code compiles cleanly. If it now doesn't work as...
-
June 11th, 2022, 04:31 AM
The original question was
When signed/unsigned operations are mixed, the signed will always be 'promoted' to unsigned. Then the operation is performed. This automatic promotion is often...
-
June 10th, 2022, 10:18 AM
[also asked here https://cplusplus.com/forum/windows/283922/ ]
-
Just trying to help... Some aspects of C++ can be confusing/bewildering (add your own adjective!).
-
... but that would require the OP to actually do some work as opposed to being spoon-fed!
-
Several of the std::algorithm functions work in the same way. eg sort()
-
It depends upon how the program has been coded. If it is coded as a multi-threaded program, then the number of threads used is dependent upon how the program uses threads. It might be coded to just...
|
Click Here to Expand Forum to Full Width
|