Use Import or Include in C / C ++?

1
#import <stdio.h>

or

#include <stdio.h>

What is the correct way to use it?

I was seeing videos on YouTube for some time.

    
asked by anonymous 06.02.2018 / 22:38

1 answer

4

Do not use #import , it is out of standard, at most use #pragma once if you want to ensure inclusion only occurs once.

See:

06.02.2018 / 22:55