Thread: hi guys please help me to Correction this program:

  1. #1
    Registered User
    Join Date
    Dec 2018
    Posts
    5

    Cool hi guys please help me to Correction this program:

    hi guys
    please help me to Correction this program: this program search Ernest Rutherford on every article over the Ethernet:

    Code:
    #include <stdio.h>
    #include <conio.h>
    int main()
    {
    char Ernest Rutherford;
    int count;
    clrscr();
    printf("enter text to find special names  ");
    scanf(  Ernest Rutherford  );
    for(count = 0;  (Ernest Rutherford = getche())!='.'; count++);
    printf(count, scanf);
    getch();
    return 0;
    }

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    There are many things wrong with this code, please take a little time to properly study the language. Also, what you want to do is probably too difficult for you currently, just a heads-up.
    Devoted my life to programming...

  3. #3
    Registered User
    Join Date
    May 2012
    Location
    Arizona, USA
    Posts
    948
    Is this supposed to be a play on words? Ernest Rutherford may have been quite a character (I don't know anything about him, so I couldn't say one way or another), but he's not a character in the C sense of the word.

  4. #4
    Registered User
    Join Date
    Dec 2018
    Posts
    38
    It's usually Feynman who is considered a character. "Lord" Rutherford is the "father of nuclear physics".

    The joke here is "search Ernest Rutherford on every article over the Ethernet". Ever heard of google?

    Anyway, if this is actually a serious attempt then you can't just randomly type stuff in and expect it to work. Read a book. Write some programs. Learn the language.

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    What if you're searching over a wireless connection though.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  6. #6
    Registered User Kernelpanic's Avatar
    Join Date
    Sep 2018
    Location
    Berlin
    Posts
    105
    Quote Originally Posted by Dr.code View Post
    hi guys
    please help me to Correction this program: this program search Ernest Rutherford on every article over the Ethernet:
    . . .
    Mr. Dr. Code take it easy.
    YouTube

    . . . and
    Keep cool!
    (I like this phrase . . .)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Correction needed to make the program work?
    By ljgerr93 in forum C Programming
    Replies: 4
    Last Post: 10-17-2011, 12:59 PM
  2. Replies: 0
    Last Post: 12-07-2010, 06:19 PM
  3. Hey guys help with HiLo program
    By icehead14 in forum C++ Programming
    Replies: 5
    Last Post: 11-12-2010, 12:00 PM
  4. Need Help on program guys
    By Tyrannous in forum C Programming
    Replies: 3
    Last Post: 09-08-2010, 07:28 AM

Tags for this Thread