-
Replied To a Post in Linux and gaming
I've been having a discussion on the Linux Forums recently with a fellow about his migration to Linux for gaming. Between Steam and Wine he has managed to get most … -
Replied To a Post in I can't install Java Runtime Environment (JRE) - error
Where are you downloading from? -
Replied To a Post in Grains of rice on a chessboard (Python)
Simple. The number of grains on any square == (2 ^ square number) - 1. I leave the computation for the total number of grains on all squares up to … -
Replied To a Post in Home work
@jwenting - I suspect the assignment was written 6 years ago, but they just got it assigned now. That said in their defense, I would reiterate Schol-R-LEA's comment... What have … -
Replied To a Post in About which security layers should I be worried about while programming?
1. All of them. 2. See #1 Yes, PhP is programmed primarily in C++. Have you looked at the code? It is not trivial, and there are security issues there, … -
Replied To a Post in ascending order
What CPU? Assembly language (machine instruction sets) vary greatly from CPU to CPU. Intel x86 instructions are very different from ARM, Mips, PowerPC, and other chip sets. -
Replied To a Post in Is there a limit on storage memory; and transfer memory?
Don't know who/why the downvote, but I gave you an up-vote with comment (so to speak), which will leave you with more positive than negative points. :-) -
Gave Reputation to Aeonix in Is there a limit on storage memory; and transfer memory?
!bump -
Replied To a Post in Built my own PC but it won't start
P.P.S. Do you have a VOAM (Volt, Ohm, Amp meter)? I have seen some parts that had the wrong colored wires installed, and without being able to tell what that … -
Replied To a Post in Built my own PC but it won't start
P.S. I was factory trained and certified as a computer tech by IBM, Apple, and others. My nephews, as teenagers, one of which is now the head IT guy for … -
Replied To a Post in Built my own PC but it won't start
1. Disconnect external power. 2. Verify that the internal power supply is properly connected, and grounded. 3. Make sure all fan electrical connections are correct. 4. Ditto motherboard, and disc … -
Replied To a Post in Why Intel wants to kill the x86 platform
Intel does understand chip design (my friend Bruce Ravenel was one of the chief architects of the 8086/8087 processor family there), so they could take the ARM core, and add … -
Replied To a Post in SIP Attack: Friendly-Scanner
Nothing new there, but informative for many people, I'm sure. -
Replied To a Post in Is there a limit on storage memory; and transfer memory?
My laptop has an eSata port. I can connect an array with 8+TB of space to it without problem. Unfortunately, a lot of current laptops are moving exclusively to USB … -
Replied To a Post in Why Intel wants to kill the x86 platform
They's been trying to adapt the x86 family for mobile devices for some time, without a lot of success. ARM pretty much owns that business, but I think I heard … -
Replied To a Post in software pack
Visual Studio has the means to create an install script (.msi file) for an application. Read the documentation. -
Replied To a Post in .net vs Android development?Which one best to choose situation based?
Android development is Java with a different compiler and runtime (Dalvik vs. JVM). DotNet is totally different. If you are angling for an Android job after graduation, then I would … -
Replied To a Post in Problem with struct field .. Please help
Take the input into a char buffer and then allocate and copy it to a new buffer, which you assign to the struct. Also, since this is C++, you need … -
Replied To a Post in dd memory dump
The dd application is running in memory, so it is altering it as you dump it. You might want to look into how the open source ClamWin virus scanner handles … -
Replied To a Post in Grains of rice on a chessboard (golang)
The answer is simple: 2^64 - 1. Why bother with the loop? -
Replied To a Post in New in Forum
What Schol-R-LEA said. You certainly need to know the functions for i/o outputs on this system, and an 8051 cross platform compiler. I have such for my ARM embedded systems, … -
Replied To a Post in Programming
Example (in a .cpp or .cc file): void myHelloWorld(void) { std::cout << "Hello World!" << std::endl; } int main(void) { myHelloWorld(); return 0; } -
Replied To a Post in Program received signal SIGSEV
First, itoa() is a non-standard C/C++ language extension. Don't use it. Normally for C++, you would use something like sprintf() instead, like this: char tpid[33]; int numchars = 0; numchars … -
Gave Reputation to joshl_1995 in Thinking About Switching To An Ethernet Connection
Well I think what I might do is just trial it for a while to see the difference, thanks everyone. -
Replied To a Post in Windows Server with Virtual Instance(Linux) for File Server
I have done this. Try VirtualBox, and install something like CentOS 6.6 or 7.1. -
Replied To a Post in How to add more ips on Dedicated Server?
One common method is to create a bunch of virtual machines, each with its own IP, and partition the job to those. That is basically how we did it for … -
Replied To a Post in NVIDIA drivers installed on Windows 7
You can remove the driver installation files and associated programs, probably without incident. The driver itself should be now part of the operating system, and required DLL's in the \Windows … -
Replied To a Post in Is there a limit on storage memory; and transfer memory?
I don't think there is any current HDD over 2TB that will fit into a laptop. There are 3 and 4TB units, but they are 3 1/2" and thus too … -
Replied To a Post in Is there a limit on storage memory; and transfer memory?
There are no discs of that size, but some file systems can support that size of array or multi-disc volume, such as zfs which can handle file systems of 256 … -
Replied To a Post in Singleton class issue
Not as far as I know. You can declare it, but it needs to be implemented in some translation unit. It may be that one of the newer C++ versions … -
Gave Reputation to tinstaafl in How to make User input unlimited names using dynamic memory?
The easiest way is with a `vector<string>`. You can keep adding names until adding a new name causes a memory overflow error. Checking for `\n` won't work cin automatically delimits … -
Replied To a Post in Singleton class issue
A static member variable is still just a static (global) variable, that belongs to a class. All static variables have to be declared and initialized somewhere in a translation unit … -
Replied To a Post in Parallel Programming with C
Provide your code, errors, and problems, then we may help you. That said, we DO NOT do your homework for you! -
Replied To a Post in Help Me Please!! SSN Fromat Validation Program
def isValidFormat(str): if len(str) == 11 and str[4 and 7] == "_": valid = True else: valid = False You are testing for an underscore and not a hyphen in … -
Replied To a Post in for-loop iteration cant add
That code works except for the initialization of total and the loop limiter. An accumulator in this case is simpler than keeping a register of all the results, but there … -
Replied To a Post in for-loop iteration cant add
You really don't need to downvote a person who is trying to help you "learn to fish". What about my post didn't you understand? Downvoting should be used only when … -
Replied To a Post in Netbeans C++ Setw
I've never had a problem with Cygwin's gcc version (yes, it is a bit old - you might want to update so you are running gcc/g++ 4.x). Did you try … -
Replied To a Post in Netbeans C++ Setw
How are you using it? Also, have you declared "using namespace std;"? If not, then you need to prefix it with std:: as in `std::cout << std::setw(width) << std::dec << … -
Replied To a Post in for-loop iteration cant add
Add each new result to a vector (array) and then after the division loop, loop over the vector, and add each result for a final value. I leave the coding … -
Replied To a Post in Windows 10
From the department of sarcasm department: Windows 10 will be ready when Windows 11 ships... :-) -
Replied To a Post in win7 - how can i disable a program been executed automatic?
Services can be disabled from autostarting in the control panel, and you can remove other auto-started applications by removing them from the Start menu's All Programs Startup folder. -
Replied To a Post in PDF Studio and dynamic XFA forms. Help for Linux?
If you could find an older version of Acrobat for Windows and install it in Wine, that may work. I really don't know since I never tried it. I had … -
Replied To a Post in Code Refinement Help
$ ./menu Welcome to Johnny's Restaurant!!! What would you like to order? 1 Plain Egg $1.45 2 Bacon and Egg $2.45 3 Muffin $0.99 4 French Toast $1.99 5 Fruit … -
Replied To a Post in creating a date of birth for a couple for both him and her age
What diafol said. Mixing html and php like that is just asking for trouble. First, build up your output html in php classes and variables. Then when you are ready, … -
Replied To a Post in Sql injection securtiy
I think your table name is incorrect. You are using "item" for the table name and "ITEM" for the column name. MySQL doesn't care if a column name is upper, … -
Replied To a Post in Code Refinement Help
Re. deceptikon - it works fine for me also on RHEL 6.6 Linux using the g++ version 4.4.7 compiler. -
Replied To a Post in quicksort
I wrote a widely used C++ sorted collection that used a modified qsort algorithm to implement an insertion sort, with head-tail optimization to deal with already sorted incoming data efficiently. … -
Replied To a Post in Digital clock
An example (of 3 perhaps) would be useful. -
Replied To a Post in PDF Studio and dynamic XFA forms. Help for Linux?
Adobe's cloud acrobat tools should deal with this just fine. Personal use is $12.99 / month subscription. Check on Adobe.com. -
Replied To a Post in quicksort
Quicksort is implemented in C with the qsort() function. It is fast, efficient. You aren't sorting in your code. RTFM... For C++/Java code, look here: http://www.algolist.net/Algorithms/Sorting/Quicksort FWIW, you should be …
The End.