diff --git a/c-basic/foo.c b/c-basic/foo.c index 8e2ccd9..b37e140 100644 --- a/c-basic/foo.c +++ b/c-basic/foo.c @@ -1,13 +1,26 @@ /** - * @file foo.c - * @author Mert Gör (mertgor@masscollabs.xyz) - * @brief Foo example - * @version 0.1 - * @date 2024-01-24 - * - * @copyright Copyright (c) 2024 Mert Gör and contributors - GPLv3 or any later - * - */ + +foo.c - foo example + +Copyright (C) 2023-2024 Mert Gör and contributors + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Feel free to send an email to mertgor@masscollabs.xyz for your questions + + **/ + #include int foo() diff --git a/c-basic/helloworld.c b/c-basic/helloworld.c index a39ee80..284ed18 100644 --- a/c-basic/helloworld.c +++ b/c-basic/helloworld.c @@ -1,16 +1,29 @@ /** - * @file helloworld.c - * @author Mert Gör (mertgor@masscollabs.xyz) - * @brief Hello World Example - * @version 0.1 - * @date 2024-01-24 - * - * @copyright Copyright (c) 2024 Mert Gör and contributors - GPLv3 or any later - * - */ + +helloworld.c - hello world example + +Copyright (C) 2023-2024 Mert Gör and contributors + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Feel free to send an email to mertgor@masscollabs.xyz for your questions + + **/ + #include int main(){ printf("Hello World\n"); return 0; -} \ No newline at end of file +} diff --git a/c-basic/initialization-variable.c b/c-basic/initialization-variable.c index ca0a5a8..a33bbc7 100644 --- a/c-basic/initialization-variable.c +++ b/c-basic/initialization-variable.c @@ -1,13 +1,25 @@ /** - * @file initialization-variable.c - * @author Mert Gör (mertgor@masscollabs.xyz) - * @brief Swap Algorithm with initialized variables - * @version 0.1 - * @date 2024-01-24 - * - * @copyright Copyright (c) 2024 Mert Gör and contributors - GPLv3 or any later - * - */ + +initialization-variable.c - Swap Algorithm with initialized variables example + +Copyright (C) 2023-2024 Mert Gör and contributors + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Feel free to send an email to mertgor@masscollabs.xyz for your questions + + **/ #include diff --git a/c-basic/print_variables.c b/c-basic/print_variables.c index 7385a61..3ed968e 100644 --- a/c-basic/print_variables.c +++ b/c-basic/print_variables.c @@ -1,13 +1,26 @@ /** - * @file print_variables.c - * @author Mert Gör (mertgor@masscollabs.xyz) - * @brief print variables with different ways - * @version 0.1 - * @date 2024-01-24 - * - * @copyright Copyright (c) 2024 Mert Gör and contributors - GPLv3 or any later - * - */ + +print_variables.c - print variables with different ways + +Copyright (C) 2023-2024 Mert Gör and contributors + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Feel free to send an email to mertgor@masscollabs.xyz for your questions + + **/ + #include int main(){ @@ -21,4 +34,4 @@ int main(){ printf("a and b printed together = %d%d\n", a, b); return 0; -} \ No newline at end of file +} diff --git a/c-basic/scanf-example-two-variables.c b/c-basic/scanf-example-two-variables.c index 437ee84..6d61e61 100644 --- a/c-basic/scanf-example-two-variables.c +++ b/c-basic/scanf-example-two-variables.c @@ -1,13 +1,26 @@ /** - * @file scanf-example-two-variables.c - * @author Mert Gör (mertgor@masscollabs.xyz) - * @brief scanf example with two variables - * @version 0.1 - * @date 2024-01-24 - * - * @copyright Copyright (c) 2024 Mert Gör and contributors - GPLv3 or any later - * - */ + +scanf-example-two-variables.c - scanf example with two variables + +Copyright (C) 2023-2024 Mert Gör and contributors + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Feel free to send an email to mertgor@masscollabs.xyz for your questions + + **/ + #include @@ -20,4 +33,4 @@ int main(){ printf("a = %d, b = %d\n", a, b); return 0; -} \ No newline at end of file +} diff --git a/c-basic/scanf-example.c b/c-basic/scanf-example.c index 3370189..74cd8b7 100644 --- a/c-basic/scanf-example.c +++ b/c-basic/scanf-example.c @@ -1,13 +1,26 @@ /** - * @file scanf-example.c - * @author Mert Gör (mertgor@masscollabs.xyz) - * @brief gettıng input source via scancf - * @version 0.1 - * @date 2024-01-24 - * - * @copyright Copyright (c) 2024 Mert Gör and cotributors - GPLv3 or any later - * - */ + +scanf-example.c - gettıng input source via scancf + +Copyright (C) 2023-2024 Mert Gör and contributors + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Feel free to send an email to mertgor@masscollabs.xyz for your questions + + **/ + #include diff --git a/c-basic/scanf-hex.c b/c-basic/scanf-hex.c index 7226b52..f5cee9a 100644 --- a/c-basic/scanf-hex.c +++ b/c-basic/scanf-hex.c @@ -1,13 +1,26 @@ /** - * @file scanf-hex.c - * @author Mert Gör (mertgor@masscollabs.xyz) - * @brief Scanf accepts the int variable as hex if we pass %x - * @version 0.1 - * @date 2024-01-24 - * - * @copyright Copyright (c) 2024 Mert Gör and contributors - GPLv3 or any later - * - */ + +scanf-hex.c - Scanf accepts the int variable as hex if we pass %x + +Copyright (C) 2023-2024 Mert Gör and contributors + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Feel free to send an email to mertgor@masscollabs.xyz for your questions + + **/ + #include @@ -19,4 +32,4 @@ int main(){ printf("a = %d\n", a); return 0; -} \ No newline at end of file +}