• Member Avatar for rubberman
    rubberman

    Replied To a Post in Compiler issue.

    Ok. Assuming I have misjudged you, a lot of compilers these days, such as Visual Studio, employ what is called something like address randomization in order to make it more …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in how to printf with color int terminal unix and c language

    So far, so good. Try some more web searching, especially studying the ANSI terminal control sequences, which provide just what you need. FWIW, I don't give obvious answers to questions …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Compiler issue.

    This sounds a lot like a means to pwn an application. Please take your attempts to subvert application security elsewhere!
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in JAVA

    What you are saying makes zero sense. What exactly is your problem? You have set a boolean (true/false) variable to false. You have set an integer variable to 90.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Need to manually rollback to Windows 7 from 10

    My brother-in-law had to do this. He restored Win7 from his recovery partition, and disabled automatic updates. We were able to recover his data. In any case, the update to …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Moving Message

    You don't say if you are using a video or text console library or if the output is just ascii text in a terminal / console. Also, I assume this …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Generating a square wave using fouriers equation c++

    You haven't declared/implemented your functions that handle the computations and display output. Where is the functions.h header and functions.c code? You will also have to `#include "functions.h"` in the ela010task2.c …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in firefox downloads failing

    I run Linux almost exclusively and have not had this problem. What versions of Linux & Firefox are you running?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Fatal error: Call to undefined function getuser() in /home/matureco/public_

    As @cereal said, the old MySQL API has been deprecated. DO NOT use it! Use the MySQLi API instead. You can find details about that on the php.net web site.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Having errors with "no match for 'operator<<' in 'std::cin << n'

    Yes, what nullptr said. The << operator is the output operator, but cin is an input stream so it won't have an operator<<().
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C++ Dynamic deque - find smallest number

    Do you have ANY idea what your are doing? Are you trying to use std::deque for your code? Are you trying to "roll your own" version? See this: http://www.cplusplus.com/reference/deque/deque/
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in any one can help me to fix this code

    Why does the Runway class have instantiated public member variables for Plane, landing and takeoff? It appears to me that you have not analyzed your use cases properly. Other beginner …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in no wireless print/copy/scan

    Is the modem also a router/switch/Wifi access point?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How to configure server to alert by email or SMS for unauthorized login?

    What operating system are you running? Windows, or Linux?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Scenario of sending gps data pckets to linux server and handle it using php

    Well, I would need to see the incoming http request to determine why it is "malformed". FWIW, once we were satisfied that the php code was working correctly, we could …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Difference between Linux and Window hosting

    As another point, Windows is MUCH more susceptible to virus infections, especially of the web page infection variety. Linux is much more secure in that regard because of how it …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Cant find the old Read me first before requesting help sticky?

    1. Always get your kids their own computers - let them figure out how to fix it when they are pwnd. 2. NEVER let your kids use your computer. GoTo …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in No vga or dvi signal to the monitor

    A lot of these "end-of-life" issues are caused by bad capacitors. If you want to keep the system, take it to a reputable repair shop, or send it in to …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Scenario of sending gps data pckets to linux server and handle it using php

    If you run "php --help" you will see that one of the options is to run PHP directly as a web server (no LAMP stack required), which is the "-S …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in A question on data structures

    No, I simply said that doing so is not safe coding practice. In itself, that is workable, but before you try to access the contents of the pointer (the real …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in thread behaviour in c

    Please post your code using the </>Code option in the editor. It is basically unreadable as it is, unless you really want to enter in the "Obfuscated C Contest"... :-)
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in warning: passing argument 1 of 'strcat' from incompatible pointer type [ena

    Can't fix the title, but there are a number of issues in your code, and I expect you could find them after a nice drink and good night's sleep... :-) …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Difference between Linux and Window hosting

    There are more choices for Linux. Besides Apache, there is Nginx, and other web servers. Many of those also have Windows versions, but not so much because of the "locked …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in how to divide in java

    float x = 10.0; float y = 2.0; float z = x/y; System.out.printf("x == %f, y == %f, x/y == %f\n", x, y , z);
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C programming

    Here is the root page of those articles and tutorials: http://www.phy.ornl.gov/csep/ It is a really great bunch of tutorials and articles on computational physics.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C programming

    The srand() function sets the random number generator "seed", which is used to generate random numbers with the rand() or rand_r(). The latter one uses the supplied seed value and …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in My desktop monitor only shows a white screen

    Have you tried another vga cable? Or another vga monitor? Did you use the same cable on the PS4? If so, then your computer has a problem with the vga …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in No vga or dvi signal to the monitor

    It sounds like the video sub-system has failed. You may want to take or send it in for diagnosis and/or repairs. It may simply be a broken solder joint on …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in PHP 7 is comming

    PHP is, in my humble (or not so) opinion, a great framework for server-side web development. JavaScript, HTML and the rest are mostly client-side tools. If the specified code (PHP, …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in help me :)

    Well, you need to describe what areas are of most interest to you as a career. Java (C++ with training wheels, as is C# and such) is a good place …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in A question on data structures

    Certainly! This is not uncommon. However, it would be preferable in your example to use a non-pointer-to-integer. Why? Because you don't have control over that pointer. The code that set …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in pointer deletion without memory allocation.

    As for your question: Is it right way to implement the same ? can we delete the pointer which was never been allocated in constructor? The answer to this is …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in pointer deletion without memory allocation.

    There are a number of errors in this code. Nothing major, but a lot of things for you to think about... #include <iostream> using namespace std; // A generic smart …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Exceeded MySQL Connection

    If you are running MySQL on your own server/host, then you can modify the config file and restart the server. I think 13 connections are the default. You can increase …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Sorting 2 dynamic stacks with quicksort

    And dealing with real-time systems, please DO NOT get me started on Rate Monotonic Analysis methods! :LOL:! If you do, you will be tortured with a VERY long lecture on …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Sorting 2 dynamic stacks with quicksort

    As an aside, many years ago (in the late 1980's) I did exactly what you are doing, to implement quicksort to deal with highly dynamic arrays of data. I would …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Sorting 2 dynamic stacks with quicksort

    @Ivan_9. Quicksort and bsearch are two parts of the same whole. Quicksort uses bsearch algorithms to determine where to put the next element in the array. Knuth Vol.3 "Sorting and …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Exchange Disaster

    I try to stay as far away from Exchange as I can - that is what our IT staff is paid for. So, that is just my way of saying …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in tar command output?

    You can disable tar's removal of absolute paths (including, but not limited to '/' and '../'). It does that so that when you extract the files from the tarball it …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in how to get result like this

    PHP is an object oriented language based upon C++. It is most useful, and secure, when used that way. You save your HTML and JavaScript strings in class variables, and …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in epub editor

    This is where a Google or DuckDuckGo search would be a good idea. A short search for "epub editing software" returns a lot of good options.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in HTTP Status 405 - Request method 'GET' not supported

    If you have backup copies of your web pages and source code (you do, don't you?), then compare them to what is in the web server directory tree. You may …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Sorting 2 dynamic stacks with quicksort

    You want to use a vector, and a bsearch-based insertion sort for this, so that the vector is always kept sorted. I wrote such code in C++ for a commercial …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Sound in C++

    If your system is running Linux, then you can use the Alsa and pulseaudio sound libraries. Windows has its own stuff to use. These may be C libraries, but you …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Ubuntu 15.04: Is wireless VLAN suppose to work on Network Manager?

    This may help: http://www.linuxjournal.com/article/7268 As to why the network manager failed after deleting the VLAN, I can't say, but you may want to check in /etc/sysconfig/network-scripts to see if there …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Ubuntu 15.04: Is wireless VLAN suppose to work on Network Manager?

    This may help: http://www.linuxjournal.com/article/7268 As to why the network manager failed after deleting the VLAN, I can't say, but you may want to check in /etc/sysconfig/network-scripts to see if there …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in What is vps

    Usually VPS in the computing world stands for Virtual Private Server. So, what is the intent of your comment "leave them"?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Database Journals

    What are you trying to learn. Oracle has it's own magazine that isn't too shabby that you can subscribe to. I get it myself. No cost.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in need help to find what is missing

    Reading my mind I see Mr. Proffitt... :-)
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Problem Solving

    We do NOT do your homework for you. Make an honest effort to solve the problem / assignment and post what you did here, along with any issues and/or errors …

The End.