#newline — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #newline, aggregated by home.social.
-
Komende zaterdag 30 mei 17h #MeshCore meetup in @hsg tijdens hun gratis #NewLine conference. Check https://newline.gent/ voor meer info en de andere workshops en talks tijdens deze conference.
-
Komende zaterdag 30 mei 17h #MeshCore meetup in @hsg tijdens hun gratis #NewLine conference. Check https://newline.gent/ voor meer info en de andere workshops en talks tijdens deze conference.
-
Komende zaterdag 30 mei 17h #MeshCore meetup in @hsg tijdens hun gratis #NewLine conference. Check https://newline.gent/ voor meer info en de andere workshops en talks tijdens deze conference.
-
Komende zaterdag 30 mei 17h #MeshCore meetup in @hsg tijdens hun gratis #NewLine conference. Check https://newline.gent/ voor meer info en de andere workshops en talks tijdens deze conference.
-
Komende zaterdag 30 mei 17h #MeshCore meetup in @hsg tijdens hun gratis #NewLine conference. Check https://newline.gent/ voor meer info en de andere workshops en talks tijdens deze conference.
-
Why do some functions return to main() with a newline, even though I am using getchar() to get rid of it?
Is there perhaps some other, better way to do it? Perhaps one with which clang doesn’t give me “unused result” warnings?
MODS: If you deem it inappropirate for me to continuously ask for guidance here, please let me know. 😊
#include <stdio.h> void executechoice(int choice); void printsavedpins(int pin_storage[]); void promptnewpin(void); void checkpinlength(int pin); void checkpinmatch(int pin); void updatepinstorage(int pin); int pin = 0; int pin_storage[10] = {0}; int storage_index = 0; const int storage_limit = 10; //Prompt user for action. int main() { int choice = 0; printf("What would you like to do? (V)iew your saved pins, (S)ave a new pin or (E)xit? "); while ((choice = getchar()) != EOF) { getchar(); //clang gives 'unused result' warning but '\n' needs to be removed. if (choice == 'E' || choice == 'e') { break; } else { executechoice(choice); getchar(); //clang gives 'unused result' warning but '\n' needs to be removed. printf("What would you like to do next? (V)iew your saved pins, (S)ave a new pin or (E)xit? "); } } printf("Goodbye!\n"); return 0; } //Function definitions void executechoice(int choice) { if (choice == 'V' || choice == 'v') { printsavedpins(pin_storage); } else if (choice == 'S' || choice == 's') { promptnewpin(); } else { printf("Invalid choice! What would you like to do? (V)iew your saved pins, (S)ave a new pin or (E)xit? "); } } void printsavedpins(int pin_storage[]) { for (int i = 0; i < storage_limit; i++) printf("Pin %d: %d\n", i + 1, pin_storage[i]); } void promptnewpin(void) { printf("Enter new pin: "); scanf("%d", &pin); checkpinlength(pin); } void checkpinlength(int pin) { if (pin < 1000*100) { printf("Pin has to be at least six digits!\n"); promptnewpin(); } else checkpinmatch(pin); } void checkpinmatch(int pin) { int check = 0; printf("Verify your new pin: "); scanf("%d", &check); if (check != pin) { printf("Mismatch! "); promptnewpin(); } else updatepinstorage(pin); } void updatepinstorage(int pin) { pin_storage[storage_index] = pin; storage_index++; if (storage_index >= storage_limit) { storage_index = 0; } printf("New pin saved successfully!\n"); } -
Why do some functions return to main() with a newline, even though I am using getchar() to get rid of it?
Is there perhaps some other, better way to do it? Perhaps one with which clang doesn’t give me “unused result” warnings?
MODS: If you deem it inappropirate for me to continuously ask for guidance here, please let me know. 😊
#include <stdio.h> void executechoice(int choice); void printsavedpins(int pin_storage[]); void promptnewpin(void); void checkpinlength(int pin); void checkpinmatch(int pin); void updatepinstorage(int pin); int pin = 0; int pin_storage[10] = {0}; int storage_index = 0; const int storage_limit = 10; //Prompt user for action. int main() { int choice = 0; printf("What would you like to do? (V)iew your saved pins, (S)ave a new pin or (E)xit? "); while ((choice = getchar()) != EOF) { getchar(); //clang gives 'unused result' warning but '\n' needs to be removed. if (choice == 'E' || choice == 'e') { break; } else { executechoice(choice); getchar(); //clang gives 'unused result' warning but '\n' needs to be removed. printf("What would you like to do next? (V)iew your saved pins, (S)ave a new pin or (E)xit? "); } } printf("Goodbye!\n"); return 0; } //Function definitions void executechoice(int choice) { if (choice == 'V' || choice == 'v') { printsavedpins(pin_storage); } else if (choice == 'S' || choice == 's') { promptnewpin(); } else { printf("Invalid choice! What would you like to do? (V)iew your saved pins, (S)ave a new pin or (E)xit? "); } } void printsavedpins(int pin_storage[]) { for (int i = 0; i < storage_limit; i++) printf("Pin %d: %d\n", i + 1, pin_storage[i]); } void promptnewpin(void) { printf("Enter new pin: "); scanf("%d", &pin); checkpinlength(pin); } void checkpinlength(int pin) { if (pin < 1000*100) { printf("Pin has to be at least six digits!\n"); promptnewpin(); } else checkpinmatch(pin); } void checkpinmatch(int pin) { int check = 0; printf("Verify your new pin: "); scanf("%d", &check); if (check != pin) { printf("Mismatch! "); promptnewpin(); } else updatepinstorage(pin); } void updatepinstorage(int pin) { pin_storage[storage_index] = pin; storage_index++; if (storage_index >= storage_limit) { storage_index = 0; } printf("New pin saved successfully!\n"); } -
‘Mortal Kombat II’ Tops Friday but Continues to Battle ‘Prada 2’ for Mother’s Day Win
In a battle of the genders, New Line’s video game adaptation Mortal Kombat II and 20th Century’s The Devil…
#NewsBeep #News #US #USA #UnitedStates #UnitedStatesOfAmerica #Movies #DevilWearsPrada #domesticboxoffice #Entertainment #MortalKombat #NewLine #prada
https://www.newsbeep.com/us/633410/ -
‘Mortal Kombat II’ Tops Friday but Continues to Battle ‘Prada 2’ for Mother’s Day Win
In a battle of the genders, New Line’s video game adaptation Mortal Kombat II and 20th Century’s The Devil…
#NewsBeep #News #US #USA #UnitedStates #UnitedStatesOfAmerica #Movies #DevilWearsPrada #domesticboxoffice #Entertainment #MortalKombat #NewLine #prada
https://www.newsbeep.com/us/633410/ -
‘Evil Dead Burn’ Trailer: Deadites Take Over Family Gathering In New Line Franchise’s Latest
#News #Trailers #EvilDeadBurn #NewLine #SébastienVaniček #SouheilaYacoubhttps://deadline.com/2026/05/evil-dead-burn-trailer-new-line-sebastien-vanicek-1236881781/
-
‘Evil Dead Burn’ Trailer: Deadites Take Over Family Gathering In New Line Franchise’s Latest
#News #Trailers #EvilDeadBurn #NewLine #SébastienVaniček #SouheilaYacoubhttps://deadline.com/2026/05/evil-dead-burn-trailer-new-line-sebastien-vanicek-1236881781/
-
‘Evil Dead Burn’ Trailer: Deadites Take Over Family Gathering In New Line Franchise’s Latest
#News #Trailers #EvilDeadBurn #NewLine #SébastienVaniček #SouheilaYacoubhttps://deadline.com/2026/05/evil-dead-burn-trailer-new-line-sebastien-vanicek-1236881781/
-
‘Evil Dead Burn’ Trailer: Deadites Take Over Family Gathering In New Line Franchise’s Latest
#News #Trailers #EvilDeadBurn #NewLine #SébastienVaniček #SouheilaYacoubhttps://deadline.com/2026/05/evil-dead-burn-trailer-new-line-sebastien-vanicek-1236881781/
-
‘Mortal Kombat II’ To KO Box Office With U.S. Opening Around $50M – Early Look
New Line’s Mortal Kombat II hit tracking late last week for what’s shaping up to be a domestic…
#NewsBeep #News #Movies #Entertainment #JohnnyCage #MichaelMichaelJackson #MortalKombat #NewLine #UK #UnitedKingdom #WarnerBros.
https://www.newsbeep.com/uk/543943/ -
https://www.europesays.com/uk/910160/ ‘Mortal Kombat II’ To KO Box Office With U.S. Opening Around $50M – Early Look #Entertainment #JohnnyCage #MichaelMichaelJackson #MortalKombat #Movies #NewLine #UK #UnitedKingdom #WarnerBros
-
The Warner Bros. presentation at CinemaCon in Las Vegas on Tuesday offered a glimpse at the upcoming "Lord of the Rings: The Hunt for Gollum" Directed by original Gollum star Andy Serkis, the return to Middle-earth has a Dec. 17, 2027 release date. #thehuntforgollum #andyserkis #lordoftherings #warnerbros #newline #jrrtolkien
https://www.animationmagazine.net/2026/04/warner-bros-teases-dec-2027s-lord-of-the-rings-the-hunt-for-gollum-at-cinemacon/ -
The Warner Bros. presentation at CinemaCon in Las Vegas on Tuesday offered a glimpse at the upcoming "Lord of the Rings: The Hunt for Gollum" Directed by original Gollum star Andy Serkis, the return to Middle-earth has a Dec. 17, 2027 release date. #thehuntforgollum #andyserkis #lordoftherings #warnerbros #newline #jrrtolkien
https://www.animationmagazine.net/2026/04/warner-bros-teases-dec-2027s-lord-of-the-rings-the-hunt-for-gollum-at-cinemacon/ -
The Warner Bros. presentation at CinemaCon in Las Vegas on Tuesday offered a glimpse at the upcoming "Lord of the Rings: The Hunt for Gollum" Directed by original Gollum star Andy Serkis, the return to Middle-earth has a Dec. 17, 2027 release date. #thehuntforgollum #andyserkis #lordoftherings #warnerbros #newline #jrrtolkien
https://www.animationmagazine.net/2026/04/warner-bros-teases-dec-2027s-lord-of-the-rings-the-hunt-for-gollum-at-cinemacon/ -
Sébastien Vaniček Teases Next New Line Entry
Warner Bros. has unveiled the first trailer for Evil Dead Burn, the latest entry in its classic New…
#NewsBeep #News #US #USA #UnitedStates #UnitedStatesOfAmerica #Movies #CinemaCon #Entertainment #EvilDeadBurn #NewLine #Su00e9bastienVaniu010dek #WarnerBros.
https://www.newsbeep.com/us/584848/ -
Sébastien Vaniček Teases Next New Line Entry
Warner Bros. has unveiled the first trailer for Evil Dead Burn, the latest entry in its classic New…
#NewsBeep #News #US #USA #UnitedStates #UnitedStatesOfAmerica #Movies #CinemaCon #Entertainment #EvilDeadBurn #NewLine #Su00e9bastienVaniu010dek #WarnerBros.
https://www.newsbeep.com/us/584848/ -
‘Evil Dead Burn’ Bloody First Footage From Warner Bros., “Family Is The Root Of All Evil” – CinemaCon
#News #CinemaCon #EvilDeadBurn #NewLine #SébastienVaniček #WarnerBroshttps://deadline.com/2026/04/evil-dead-burn-first-look-new-line-sebastien-vanicek-1236860360/
-
‘Evil Dead Burn’ Bloody First Footage From Warner Bros., “Family Is The Root Of All Evil” – CinemaCon
#News #CinemaCon #EvilDeadBurn #NewLine #SébastienVaniček #WarnerBroshttps://deadline.com/2026/04/evil-dead-burn-first-look-new-line-sebastien-vanicek-1236860360/
-
‘Evil Dead Burn’ Bloody First Footage From Warner Bros., “Family Is The Root Of All Evil” – CinemaCon
#News #CinemaCon #EvilDeadBurn #NewLine #SébastienVaniček #WarnerBroshttps://deadline.com/2026/04/evil-dead-burn-first-look-new-line-sebastien-vanicek-1236860360/
-
‘Evil Dead Burn’ Bloody First Footage From Warner Bros., “Family Is The Root Of All Evil” – CinemaCon
#News #CinemaCon #EvilDeadBurn #NewLine #SébastienVaniček #WarnerBroshttps://deadline.com/2026/04/evil-dead-burn-first-look-new-line-sebastien-vanicek-1236860360/
-
https://www.europesays.com/es/475676/ Diez años después, la secuela de este clásico moderno del cine de terror se pone en marcha por fin #Cine #CineDeTerror #ConnorOsbornMcIntyre #DavidF.Sandberg #Entertainment #Entretenimiento #ES #España #Film #JamesWan #Movies #NewLine #NuncaApaguesLaLuz #secuela #Spain
-
https://www.europesays.com/es/473701/ Diez años después, la secuela de este clásico moderno del cine de terror se pone en marcha por fin #Cine #CineDeTerror #ConnorOsbornMcIntyre #DavidF.Sandberg #Entertainment #Entretenimiento #ES #España #Film #JamesWan #Movies #NewLine #NuncaApaguesLaLuz #secuela #Spain
-
https://www.europesays.com/es/?p=473155 Diez años después, la secuela de este clásico moderno del cine de terror se pone en marcha por fin #Cine #CineDeTerror #ConnorOsbornMcIntyre #DavidF.Sandberg #Entertainment #Entretenimiento #ES #España #Film #JamesWan #Movies #NewLine #NuncaApaguesLaLuz #secuela #Spain
-
Stephen Colbert Set To Write Next ‘Lord Of The Rings’ Movie After ‘The Hunt For Gollum’ Based On “Fog On The Barrow-Downs” Chapter
#News #Lordoftherings #NewLine #StephenColberthttps://deadline.com/2026/03/stephen-colbert-lord-of-the-rings-1236764923/
-
Stephen Colbert Set To Write Next ‘Lord Of The Rings’ Movie After ‘The Hunt For Gollum’ Based On “Fog On The Barrow-Downs” Chapter
#News #Lordoftherings #NewLine #StephenColberthttps://deadline.com/2026/03/stephen-colbert-lord-of-the-rings-1236764923/
-
Stephen Colbert Set To Write Next ‘Lord Of The Rings’ Movie After ‘The Hunt For Gollum’ Based On “Fog On The Barrow-Downs” Chapter
#News #Lordoftherings #NewLine #StephenColberthttps://deadline.com/2026/03/stephen-colbert-lord-of-the-rings-1236764923/
-
Stephen Colbert Set To Write Next ‘Lord Of The Rings’ Movie After ‘The Hunt For Gollum’ Based On “Fog On The Barrow-Downs” Chapter
#News #Lordoftherings #NewLine #StephenColberthttps://deadline.com/2026/03/stephen-colbert-lord-of-the-rings-1236764923/
-
#Development #Techniques
Newlines in URLs work · Making long links more readable in HTML https://ilo.im/16b45d_____
#Newline #Tabs #Readability #URLs #DataURLs #Specification #Browsers #WebDev #Frontend #HTML #SVG -
#Development #Techniques
Newlines in URLs work · Making long links more readable in HTML https://ilo.im/16b45d_____
#Newline #Tabs #Readability #URLs #DataURLs #Specification #Browsers #WebDev #Frontend #HTML #SVG -
#Development #Techniques
Newlines in URLs work · Making long links more readable in HTML https://ilo.im/16b45d_____
#Newline #Tabs #Readability #URLs #DataURLs #Specification #Browsers #WebDev #Frontend #HTML #SVG -
#Development #Techniques
Newlines in URLs work · Making long links more readable in HTML https://ilo.im/16b45d_____
#Newline #Tabs #Readability #URLs #DataURLs #Specification #Browsers #WebDev #Frontend #HTML #SVG -
Is it a plane, a bird, a train, a bus?!? Saitama - New Shuttle (yes, someone was creative with the name) is supposedly a train (according to the English announcement), but somehow the tracks are missing ;)
https://en.wikipedia.org/wiki/New_Shuttle
#japan #saitama #newline #bustrain
*edit* correct name New Shuttle - not New Line + added Link to wikipedia
-
Is it a plane, a bird, a train, a bus?!? Saitama - New Shuttle (yes, someone was creative with the name) is supposedly a train (according to the English announcement), but somehow the tracks are missing ;)
https://en.wikipedia.org/wiki/New_Shuttle
#japan #saitama #newline #bustrain
*edit* correct name New Shuttle - not New Line + added Link to wikipedia
-
Is it a plane, a bird, a train, a bus?!? Saitama - New Shuttle (yes, someone was creative with the name) is supposedly a train (according to the English announcement), but somehow the tracks are missing ;)
https://en.wikipedia.org/wiki/New_Shuttle
#japan #saitama #newline #bustrain
*edit* correct name New Shuttle - not New Line + added Link to wikipedia
-
Is it a plane, a bird, a train, a bus?!? Saitama - New Shuttle (yes, someone was creative with the name) is supposedly a train (according to the English announcement), but somehow the tracks are missing ;)
https://en.wikipedia.org/wiki/New_Shuttle
#japan #saitama #newline #bustrain
*edit* correct name New Shuttle - not New Line + added Link to wikipedia
-
Is it a plane, a bird, a train, a bus?!? Saitama - New Shuttle (yes, someone was creative with the name) is supposedly a train (according to the English announcement), but somehow the tracks are missing ;)
https://en.wikipedia.org/wiki/New_Shuttle
#japan #saitama #newline #bustrain
*edit* correct name New Shuttle - not New Line + added Link to wikipedia
-
Amy Madigan Talks ‘Weapons’ Prequel, Apple Thriller ‘Sponsor’ As She Returns To Oscars Race For First Time In Four Decades
#News #AcademyAwards #AmyMadigan #NewLine #Oscars #Sponsor #Weaponshttps://deadline.com/2026/01/amy-madigan-weapons-prequel-sponsor-movie-oscar-nomination-1236692854/
-
Amy Madigan Talks ‘Weapons’ Prequel, Apple Thriller ‘Sponsor’ As She Returns To Oscars Race For First Time In Four Decades
#News #AcademyAwards #AmyMadigan #NewLine #Oscars #Sponsor #Weaponshttps://deadline.com/2026/01/amy-madigan-weapons-prequel-sponsor-movie-oscar-nomination-1236692854/
-
Amy Madigan Talks ‘Weapons’ Prequel, Apple Thriller ‘Sponsor’ As She Returns To Oscars Race For First Time In Four Decades
#News #AcademyAwards #AmyMadigan #NewLine #Oscars #Sponsor #Weaponshttps://deadline.com/2026/01/amy-madigan-weapons-prequel-sponsor-movie-oscar-nomination-1236692854/
-
Amy Madigan Talks ‘Weapons’ Prequel, Apple Thriller ‘Sponsor’ As She Returns To Oscars Race For First Time In Four Decades
#News #AcademyAwards #AmyMadigan #NewLine #Oscars #Sponsor #Weaponshttps://deadline.com/2026/01/amy-madigan-weapons-prequel-sponsor-movie-oscar-nomination-1236692854/
-
‘Lee Cronin’s The Mummy’ Teaser: ‘Evil Dead Rise’ Helmer Returns With Another New Line Nightmare
#News #Trailers #LeeCronin #LeeCroninsTheMummy #NewLine #WarnerBroshttps://deadline.com/2026/01/lee-cronins-the-mummy-trailer-new-line-1236681115/
-
‘Lee Cronin’s The Mummy’ Teaser: ‘Evil Dead Rise’ Helmer Returns With Another New Line Nightmare
#News #Trailers #LeeCronin #LeeCroninsTheMummy #NewLine #WarnerBroshttps://deadline.com/2026/01/lee-cronins-the-mummy-trailer-new-line-1236681115/
-
‘Lee Cronin’s The Mummy’ Teaser: ‘Evil Dead Rise’ Helmer Returns With Another New Line Nightmare
#News #Trailers #LeeCronin #LeeCroninsTheMummy #NewLine #WarnerBroshttps://deadline.com/2026/01/lee-cronins-the-mummy-trailer-new-line-1236681115/
-
‘Lee Cronin’s The Mummy’ Teaser: ‘Evil Dead Rise’ Helmer Returns With Another New Line Nightmare
#News #Trailers #LeeCronin #LeeCroninsTheMummy #NewLine #WarnerBroshttps://deadline.com/2026/01/lee-cronins-the-mummy-trailer-new-line-1236681115/