From 6aa494d9ee48bdf018b54bb77cb816a08505e3b3 Mon Sep 17 00:00:00 2001 From: irotov Date: Wed, 20 Nov 2024 09:49:24 +0400 Subject: [PATCH] Revert "secondd" This reverts commit 97e2b1818f2766c654e16cb1d21d6b2703aa955f. --- Lab1/Lab1/1.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Lab1/Lab1/1.cpp b/Lab1/Lab1/1.cpp index 6d2ca77..575e15a 100644 --- a/Lab1/Lab1/1.cpp +++ b/Lab1/Lab1/1.cpp @@ -1,7 +1,27 @@ +#include +#include + +void main() { + printf("Hello World!"); +} +void main2() { + + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + + printf("Лабораторная работа 1\n"); + printf("Предмет: Основы программирования\n"); + printf("Дата: 05.09.24\n"); + printf("Группа: ПИбд-12-2024\n"); + printf("\n"); + printf("Павлович\n"); + printf("Иван\n"); + printf("Ротов\n"); +} void main3(){