• Member Avatar for rubberman
    rubberman

    Replied To a Post in non portable pointer assignment in function main?

    Also, try to stop being so "clever" and redefining standard functions like printf, scanf, break. All that does is make your code impossible to read. Obscurity instead of legibility. Not …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in compiler

    > after compiling,when i run program my 'FTN 95\PLATO' recently showing me black DOS box,only reading "PREES 'RETURN' to cotinue" without executing the program. could u say why is this …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How do I run executable files on a Linux/Ubuntu OS?

    Please be more specific. How are you trying to run these programs, and why do you think you need to run an "installer wizard". Finally, what Linux distribution are you …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in PigLatin

    Huyay eakspay atinlay? It's been awhile... :-)
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Length of string

    There are C strings (char*) and C++ strings (std::string). Which are you using?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in (To Do)program using list class(problem in code)

    Your most obvious issue is this: ` else if (command == 2);` Since you dont do anything is this branch, you need to remove the trailing semi-colon. Also, since this …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Dynamic Mem Allocation within function

    This is why we often use "smart pointers" to contain heap allocated objects. When the smart pointer goes out of scope, the contained object will be deleted automatically. There are …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Build c file to exe run for win 7 or win 8

    Install Eclipse with the CDA (C/C++) plugins (probably there by default now). Configure it to use your MinGW GNU compiler. That should work just fine. Eclipse is an IDE for …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in integer overflow in expression when simulating sizeof

    Try `printf("%lu %lu\n", msizeof(x), sizeof(x));` Note that sizeof(x) returns a size_t value, which is a long integer, hence the error/warning. Also, do note that it is Sunday morning here in …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Failed to load 64 bit library: Can't load library:

    Does that file exist on your system? If not, it would seem that your game/application didn't get installed correctly.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How do I know my computer that is being monitored or not?

    > I'm just a regular computer users and often use my computer office for personal purposes such as checking my funds in online bank. I want to know how to …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in ubuntu screen resolution problem after first install alongside windows xp

    I assume you are using a dual-boot capability from your post. What video hardware does your system have? You need the appropriate drivers. By default, Ubuntu will not install proprietary …
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to cambalinho in about mobile bateries

    thanks for correct me that. now i know that i can change my BL-5F to BL-6F without a problem ;) because i use a diferent theme(needs more batery) and i …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in about mobile bateries

    Glad to help. Remember, the voltage is key. Amps is the current it can provide, so you want at least as much as the device can draw, otherwise, the power …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Is there really any use for learning C++?

    @iamthwee re. web development One of the pre-eminent web devlopment languages today is PHP, which is a reflection of C++. If you approach it as an object-oriented language, you can …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in object file

    In Windows, compiled code is stored in *.obj files. In Linux/Unix it is stored in *.o files (same thing, just different extensions). Those files contain the code machine language that …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in (To Do)program using list class(problem in code)

    Have you tried single-stepping through the code in your debugger? If you don't know how to use a debugger, it is time to learn! We could analyze your code for …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in about mobile bateries

    Wh == Watt Hours Watts == volts * amps Ah == Amp Hours Watt Hours == Amp Hours * volts So, 1200mAh == 1.2Ah which * 3.7V == 4.44Wh 950mAh …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in HDD REGENERATOR SOFTWARE

    Please be specific about your needs and situation. I can give good advice (occasionally), but I first need to know what your needs are in order to make that advice …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How do I know my computer that is being monitored or not?

    If you need real security to deal with banking and such, then create/use a bootable liveDVD Linux OS (see Unetbootin). It won't allow any persistent viruses to be stored on …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Watch Amazon Instant Video on Ubuntu

    Unfortunately, Don Graham is pretty much correct. Many DRM (Digital Restrictions Management according to the FSF) versions are not supported in Linux, depending upon version, so you need to run …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Updating Mint Cinnamon

    Hard to say since pastebin says this file is not available. It may be an SELinux issue, which you can disable in order to update the system, but that is …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Ads popping up left right and centre

    Have you tried Microsoft's Security Essentials? It is free, and does a decent job at cleaning such issues. Also, there is the FOSS (Free and Open Source) tool ClamAV. FWIW, …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Time in button for attendance

    Too much irrelevant code. The timeout code was clear. Please just post the timein code. It should be very much the same as timeout, just with in-time instead of out-time. …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How do Functions work

    There are several issues here. There are references, const references, pointers, and const pointers. In C++ references of either type are preferred to pointers. Why? Because the function doesn't need …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in DropDownList

    This is not a software development issue. It is language/system specific. Please provide the OS and languages you are using, and then please move it to the appropriate forum.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in converting hexa to binary using 8086 assembly language

    It looks like you need to read the 8086 manual. Sorry, but we don't do your homework for you.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in converting decimal to binary using 8086 assembly language

    It looks like you need to read the 8086 manual. Sorry, but we don't do your homework for you.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in converting decimal to hexa using 8086 assembly language

    It looks like you need to read the 8086 manual. Sorry, but we don't do your homework for you.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in converting binary to octal using 8086 assembly language

    It looks like you need to read the 8086 manual. Sorry, but we don't do your homework for you.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in converting octal to decimal using 8086 assembly language

    It looks like you need to read the 8086 manual. Sorry, but we don't do your homework for you.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Planning / Designing computer programs?

    Well, I have to disagree with Mike2K with regard to UML, but that depends upon the tools you use. I employ Sparx Enterprise Architect for my design needs, and then …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Is there really any use for learning C++?

    I consider Java and C# to be C++ with training wheels. One of the major advantages of C++ is that you can also write low-level C code with it, such …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in standing/treadmill desk

    Linus Torvalds uses one, but keeps it at 1 mph, otherwise it interfers with his typing and train of thought. Myself, if I want to take a walk, I take …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in code to CLIP

    Do you mean CLIP or CLIPS? CLIPS stands for "C Language Integrated Production System" and is used for expert systems (rule based).
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in sorting a link list

    I wish there were a way to comment without up/down voting, so I commented on tinstaafl's post about std::sort with an up vote (I didn't feel it deserved a down …
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to tinstaafl in sorting a link list

    Have you looked at [std::sort](http://www.cplusplus.com/reference/algorithm/sort/)? It accepts a custom comparator.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C++ Display Standard & Military time REDUX

    Well, in main(), you never set the value of t. You declare it, so it has the default Time value (midnight of whenever). You need to set t's hour, minute, …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Char manipulations problem

    Well, this is wrong: else if (signedNum[0] == (str[0] || str[1]) && signedNum[1] == isdigit(signedNum[1])) You should use else if (signedNum[0] == (str[0] || str[1]) && isdigit(signedNum[1]))
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in .find() is this bad?

    Basically, string::find() is akin to the C function `char* strstr(const char* haystack, const char *needle);` There is some argument whether it should return a char* vs a const char* value. …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in ACCOUNTING SYSTEM

    PHP is a C++ like object-oriented programming language with HTML capabilities that make it suitable for web-based software. It runs on the web server (Apache, et al), so it can …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in random unique id generation

    Sure. Just write a class or function to do it. There is also RNG code in PHP that will do that for you as well, such as found in http://php.net/manual/en/function.gmp-random.php …
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to vijaykhatri in c++ mcq solution

    1
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in is this UML possible?

    Also, there are some sub-classes such as the reference counter classes that stuff is derived from, which you will need to remove since that is used by the reference-counting garbage …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in is this UML possible?

    Using Julian date+time values for such is preferred. That way, you can use simple value comparisons to see if one date+time is before/after another, and the conversions to standard date+time …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Can a Dell Windows XP disk be used on an HP?

    Each OEM version of Windows XP (or otherwise) has its own drivers, and other cruft that verifies that it is running on the correct hardware. IE, trying to boot a …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in phone picks up wifi but home pc won't

    WiFi access points can run at 2.4 or 5 GHz. It may be that your PC doesn't support the frequency of the AP, such as 5GHz as mentioned, which the …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Free Antivirus for Windows Server 2012

    Try ClamWIN. It should work just fine. It is free, and open source.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Can i upgrade my computer?

    The short answer is "it depends". Have you consulted the "gurus" at the Apple Store? Or looked online on the Apple web site? Some things may be upgradeable (depending upon …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in sound in c++

    Some Linux distributions don't use /dev/dsp, such as Red Hat distributions. I am trying to figure out the equivalent but no luck so far, at least pushing an mp3 to …

The End.