Search:

Type: Posts; User: CBUK

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    3,694

    Don't think there is any upper limit to perfect...

    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...
  2. Replies
    4
    Views
    2,171

    Win based?

    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...
  3. Replies
    10
    Views
    5,679

    If you’re dealing with numbers larger than 32...

    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...
  4. Replies
    1
    Views
    1,073

    Seeking some guidance from the wise.

    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...
  5. Replies
    9
    Views
    14,221

    I think that you can access things on a hardware...

    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...
  6. Replies
    10
    Views
    1,931

    #include int main(){ char...

    #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]...
  7. Thread: benchmarking

    by CBUK
    Replies
    8
    Views
    1,833

    A similar profiling function is available in MS...

    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...
  8. Replies
    7
    Views
    1,624

    Thanks itsme86, my grumble inspired me to start...

    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...
  9. Replies
    7
    Views
    1,624

    Got it in 1 sandman, it bugged me so much im...

    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...
  10. Replies
    7
    Views
    1,624

    Multi line quotes used on single lines

    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...
  11. Thread: Integration

    by CBUK
    Replies
    8
    Views
    3,411

    Wolframs Mathematica is also an excellent maths...

    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....
  12. Thread: Three problems

    by CBUK
    Replies
    8
    Views
    1,567

    Thanks for the find file function, but I’m not...

    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...
  13. Thread: Three problems

    by CBUK
    Replies
    8
    Views
    1,567

    Communications is a big part of my course at Uni...

    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...
  14. Thread: Three problems

    by CBUK
    Replies
    8
    Views
    1,567

    Three problems

    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...
Results 1 to 14 of 14