Search:

Type: Posts; User: Bladactania

Page 1 of 12 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    9,461

    Oops... I forgot to look at the date! Someone...

    Oops... I forgot to look at the date! Someone linked me to this thread from one of mine!

    Sorry guys!
  2. Replies
    8
    Views
    1,427

    But after looking at DOSBox, I'll try that first

    But after looking at DOSBox, I'll try that first
  3. Replies
    12
    Views
    9,461

    Given the fact that he has programmed in Visual...

    Given the fact that he has programmed in Visual Basic, learning to use the Visual C++ IDE will be a snap.
  4. Replies
    8
    Views
    1,427

    I was considering simply installing XP as well as...

    I was considering simply installing XP as well as Vista 64-bit so I could boot to either...
  5. Replies
    8
    Views
    1,427

    Need a new compiler

    Hello all,
    I've writing software to run on an SBC running DOS 6.2. I've been using Borland Turbo C 3.0 compiler. I've just got a new laptop with Vista, and the Borland compiler will not run on it....
  6. Replies
    7
    Views
    4,429

    Yeah that's what I originally tried (inport). ...

    Yeah that's what I originally tried (inport). I've never written inline assembler functions before... always fun to learn something new :)
  7. Replies
    7
    Views
    4,429

    asm?

    asm?
  8. Replies
    7
    Views
    4,429

    I tried using inp(), inpw(), inport(), and...

    I tried using inp(), inpw(), inport(), and inportb().
  9. Replies
    7
    Views
    4,429

    I get an undefined error for inportw()

    I get an undefined error for inportw()
  10. char line[BUFSIZ]; // Creates a character array...

    char line[BUFSIZ]; // Creates a character array BUFSIZE characters long
    double fPurchase_Amount = 0.0; // Creates a float variable and initializes to 0.0
    fgets(line, sizeof(line)-1, stdin); //...
  11. Replies
    10
    Views
    2,824

    I just had to say that I loved the "shooting...

    I just had to say that I loved the "shooting yourself in the foot" analogy :)
  12. Replies
    7
    Views
    4,429

    Reading a 16 bit Register

    Greetings all... (I'm using Borland Turbo C/C++ 3.0)

    I am using an ADC board (See Getting Started Sheet) attached to an SBC running DOS 6.2. There is only a sparse and seemingly rough...
  13. Replies
    18
    Views
    2,238

    if (isalpha(str1[i])) { ...

    if (isalpha(str1[i]))
    {
    printf("\n%c", str1[i]);
    }
    else
    {
    printf("\n%c", str1[i]);
    }
  14. Replies
    18
    Views
    3,219

    Instead of NULL, would setting the prt to 0 work?

    Instead of NULL, would setting the prt to 0 work?
  15. Replies
    18
    Views
    3,219

    I seem to remember seeing somewhere that you...

    I seem to remember seeing somewhere that you cannot allocate memory for a pointer that is already set to NULL. Is this true?
  16. Replies
    18
    Views
    3,219

    It was a timing issue I was worried about. There...

    It was a timing issue I was worried about. There was a chance that the way I had structured my main loop, that I might be freeing a variable that might not have been malloced during the iteration.
    ...
  17. Replies
    18
    Views
    3,219

    free-ing un-malloc-ed memory

    Will it cause problems if I call free() on a char* that I never called malloc() for?
  18. Replies
    11
    Views
    1,665

    Look in the Installation Directory. For me it's...

    Look in the Installation Directory. For me it's c:\program files\MS Visual Studio 8\VC\include
  19. Replies
    9
    Views
    1,418

    It would be helpful to see what the compiler...

    It would be helpful to see what the compiler errors you get.

    I do know that the brackets '[]' in your function declarations in the parameters are not necessary, but I'm not sure if they would...
  20. Replies
    11
    Views
    1,665

    Your compiler should have an include folder...

    Your compiler should have an include folder somewhere that has all the header files in it.
  21. Replies
    10
    Views
    12,795

    I don't understand the need for making a copy of...

    I don't understand the need for making a copy of "p" Couldn't it be returned by value then incremented?
  22. Replies
    10
    Views
    12,795

    There's no explanation about WHY that makes a...

    There's no explanation about WHY that makes a difference in a for loop.
  23. Replies
    7
    Views
    2,202

    Because the function is designed to accept any...

    Because the function is designed to accept any integer pointer, not only the one inside the structure.
  24. Thread: c[-1]?

    by Bladactania
    Replies
    21
    Views
    2,613

    Yes you can do that, but you are likely to get a...

    Yes you can do that, but you are likely to get a seg fault or other unexpected behavior if you do something like that.

    Just because something works SOMETIMES doesn't mean it will work ALL times.
  25. Replies
    13
    Views
    2,312

    the add(as); in the original post is results in...

    the add(as); in the original post is results in the same thing as the same line in your code. In the original, he passes a pointer to the structure, so any changes to as within the function are...
Results 1 to 25 of 278
Page 1 of 12 1 2 3 4