Search:

Type: Posts; User: Sly

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,235

    GUI with Standard Library

    How could you write GUI programs without the help of a third party library such as OpenGL?
  2. Thread: i am a beginner

    by Sly
    Replies
    2
    Views
    940

    First, what platform are you using? Then,...

    First, what platform are you using? Then, whatever program or movie you want to open hast to be able to be opened from the command line, so you can use system(). For example, this should open telnet...
  3. Replies
    3
    Views
    1,777

    You could copy all the files in a directory, then...

    You could copy all the files in a directory, then make a dir with the same name somewhere else and copy the files over.
  4. Replies
    16
    Views
    2,544

    I am writing a disassembler, but the reason I...

    I am writing a disassembler, but the reason I want to count is because if the EOF shows up as an opcode or data, I don't want the program to stop.
  5. Replies
    16
    Views
    2,544

    OK. Thanks. But where would I put the x--?

    OK. Thanks. But where would I put the x--?
  6. Replies
    16
    Views
    2,544

    I don't just want to read one byte, I want to...

    I don't just want to read one byte, I want to grab all of them and examine them as one byte chunks. Also, I need sometimes to examine them as more than one byte.
  7. Replies
    16
    Views
    2,544

    But if the EOF comes up as an opcode... ...

    But if the EOF comes up as an opcode...



    #include <stdio.h>

    int main() {
    int x;
    struct stat fbuf;
    int halt=0;
  8. Replies
    16
    Views
    2,544

    My only problem is, how would I get it to...

    My only problem is, how would I get it to recognize certian bytes as prefixes rather than ???. And how would I grab only a byte at a time.
  9. Replies
    16
    Views
    2,544

    How would you do that using fread()

    How would you do that using fread()
  10. Replies
    16
    Views
    2,544

    For example, my program reads F4 CD 21. I examine...

    For example, my program reads F4 CD 21. I examine these


    switch(opcode)
    {
    case F4:
    puts("F4 HLT");
    break;
    case CD:
    puts("CD INT");
  11. Replies
    16
    Views
    2,544

    Examine hex number?

    If I read from a file a %0.2X number, and I bring in a large number of these, how would I examine each byte with if?
  12. Thread: Simple loop

    by Sly
    Replies
    3
    Views
    1,131

    Okay, how do you get the average of something?

    Okay, how do you get the average of something?
  13. Thread: return or exit

    by Sly
    Replies
    4
    Views
    1,527

    Actually, when there is an error abort() is for...

    Actually, when there is an error abort() is for panicking, my vote would be for exit().
  14. Replies
    11
    Views
    34,900

    I may be completely off here, but it is my...

    I may be completely off here, but it is my understanding that you cannot free() something that has not been allocated with malloc().
  15. Thread: First C program

    by Sly
    Replies
    24
    Views
    3,747

    Sure. What question do you have?

    Sure. What question do you have?
  16. Thread: First C program

    by Sly
    Replies
    24
    Views
    3,747

    A function prototype is needed when you create...

    A function prototype is needed when you create your own function. For example:


    #include <stdio.h>

    void msg(void); /* This is the prototype */

    int main()
    {
    /* Displays Hello,...
  17. Thread: Text editor?

    by Sly
    Replies
    34
    Views
    4,220

    Well, thanks

    Well, thanks
  18. Thread: Text editor?

    by Sly
    Replies
    34
    Views
    4,220

    So what if you mix C and assembly so you could do...

    So what if you mix C and assembly so you could do it in the least possible time?
  19. Thread: Text editor?

    by Sly
    Replies
    34
    Views
    4,220

    Holy crap!! Still, x86 asm isn't that hard.

    Holy crap!! Still, x86 asm isn't that hard.
  20. Thread: Text editor?

    by Sly
    Replies
    34
    Views
    4,220

    Come on, it's not that bad.

    Come on, it's not that bad.
  21. Thread: Text editor?

    by Sly
    Replies
    34
    Views
    4,220

    Mixing C with assembly?

    Mixing C with assembly?
  22. Thread: Text editor?

    by Sly
    Replies
    34
    Views
    4,220

    So would you be able to explain how then?

    So would you be able to explain how then?
  23. Thread: Text editor?

    by Sly
    Replies
    34
    Views
    4,220

    No, I know x86 assembly, I am wondering if it...

    No, I know x86 assembly, I am wondering if it would be easier to explain how to edit text with it.
  24. Thread: Text editor?

    by Sly
    Replies
    34
    Views
    4,220

    for me, or for you to explain.

    for me, or for you to explain.
  25. Thread: Text editor?

    by Sly
    Replies
    34
    Views
    4,220

    Would it be easier in x86 assembly?

    Would it be easier in x86 assembly?
Results 1 to 25 of 65
Page 1 of 3 1 2 3