Search:

Type: Posts; User: I C everything

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. all compile options seem like a jungle,"whole...

    all compile options seem like a jungle,"whole program optimization", does what?glances outside the boxes(functions) to use a compatible same optimization algo,instead of optimal suited optimize algo...
  2. thanks,flp1969 I am trying something similar...

    thanks,flp1969
    I am trying something similar awsdert do,but with jumpless conditionals
  3. thanks salem,flp1969

    thanks salem,flp1969
  4. is there a way to (re)define true/false to be what I want it to exact?

    Hi
    true/false is vague in C,but if I want to control things with it,it would be helpful to make it work like lowlevel code
    if true=1 and false=0,different definition to use is true=0xffffffff all...
  5. its two different animals compile for x86 or...

    its two different animals compile for x86 or compile for x64 using very different calling conventions
    so x64 only uses stack in exceptions
    x86 calling conventions - Wikipedia
  6. Replies
    2
    Views
    420

    pathfinding and lists???

    Hi
    I am trying some pathfinding in 2d labyrinth,first improvised code and AI get stuck at one point in 2d Labyrinth
    so second attempt I have researched pathfinding and found some tutorial and its...
  7. Replies
    13
    Views
    3,109

    create room class and other classes and simple...

    create room class and other classes and simple fill in the map with pointers to array of room structs,readin data from a database or textfiles
    room(1,2).south=room(7,8);
  8. Replies
    13
    Views
    3,109

    thanks,I find this interesting,trying to make a...

    thanks,I find this interesting,trying to make a dungeon,tiles based on 2d text arrays
    I also want functionality I seen in games,for example a town above ground should be possible to have a nodes to...
  9. Replies
    28
    Views
    1,941

    I have seen many of those posts,is there a final...

    I have seen many of those posts,is there a final goal like some cpu emulator,a final big switch(opcode)/case with opcodes list, calling your library?
  10. Replies
    6
    Views
    835

    start with fibonnaci numbers/positioning and...

    start with fibonnaci numbers/positioning and improve diamond from there
  11. Replies
    6
    Views
    1,547

    can I use "decimal" type also in C++?

    Hi
    can I use "decimal"(C#128bit type) type also in C++,maybe with some custom library for it?
  12. Replies
    5
    Views
    1,232

    nice code rusyoldguy could work with x&1 with...

    nice code rusyoldguy
    could work with x&1 with integer and knowing how double has its bits maybe with the right &
  13. Replies
    4
    Views
    1,662

    thanks for learning me new ways of C++,going to...

    thanks for learning me new ways of C++,going to try string constants next time instead of string variables,must be better compiled into constants readonly section than accidently write over it with...
  14. thanks John.c, that what I was looking for,and...

    thanks John.c, that what I was looking for,and only want use max physical,but try learn take advantage of 64bit strength is to use lots of fast RAM and if not much memory aviable ,fall back on...
  15. ???get max memory before allocate memory?

    Hi

    checked memory allocate,its possible to allocate memory with nocatch and it leaves NULL pointer,(64bit with many gigabytes)
    but there must be a better way than allocate much memory as possible...
  16. interesting,what algo should be used for a ascii...

    interesting,what algo should be used for a ascii endless numbers calculating lots of decimals for sqrt(2) ?which is also like PI= infinite number of decimals
  17. Replies
    0
    Views
    2,128

    any good razor book?

    Hi,i started with c# core webserver combined with razor pages to learn
    Web programming, know of a good razor book,or combined book?
  18. Replies
    6
    Views
    1,264

    thanks everyone ,mistake to have declaration of...

    thanks everyone ,mistake to have declaration of texture1 far away and missed that
    is it not prefered to have dynamic memory allocation with big files better and safer than arrays?
    fileread or other...
  19. Replies
    6
    Views
    1,264

    dont know how why this doesnt work

    throws exception when trying to use pointer to store unsigned chars in array

    unsigned char texture1 = 2700000;// 262 144;

    the function :
    I am stuck with not finding a solution now after trying...
  20. Replies
    4
    Views
    889

    Jim,you mean I should use loadimage() and handles...

    Jim,you mean I should use loadimage() and handles like in windows instead?
    I previous made a bmploader function and I want a function that blends 2 loaded images together,also have a todo list of...
  21. Replies
    4
    Views
    889

    right way to use pointer notation?

    Hi
    I am unsure about using pointers,so I usually stick to array[index]
    but now I want to make a function effecient by passing pointers and loop thru char's and do some math and if too big result...
  22. just have to check what innermost cacheline is in...

    just have to check what innermost cacheline is in size and align 64 (or whats the size of cacheline) right before innerloop,so all innerloop ends up inside cacheline instead of cpu loads cacheline...
  23. Replies
    15
    Views
    2,990

    please post that,isnt it possible to put the...

    please post that,isnt it possible to put the function that keeps the innerloop first after an alignas?
    wouldnt it matter also with 64byte boundary for innerloop?
  24. Replies
    11
    Views
    1,658

    whats the best book containing abstract (tree I...

    whats the best book containing abstract (tree I seen in this forum) exercises for one that are used to more lowlevel solutions,Cooper meantioned some book he got the tree exercise from
    but also want...
  25. I think a software renderer must handle more...

    I think a software renderer must handle more dimensions than 3,the camera changes for example makes use of matrices xyzw calculations,xyztime,UVW=like xyz for textures,ARGB color space
Results 1 to 25 of 86
Page 1 of 4 1 2 3 4