Thread: can't go past a basic step. plz help. total beginner

  1. #1
    Registered User
    Join Date
    Jul 2018
    Posts
    1

    can't go past a basic step. plz help. total beginner

    hello, I am a total beginner to programing and I am trying to write MY FIRST EVER code but I can't seem to go past a basic step.
    I have notepad++ and I believe I have downloaded mingw compiler using instructions on the internet. I wrote my source code on notepad++ and saved it. but when I try to locate and compile it , I guess, on mingw compiler i keep getting this message

    gcc: errror: helloworld.c: no such file or directory
    gcc: fatal error: no input files
    compilation terminated.

    Please help, I am in a dire situation.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    First you need to turn off file extension hiding in explorer.
    How to Make Windows Show File Extensions

    Then you can see if you've really saved "helloworld.c.txt".

    Next check that your current directory in the cmd.exe console has that file.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jul 2018
    Posts
    10
    you can use Eclipse its a nice Program for c .

  4. #4
    Registered User
    Join Date
    Jul 2018
    Posts
    4
    Use any other tools thats a great idea

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 08-09-2015, 12:30 PM
  2. Total Beginner
    By daithi81 in forum C++ Programming
    Replies: 9
    Last Post: 11-30-2010, 01:39 PM
  3. Total beginner questions
    By Sparky in forum C Programming
    Replies: 5
    Last Post: 06-22-2008, 04:50 AM
  4. Total beginner, need extreme help
    By OUTOFANSER in forum C++ Programming
    Replies: 3
    Last Post: 06-03-2006, 11:56 PM
  5. total beginner!!!
    By jacquifish in forum C Programming
    Replies: 7
    Last Post: 03-31-2003, 04:54 AM

Tags for this Thread