Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What would you change in C?

Name: Anonymous 2009-08-26 13:44

It's the time for the next revision of the C standard and for some reason they want your advice. What do you add, remove, rename, etc ?

Name: Anonymous 2009-08-26 14:37

>>8
MyLib.h

#ifndef MYLIB_H
#define MYLIB_H

namespace MyLib
{
    void MyFunc();
}

#endif


MyLib.c

#include "MyLib.h"

namespace MyLib
{
    void MyFunc()
    {
    }
}


Client.c

#include <MyLib.h>
using namespace MyLib;

int main()
{
    MyFunc();
    // or explicitly
    MyLib.MyFunc();
    return 0;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List