Don't think there is any upper limit to perfect numbers, well none had been found when I produced a similar program a few years back, I found if you do some reading on the maths side of it you can...
Type: Posts; User: CBUK
Don't think there is any upper limit to perfect numbers, well none had been found when I produced a similar program a few years back, I found if you do some reading on the maths side of it you can...
I take it your not using Win2K/XP; I have had serious problems working with this in the past. I ended up resorting to VB. Access to quite a lot of the low level stuff was disabled in order to comply...
If you’re dealing with numbers larger than 32 bits 64 bit processors are faster as they don’t need to split the number up into two parts as a work around. A larger instruction set has also been...
I’ve written a basic maths program and am thinking about adding some algebra functions to it like if user enters
(A +2B)(4A + 6C)
It would output
4A^2 + 6AC + 8AB + 12BC
I can’t quite...
I think that you can access things on a hardware level in and of the 9x operating systems including Me and also possible in NT, but in the 2000 release I think you were blocked out as a “security...
#include <stdio.h>
int main(){
char str[10] = { 'A','B','C','D','E','F','G','H','I', 0 };
char chr_to_find = 'C';
int i = 0, j = 0;
printf( "%s\n",str );
while( str[i]...
A similar profiling function is available in MS Visual C++ 6, you enable it in the project options menu and then profile the application to view a breakdown of the functions which use the most time...
Thanks itsme86, my grumble inspired me to start writing y own until that does something similar to yours. It checks if a '\n' is in a comment in the style of /**/ and if its not removes the...
Got it in 1 sandman, it bugged me so much im writing a program to format code in my style.
Thanks sokra a cleaver little work around. Not a big fan of the pre-processor so tend to avoid it, probably...
Working with other peoples code where they have used quotes in the style of /*,*/ for singles really grates on me e.g.:
print( "Hello World\n" );/*some pointless quote*/
I often want to...
Wolframs Mathematica is also an excellent maths package Matlab. they are both quite advanced though and a much simpler/cheaper program (with much of the functionality) is Derive from TI interactive....
Thanks for the find file function, but I’m not looking for someone to code it for me. I am well aware that these functions are available in commercial products but as with many programming projects...
Communications is a big part of my course at Uni and I have written a Huffman encoding compression program. WinZip and similar programs provide a way of distributing files, which let you unzip them...
I have three problems and been searching forums and the web for weeks to try to solve them. I’ve been struggling to find the answers as I’m not quite sure where to look and I would really appreciate...