Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Printf.cpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
3// Licensed under the Apache License, Version 2.0 (see LICENSE file)
4// Official repository: https://github.com/ne-app-eu/src
5
6#define NE_CLRSCR_SUPPORT
7#include <Ne/ConIO.h>
8
9int main(int, char**) {
10 clrscr();
11 _ROOT_NS printf("%s", "Hello, World!\n");
12
13 return EXIT_SUCCESS;
14}
#define main
IMPORT_C SInt32 printf(const Char *,...)
#define _ROOT_NS
Definition Types.h:15
#define EXIT_SUCCESS