Top "Gets" questions

Anything related to C or C++ standard library functions gets (C) or std::gets (C++). These functions are used to read a sequence of characters from an input stream and to write it into a character buffer as a string.

What is going on with 'gets(stdin)' on the site coderbyte?

Coderbyte is an online coding challenge site (I found it just 2 minutes ago). The first C++ challenge you are greeted …

c++ input gets standards-compliance
gets() does not work

I have a program written in C and it calls gets() from a switch when a user chooses the option …

c gets
Alternative to gets?

I used to use gets but then I heard that it got removed from c11 and that its overall very …

c fgets gets
exploiting Buffer Overflow using gets() in a simple C program

I am new to Buffer Overflow exploits and I started with a simple C program. Code #include <stdio.h&…

c buffer-overflow exploit gets
C Struct Array Input

I have the following struct typedef char String[256]; typedef struct { String name; int year; float price; } Book; Array of Books …

c printf scanf gets puts
Dev-C++ Input skipped

#include<stdio.h> #include<conio.h> main() { int i; char c, text[30]; float f; printf("\nEnter …

c gets