• Member Avatar for rubberman
    rubberman

    Replied To a Post in Envato EU VAT problems. Need help!

    This is not the forum for that question. I would advise that you consult with your attorney once more about your actual liability.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in create palindrome words by using the string

    You haven't written the code to reverse the str1 string. Also, your string variables are being declared as an array, and you are putting the input string in a likely …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Passing an array to a function after having read data from another file...

    Are these compiler, or are they runtime errors? Please show them. As for passing an array into a function, either the function already knows the size of the array, or …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Path cannot be empty error

    Not suer, but try C:\ProgramData\MySQL instead of C:\ProgramsData\MySQL. I only use MySQL on Linux and since it is a standard package installation all of that cruft is taken care of …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How to write a coding in java

    RTFM. There is a lot of eclipse support on the Internet as well on the Eclipse web site.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Algorithm and java code

    Show your work (algorithm and/or code) and we can help. We don't do your school work for you.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in awk command gives "Argument too long" error.

    This is most likely a command line length problem. I'd use a bash shell for loop and as rproffitt didn't suggest I would use cat to merge each candidate file …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How can i use the javascript with this code?

    What code? This question cannot be answered as is.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in deletion of Base class pointer

    Remember, the compiler will by default create default and copy constructors, an assignment operator, and a destructor. It is not recommended to do this, but to implement them expressly to …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in deletion of Base class pointer

    You need constructors for Draw that initialize the obj pointer appropriately (null for default ctor, and possibly copy ctor though in that case you may want to clone obj from …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Student Enrolment Form in PHP and MYSQL

    Without showing your code, it is very difficult to advise/help you.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Motherboard(P7H55-M/USB3) not booting

    This unit does not appear to have an integrated video adapter, correct? What video card are you using? Also, does it have one, or two display ports? Have you tried …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Need an easy to use NAS.

    I've had good luck with Buffalo NAS devices. RAID-5 is standard as well as easy access from Windows or Linux.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C++

    In linux you would use the "clear" command unless you create an alias for it.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How to transfer funds in a form

    I don't see anything atttached here. Also, show your code or we can't help much.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in strpos()

    I assume these are GET arguments from a browser URL? If so, then each of mr1, mr2, and mr3 content strings would be avaliable in your PHP $_GET variables. So …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Assignment error while assigning different objects in c++

    it should be `if (&anA != p)`. Sorry, my bad. Dagnabbit keyboard! :-)
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in new linux forum

    What you are trying to do is called "single sign-on". It requires that both systems are running a service such as OpenLDAP or YP (Yellow Pages), with one of them …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in help with code error

    uint8_t as others of that ilk are not defined by default by c or c++. You either need to include some header that defines them for you, or you need …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Assignment error while assigning different objects in c++

    You can add an assignment operator in class b that takes a reference to an a object: const b& operator=( const a& anA ) { if (&a != p) { …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Mount External Hard Drive Even Reboot

    @CimmerianX - I prefer to name the partitions so I can mount them in /etc/fstab by name instead of UID. Why? Because if I have to clone the drive due …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Mount External Hard Drive Even Reboot

    Standard boot/partition sectors (old style DOS ones) cannot handle more than 2.2TB disc sizes. As the warning states, you need to use a GPT partition table type. I don't know …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in calling a c# method from c++

    You can call C++ methods from C#, but not the other way around, easily... If you have a C# service running (as a server I presume), then you can use …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in BEEP SOUND IN C++ ON UBUNTU

    ` std::cout << "beep: " << '\07' << std::endl; `
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in weird black screen when alot of windows open

    You probably ran out of RAM and don't have adequate swap space configured. Check memory usage, and increase swap space. The system will run slower as the swap file is …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in PayPal PHP SDK Help

    I haven't used the PayPal API's before, but looking at the samples provided I don't see that they have an API for shipping/delivery instructions. They have objects for shipping info …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Key of node based on rank in bst (binary search tree) at O(N) worst case

    What do you specifically mean by "rank"? How far down the tree it is? A couple of things about b-trees - usually less-than values move to the left branch, and …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Adding Hardware to Existing Pc Running Windows 10

    MS keys its system based upon certain hardware parameters. Sometimes if you add new cruft to the system, the key no longer "recognizes" the system. One of the reasons why …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Network Programming

    This is a situation where multiple threads may be appropriate. Have a thread for handling incoming messages, and another for communicating with the remote server (don't close the socket if …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in High Level vs Low Level Design

    I never do a software project before I model it in UML, including class design, state machines, work/process flows, etc. The visual components of this provide a very good view …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in File and Folder Permissions

    One question I have is whether these directories are on the same file system, or other file systems (partitions) or drives? Even if same drive and/or partition, there could be …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in I need help.

    Are you sure it is properly formatted and has a valid NTFS or FAT file system installed on it?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How to calculate time difference between dates in swift

    Convert the date+time into seconds from the "epoch". There are functions to do this in php, java, C/C++, C#, et al. Then you just subtract one from the other to …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Running Ethernet To Bungalow

    Glad you got it working! Sounds like you have put some real "sweat equity" into this!
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in NVIDIA Geforce GT 720 1GB

    You can also find all the specs for their cards on www.nvidia.com.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in What do you think are the loop holes still left in PHP 7?

    I had to do a bunch of code remediation for PHP 5.5.x with their http output handling (totally broken). Don't know about later versions as I haven't had the time …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Help with HW assignment in C++

    Use a std::map<int,double> that maps the student id to their GPA. It will be sorted for you. The implementation I leave to you. Note that you got 2 down-votes, mostly …
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to Saboor880 in Recover Deleted folder of C++ programs

    Hello to all! I had a folder named "Myprogs" in partition E, which contained more than 300 C++ programs. I don't know when, but I have permanently deleted my folder …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Recover Deleted folder of C++ programs

    You really should not post the same query in multiple forums. I have answered your question elsewhere. :-(
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Recover Deleted folder of C++ programs

    Depending upon how many files you have added to your system, you may be able to recover most of them. This link may help: http://pcsupport.about.com/od/filerecovery/tp/free-file-recovery-programs.htm
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Laptop without Os

    Besides, they are a small family-owned and operated company, which I would much rather support than Multimega Galacticorp! So, an extra $50-$100 is a price differential I am happy to …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Laptop without Os

    I confess to be a friend of the owner of Zareason. One of the main reasons I recommend them for people who want a Linux laptop, desktop, or server is …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in New to Java programming need help with homework please

    Your assignment is a trivial one. Salary ($50K) + (sales * .15) == total compensation. Java is not difficult. Read some manuals/books/tutorials, all available online...
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How to convert it into object oriented?

    OOP - object-oriented programming is just that, programming with objects. The code you show is function-oriented. For OOP you need classes with member variables and methods (functions that work on …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in shell

    What are you trying to accomplish? You can set up SSH to only use RSA keys, or to allow logins with user id and password. Automated script? Back to the …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Laptop without Os

    Go to zareason.com - lots of great linux-compatible laptops, and can ship without an OS installed if you prefer. Good people. Decent prices. Good options.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Problem with fgets not reading properly

    1. You need to be sure that the str variable is big enough to handle your input. You might want to consider using getline() instead. Read the man pages. Are …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Can you please help me with this code...! It's output wont come right...

    It boggles my mind how so many "universities" teaching computer science are utilizing outdated compilers and tools. It is as though they have never heard of Linux and virtual machines... …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in captcha serivce

    @happygeek - I read that as well. Here is Bruce Schneier's post about it last Friday: https://www.schneier.com/blog/archives/2016/04/breaking_semant.html Basically, it all boils down to image analysis and pattern recognition. I used …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in how to completely wipe mac drive

    Ever use the command line console window on OSX? That is basically the same thing. :-)

The End.