Search:

Type: Posts; User: I C everything

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,642

    Cpp questions

    Hi
    A windows api program which only register windows class (oop) and all other code is choice of coding c style without use subclass
    Still counts as cpp?
    Subclass mostly used messages better and...
  2. Replies
    4
    Views
    3,085

    macros???

    Hi
    I want to use macros as tool to shorten typing
    for example almost similar calls,for example sendmessage,to be exchanged for example sendm with only the variables thats changing to be inside...
  3. Replies
    8
    Views
    8,468

    what can I get away with and what should I not...

    what can I get away with and what should I not use .h file for because it bad programming habit,unreadable code
    so if I want a library in separate .c file with .h file
    how do I do when I want...
  4. Replies
    17
    Views
    9,709

    PCjr had only 64k RAM I done some...

    PCjr had only 64k RAM
    I done some retrocoding,isnt it accessible 1mb+ almost one more 64k block?
    extra annoying thing that cause bugs,segment switching and suddenly your variables you intend to use...
  5. Replies
    17
    Views
    9,709

    Thanks for answers all Different pointer size...

    Thanks for answers all
    Different pointer size must be more common,when you can compile c to 4 different cpu's
    Using ebx gives me warning, so i preserve that
    Seem easy to cause exception,writing...
  6. Replies
    17
    Views
    9,709

    Use highest warning level recommended?

    Hi
    Increase warning level on compiler so warnings is good or not?
    Or in which cases is it good to use?
  7. are setting warning level high=warnings is...

    are setting warning level high=warnings is reported as errors something to recommend when newbie or when nasty hard to find bugs like "=" when it should be "==" ?
    single step thru debugger is one...
  8. I have now tried testing with create 4 threads...

    I have now tried testing with create 4 threads and 16 threads from main,the displaying calculation on console is seemly delayed in beginning of main,right after createthread calls
    checking cpu...
  9. better understand to make programs faster with SIMT

    Hi
    which algos are suitable/not suitable to parallelism?
    similar to SIMD suitable algos?
    well you might cheat,put it on some server,that more probable has more cores,than computer
    I have noticed...
  10. Replies
    21
    Views
    18,197

    Must you use rand or are you free to use own...

    Must you use rand or are you free to use own inlined random generator?
    And are you allowed write 64bit version?

    Salem,I made some prime number code that stores a zero int in array when it finds...
  11. Replies
    21
    Views
    18,197

    ok,that explains it,my experience is from similar...

    ok,that explains it,my experience is from similar prime numbers testing ,printing from 1 to max,found out printing together with inttoascii is slowest,so I put this in separate thread and option to...
  12. Replies
    21
    Views
    18,197

    simplest is use secondary thread taking care of...

    simplest is use secondary thread taking care of slower print to screen or file
    while first thread finds primes and outputs to one buffer,the secondary thread outputs from another buffer,that...
  13. I currently switch between SIMT exercises and...

    I currently switch between SIMT exercises and
    Objects wander around on screen, FSM controlled
  14. Replies
    2
    Views
    3,238

    Thanks, so far only have separate thread saving...

    Thanks, so far only have separate thread saving to file
  15. Replies
    2
    Views
    3,238

    any good advice on SIMT?

    Hi
    I am training SIMT ,multiplethreads and gonna train more C-style use mostly local variables,for example 4 threads running same function have each one a set of unique local variables
    ,any good...
  16. 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...
  17. thanks,flp1969 I am trying something similar...

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

    thanks salem,flp1969
  19. 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...
  20. 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
  21. Replies
    2
    Views
    3,612

    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...
  22. Replies
    13
    Views
    12,927

    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);
  23. Replies
    13
    Views
    12,927

    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...
  24. Replies
    28
    Views
    23,158

    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?
  25. Replies
    6
    Views
    4,742

    start with fibonnaci numbers/positioning and...

    start with fibonnaci numbers/positioning and improve diamond from there
Results 1 to 25 of 101
Page 1 of 5 1 2 3 4