Search:

Type: Posts; User: I C everything

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    373

    yes,sorry,wrote it on a device with autocorrect...

    yes,sorry,wrote it on a device with autocorrect
    does this mean I need to have one *int,one *char, one *long pointer to the same buffer,sometimes I copy whole buffer,sometimes I want to move 32bit...
  2. Replies
    9
    Views
    290

    Thanks Niccolo

    Thanks Niccolo
  3. Replies
    13
    Views
    247

    Would you recommend i try oct-tree? Tree code I...

    Would you recommend i try oct-tree?
    Tree code I seen here look abstract,i am more like to solve things with math
  4. Replies
    13
    Views
    373

    Can I access mellowed memory just like I want?...

    Can I access mellowed memory just like I want?
    For example mix handle 32bit sized pixels,it's,with unsigned chars when handle a color channel separately,for example blue in argb format?

    Or long...
  5. Replies
    9
    Views
    290

    wouldnt a solution with an array of...

    wouldnt a solution with an array of pointers,reading in string from file line by line and save beginnings of words and sentences in array of pointers be smoother
    and just use pointer 41 and pointer...
  6. Replies
    29
    Views
    919

    Coop now I seen you spent much effort into...

    Coop now I seen you spent much effort into tree's,so I was thinking suggest try Oct-tree too

    @catacombs, when I was a kid before I understood how programming a robot work,I wished for the paradox...
  7. Replies
    16
    Views
    831

    in include file uses define LEAN and MEAN I test...

    in include file uses define LEAN and MEAN
    I test to remove it and it seem the LEAN and MEAN doesnt reduce size
  8. good luck recover your work,at least you have...

    good luck recover your work,at least you have some lines of code in this forum
  9. Replies
    13
    Views
    373

    is that why IDE shows malloc,free,system,memset...

    is that why IDE shows malloc,free,system,memset in pink,those are C code,C++ uses new,create,delete?
  10. Replies
    13
    Views
    373

    thanks laserlight,probably good if you code that...

    thanks laserlight,probably good if you code that way if its on purpose

    ok I post my messy looking code so far,with working code with buffer3 and with not working is buffer and buffer2,
    first...
  11. Replies
    13
    Views
    373

    Realize problem is allocate 20000000000 ints are...

    Realize problem is allocate 20000000000 ints are too much,its not bytes
    Need to add IF to check malloc fails
    Pointer math needs to use unsigned ints only?
  12. Replies
    13
    Views
    373

    pointer exception???

    Hi
    I tried malloc a big chunk of memory and use one pointer and tried with a secondary
    buffer2=buffer+numberofelement;
    *buffer2 = result;
    I got a pointer exception inside this loop,despite I...
  13. Replies
    17
    Views
    602

    Niccolo,so old rule of 256x256 texture(image) or...

    Niccolo,so old rule of 256x256 texture(image) or any array and continues 64k still apply,its kept in cache,use aligned memory too
  14. Replies
    18
    Views
    563

    you wrote about optimization,so I seen some...

    you wrote about optimization,so I seen some compilers optimize to hard to follow and one exotic optimize to branchless code,like you mean full optimize arent foolproof,it suddenly breaks code,moving...
  15. I am trying a vector approach

    I am trying a vector approach
  16. Isn't it simpler code place more things in...

    Isn't it simpler code place more things in switches?
    Default or case 0, case 1 when it's about tens returns result=0
    Single-step in debugger,starting right before results get wrong
  17. Replies
    18
    Views
    563

    Maybe its just me,but singlestep some code in...

    Maybe its just me,but singlestep some code in debugger makes me understand how the code and machine works better than human explaining
  18. Today it will be fun and possible to have...

    Today it will be fun and possible to have fun,running two or more threads test primes with different algos
  19. its interesting to see how fast brute force is...

    its interesting to see how fast brute force is going to be compared to other algos
    how do you mean by square root?,excluding numbers that endsup sqrt(100)=10.0,sqrt(25)=5.0... ?


    @Salem,thanks
  20. thanks,if he lived today seems he had used truth...

    thanks,if he lived today seems he had used truth tables and statistics to find a pattern of where primes are compared to the other numbers

    huge array as in a filled 4TB drive?:D
    compile into...
  21. isnt there a algorithm that shifts,so you can...

    isnt there a algorithm that shifts,so you can extend it to rule out 4,8,16,32,64,128,256... + some combinations of those bits ==nonprimes?
  22. Replies
    9
    Views
    290

    anyone know a better way? this worked: for (j...

    anyone know a better way? this worked:

    for (j = 0; j < (int)answer1.length(); j++) { wtmp[j] = (WCHAR)answer1[j];
    }
  23. Replies
    29
    Views
    919

    programming something new in itself is...

    programming something new in itself is rewarding,math I find rewarding to combine with programming,from newbie that code a tiny program that do math calculation to very experienced find ways to...
  24. Replies
    9
    Views
    290

    seems the logic way of doing things with OS,is...

    seems the logic way of doing things with OS,is put lots of data in resource wchar format text file and loadstring and make a string search to locate the separate strings and copy them to a smaller...
  25. Replies
    29
    Views
    919

    research howto use GUI in C,so you can also do...

    research howto use GUI in C,so you can also do that in C not just with VB?
Results 1 to 25 of 56
Page 1 of 3 1 2 3