Category : Files from Magazines
Archive   : CUJ9201.ZIP
Filename : 1001023B

 
Output of file : 1001023B contained in archive : CUJ9201.ZIP
Example of C Functions With C++ Key Word Names

This code doesn't work:

new.cpp:
extern int new();

main()
{
int x = new();
}

So replace it with this code:

example2.h:
#ifndef __cplusplus
extern int new();
#endif
#ifdef __cplusplus
extern int new_one();
#endif

example2.c:

#include "example2.h"

int new_one()
{
return(new());
}


new2.cpp:

#include "example2.h"

main()
{
int x = new_one();
}



  3 Responses to “Category : Files from Magazines
Archive   : CUJ9201.ZIP
Filename : 1001023B

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/