About 7,880,000 results
Open links in new tab
  1. gets () function in C - Stack Overflow

    Dec 3, 2010 · Ironically, the gets() routine is an obsolete function that provided compatibility with the very first version of the portable I/O library, and was replaced by standard I/O more than a …

  2. Why is the gets function so dangerous that it should not be used?

    247 Why is gets() dangerous The first internet worm (the Morris Internet Worm) escaped about 30 years ago (1988-11-02), and it used gets() and a buffer overflow as one of its methods of …

  3. C - scanf () vs gets () vs fgets () - Stack Overflow

    Jul 10, 2015 · Yes, you want to avoid gets. fgets will always read the new-line if the buffer was big enough to hold it (which lets you know when the buffer was too small and there's more of the …

  4. What is gets () equivalent in C11? - Stack Overflow

    Oct 15, 2012 · The gets () function does not perform bounds checking, therefore this function is extremely vulnerable to buffer-overflow attacks. It cannot be used safely (unless the program …

  5. c - Why gets () is deprecated? - Stack Overflow

    Mar 15, 2017 · gets may cause buffer overflow, since it don't consider length of the data. More details are here : gets () function in C deprecated message means, this function is marked as …

  6. What's the difference between gets and scanf? - Stack Overflow

    Oct 28, 2014 · gets - Reads characters from stdin and stores them as a string. scanf - Reads data from stdin and stores them according to the format specified int the scanf statement like %d, …

  7. Why is gets() not consuming a full line of input? - Stack Overflow

    Nov 20, 2022 · I'm trying to use gets() to get a string from the user, but the program seems to be passing right over gets(). There is no pause for the user to give input. Why is gets() not doing …

  8. How to use "gets" and "gets.chomp" in Ruby - Stack Overflow

    I learned that gets creates a new line and asks the user to input something, and gets.chomp does the same thing except that it does not create a new line. gets must return an object, so you …

  9. c - Implicit declaration of 'gets' - Stack Overflow

    Dec 2, 2015 · I understand that an 'implicit declaration' usually means that the function must be placed at the top of the program before calling it or that I need to declare the prototype. …

  10. Running labelme in VS Code terminal gets ImportError: DLL load …

    Jul 17, 2025 · Running pip install onnxruntime-directml==1.18.0 as in this GitHub issue and then labelme gets A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as …