As a follow up, I fixed (sort of) the issue with the blurry text and flickering. I am now operating at 1920x1080 and the screen is stellar. Here's what I did:
Step 1: Identify the display causing...
Type: Posts; User: dwhitney67; Keyword(s):
As a follow up, I fixed (sort of) the issue with the blurry text and flickering. I am now operating at 1920x1080 and the screen is stellar. Here's what I did:
Step 1: Identify the display causing...
Thank you for the suggestion. I took it and applied it to my system (a laptop) that relies on an external monitor. The monitor is capable of 1920x1080, however I had to drop the resolution to...
Hello,
OS: Kubuntu 22.04
Yesterday I installed "kept-back" packages using apt; the packages were: kubuntu-desktop libsmbclient libwbclient0 python3-samba samba samba-common samba-common-bin...
Try installing the 32-bit versions of the X11 libraries:
$ sudo apt-get install libx11-6:i386
Hello everyone,
Recently I rebooted my HP 15-bsO16dx laptop following the auto-installation of updates (one of which was probably a new kernel). The reboot stalls. I was able to disable the splash...
The copy-constructor is not called in example 1, much less in any of the examples.
In fact, only the std::string constructor that accepts a const char* is ever called when the toString() is...
A few comments:
1. The statement srand((unsigned) time(NULL)) should only be called once in your application (preferably outside of the thread).
2. You should check to verify that the...
Compile your code with the -g option; this will include symbolic info within your executable so that you can determine where the code is crashing.
Next, set your core file size to unlimited before...
Look into developing/using a thread-pool. Read this: https://en.wikipedia.org/wiki/Thread_pool
Also, I recommend using C++ or some higher-order programming language, rather than C, because the...
Perform a google search on "singleton design pattern C++". Maybe then you will be enlightened as to the inner workings of the code your are dealing with.
You can't make changes, or you just don't want to??? Are the coding police preventing you from making code changes?
My advice is to use a shared pointer (per the advice that was given to you...
Interesting (and correct) expression. I however like to use the term 'preferably', especially when dealing with newbies to C++/C/Python/Java/etc.
Then you pretty much limit yourself to a Windows environment. Learning a more general language would have loads of more benefit than C#. Java for instance would be better.
Study both at the same time!
What value did you get??
You should read the man-page for wait (man 3 wait).
In case you are still stuck, here's a trivial example:
#include <unistd.h>
#include <sys/wait.h>
#include...
You lost me on your argument above. How can you say that both examples shown above are "equivalent"? Either you erred in your statement, or you haven't a clue what you are arguing about.
What...
Here's an exploit that was not covered in the previous responses. Try running your program without any arguments (i.e. no filename).
Notice how the program generates a segmentation violation.
...
A "main class not found" implies that you have not set up your CLASSPATH. Unload-able (is that a word?) is not an error I'm familiar with. Perhaps you built your app using version of JDK that is...
My $0.02.... don't use std_lib_facilities.h. It is not a standard header file, and thus you will not find it on any computer (unless you install it yourself).
Why not open up the file to see what...
I am using the KDE desktop manager (i.e. Kubuntu). Here are the issues I have seen thus far:
1. My 14.04 KDE settings (located in ~/.kde) are not supported and/or not read by 16.04.
2. KDE...
The segmentation fault is likely occurring because you are operating on a (const) string literal.
If you read the man-page for strtok(), ironically in the section entitled BUGS, you will see that...
An unsigned char value can range from 0 to 255; in hex, the equivalent range is 0x00 to 0xFF. This transformation can easily be achieved using printf() (or other functions such a sprintf()).
You...
The mapa2() function is attempting to treat the given parameters as if they were an array of unsigned bytes. This is incorrect; each parameter value is a single 8-bit value.
To examine the...
You are working with an old Makefile that is making a bad assumption regarding the ordering of object files versus that of shared-object libraries. If your Makefile has a LIBS definition, ensure...
Undoubtedly as you already know, there are multiple ways to solve a problem. However, it is common practice to define overloaded operator method as a manipulator of the object. If you want to...