Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Newbie Graphics question

This topic is 6927 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I had left I message about fmemset() a while ago and I still have not gotten it to work with borland turbo c++ or djgpp I have tried including mem.h and memory.h but it still will not work. DOes anyone have an include function that uses fmemset() and can share the code to the .h file? It would be great help or if anyone knows how to make a line in dos without using fmemset() of a for loop. It would help me out alot

Share this post

Link to post
Share on other sites
This is straight from Turbo C++ help file.

declared in "string.h" and "mem.h"

void *memset(void *s, int c, size_t n);

void far * far _fmemset(void far *s, int c, size_t n);

For DJGPP, I don't believe there is a _fmemset, if so, it is only there for compatibility, because DJGPP does not have far. I use to be able to make memset in assembly, but was a long time ago in another life.

What exactly is happening.


Edited by - Domini on 5/4/00 2:23:08 PM

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!