• Member Avatar for rubberman
    rubberman

    Replied To a Post in hardware and software installation and maintance

    We don't do your homework for you... :-( Create the diagram and write the note. Then, post them here and we may help you.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Reading File Problem

    Show your data file please. Also, you are reading the data, but never outputting it.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Laptop help please!

    What Rik said - HP's are notorious for overheating. Some of my colleagues at work have ones that keep shutting down unexpectedly. We changed the performance settings from "Performance" to …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Change permissions to read only filesystem

    Since the file system is read-only, you cannot. You need to remount the file system in read-write mode, and you need to be root or sudo to do that.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in ubuntu /boot folder missing

    Boot into the rescue mode and see if you can reinstall the kernel. That should allow you to boot the system. One bit of gratuitous advice - leave /boot alone! …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in MYSQL C++

    As AD said, Turbo-C++ is antiquated and not likely suitable for this. You CAN use Mingw's gnu c++ compiler for this, though you will need to install the MySQL shared …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in doc files ine c++

    If they are .docx files, then they are in a pseudo xml format, with parts that are MS proprietary data (binary blobs). You would be able to read simple text …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Cutting off first letter of display name, (struct, array)

    Please show an example of the input, and the output.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in write in a pseucode

    We don't do your homework for you. Make an effort and post the code here along with the errors you are experiencing. If it seems to us that you are …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Ubuntu in Windows 8

    I use VirtualBox happily to run Linux systems under Windows, and Windows systems under Linux. That said, there are ways to create bootable USB drives with storage capacity that you …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Ubuntu installation

    The command-line (CLI) package installation tools for Debian-based distributions (which Ubuntu is one of) are the aptitude tools, such as apt-get. Read the Ubuntu documentation on their site. They go …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in fgets with sscanf new line vs carriage return

    @AD Good point, but since current MAC systems use BSD as their basic OS, I think they use the *nix LF terminator.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in project

    Time to get back to basic calculus I think... Gah! I have forgotten so much! :-)
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to rajii93 in full knowledge in c++

    Here in this code you will get the output as the remainder.That is, for example 10/5 implies output(quotient)=2,where as 10%5 implies output(remainder)=0. I think you get a better idea about …
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to rajii93 in full knowledge in c++

    Here in this code you will get the output as the remainder.That is, for example 10/5 implies output(quotient)=2,where as 10%5 implies output(remainder)=0. I think you get a better idea about …
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to iamthwee in full knowledge in c++

    For a second there I thought I was in The Matrix (TM). I know Kung-fu.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Having C++ talk to Word documents?

    How long do you think this will take? FWIW, there are functions that will let you inject characters into the keyboard buffer so that they can be read by a …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in openmeetings installation error

    Are you sure you are running the appropriate version of java for this application? Are you running the OpenJVM or a certified Oracle Java version? If Oracle Java, what version? …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in i need network books for beginner

    This is not a particularly helpful post. Do you need basic networking books, management Linux networks, connecting your Linux systems to a LAN or WAN... I mention Linux because you …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Chrome will not handle online banking pages

    I am running the most recent versions of Chrome and Windows 7 Ultimate (corporate system - IT keeps them patched almost daily). No problems here, though if it has changed …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Removable Disk Drive Drops after removing disk

    Did you just disconnect it, or did you go to the "remove device" icon in your Windows (I assume you are running Windows) menu bar docking bay and ask it …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in openmeetings installation error

    This is not particularly helpful. How many of the steps in the "how-to" list in http://neanderslob.com/2013/09/27/how-to-install-open-meetings-on-ubuntu-12-04/ did you successfully get through?
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to vegaseat in Object-Oriented-Programming

    Class in a nutshell ... a class combines a number of methods/functions that belong together. A class can be passed to another class to inherit it's behavior. A class definition …
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to mike_2000_17 in Swapping

    Are you talking about the xor-swap trick? Like this: void swap(int& x, int& y) x ^= y; y ^= x; x ^= y; };
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in how to simulate file space allocation with c++

    What David_W said. This is not a beginner problem. First, you need to understand something of file system structures. Next, you need to understand how to relate that to program …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C Language

    What JasonHippy said. To elaborate: Segfaults are caused by accessing invalid memory. The most common causes are: 1. Trying to read/write to a null pointer. 2. Over-writing the memory allocated …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Overloading a function

    Interesting that a poster with the handle which is the name of one of the inventors of the C programming language does not know the basics of the language. Talk …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C++

    @Shol-R-Lea Well put! @Morganstevens Read Donald Knuth's seminal volume 3 of the "Art of Computer Programming, Sorting and Searching". I am considered an "expert" on database systems. Knuth volume 3 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in critical section and semaphore

    @ravi_14 Good references. @inspire_all These are basic problems in concurrent programming systems. Read the text books your professor has assigned for your class. We don't do your homework for you.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in full knowledge in c++

    The sarcasm of my colleagues notwithstanding, my magic wand stopped working this morning. :-) Learn by doing, reading, and studying the works of others who are known to be competent …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in fgets with sscanf new line vs carriage return

    Line breaks in Windows files are a cr+lf (carriage-return + line-feed) pair of bytes. For Linux/Unix systems, it is a simple line-feed character. So, scan for a line-feed, and then …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in strcpy of string to array of string

    You are using strdup as a variable. It is also the name of a C-function that copies a string. Better to do this: const char* source = "foo"; char *strs[NUMBER_OF_STRINGS][STRING_LENGTH+1]; …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Need a video or audio editor

    @chrishea Audacity is also the leading audio editor for Linux systems. I use it / love it. Open source rules! :-)
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in CPU problem not displaying on monitor due lightening

    1. Use a GOOD surge suppressor - most commercial/consumer ones can only handle a limited number of surges before they become useless. They must be replaced at least yearly - …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in wget

    Is your VM connected to your local network? What are the contents of its /etc/resolv.conf file (post the contents here)? What is the address of your LAN's router? Who is …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in strcpy of string to array of string

    The easy way (single line) is to use the `char* strdup(const char* source)` function.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Swapping

    Interesting that the poster of this thread is using the handle of one of the inventors of the C programming language... :-)
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Tree structure using javascript

    Try these Google (or better still, DuckDuckGo) search terms: javascript tree structures
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Swapping

    Please show the code. Without that, it isn't possible to answer your question. The typical swap algorithm is this swap(type& var1, type& var2) { type tmp = var1; var1 = …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How can access pictures that may have been corrupted by interpol virus

    The question is whether the images themselves have been compromised, or if some malware on the system is blocking access to them. I would suggest that you boot a live …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in install openoffice in Linux

    I would strongly recommend that you install LibreOffice instead of OpenOffice. It is much more up to date, and compatible with all OO files and file types.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in 12 knights (chess) to dominate all squares

    You would fail my class... :-( DO NOT fail to use curly-braces to delimit ALL conditional statements and loops. This is one of the biggest causes of system logic issues... …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Looping error

    1. You don't show what the problem is. 2. This would be better done with a `do {...} while (condition)` loop instead of your `while() {...}` loop. Example: (eliminating the …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in how we can calculate 1s and 2s complement of binary digit

    Sorry, but we don't do your homework for you. Make an effort, post the code, and we might help you figure out why it doesn't work... :-(
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How long will it take me to grasp Android App Dev Java?

    Do you know Java? Android Dalvik is just Java, but with a different compiler and virtual machine. If you don't know how to write Java code, then you have some …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Notepad to com port

    Use a comm program like minicom, open a file on the remote system, and upload the file. If you just want to write it to the comm port, you can …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in lost my password how to unlock

    Right... Sorry. How long did you leave the device in a drawer until you needed it again? Or is it REALLY yours? Forgetting your phone unlock code (a 4-digit PIN) …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in dell wyse wt3125se

    Not sufficient information. When does it show this? When running? Or on boot-up POST (Power-On Self Test)? What specifically does it say? Have you recently tried to update the BIOS?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Start ssh

    I run a LOT of systems in virtual machines (thousands in the Amazon cloud for example), and we use ssh to connect to these systems. Note that the sshd service …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in I need help on how to write a simple web page and two server scripts.

    Sorry, but we don't do your homework for you. Give it your best shot and post the code here with questions about problems you are still having. FWIW, I do …

The End.