Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6546957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:46:18+00:00 2026-05-25T11:46:18+00:00

I just recently made the move to Linux, and now looking to program on

  • 0

I just recently made the move to Linux, and now looking to program on it as well.

However, for some reason I cannot get an executable to work.

Here’s what I’ve done:

  1. Downloaded Code::Blocks
  2. Made a new Console Project in Workspace 1 with C source.
  3. Added a getchar() before return(0);
  4. Ran and Compiled – Which works perfectly INSIDE Code::Blocks
  5. Went to the bin/release folder in which the file is saved, tried double clicking, right clicking and selecting: open, open with, tried using terminal to run the name of my program. I copied the folder URL, and then name of the file.. I just can’t seem to get the created file to execute!

In windows it made a .exe, I know there is no ending (?) in linux. (Could be wrong).

I’m currently running Ubuntu 11.04.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:46:19+00:00Added an answer on May 25, 2026 at 11:46 am

    Most Linux distributions don’t include the current directory in the PATH variable that determines where to search for executables. Try opening a terminal, changing to the bin/release directory and explicitly qualifying your executable for the current directory:

    ./myprogram
    

    This is in contrast to Windows, where you can simply type “myprogram.exe”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just recently made the move to Objective-C. I am doing some exercises from
I recently made the move from Linux development to Windows development. And as much
Having made the jump just recently from XEmacs to GNU Emacs, I'm really loving
I just recently installed the MVC beta. However, I assumed because the versioning numbers
I just recently started diving into Real World Haskell and the book provides some
We've just recently switched over from SVN to Mercurial, but now we are running
Just recently Google made available Maps GL on the GMaps platform. We have an
I recently made an app on a Mac running OS X 10.6. I now
My site is rather extensive, and I just recently made the switch to PHP5
I'm working on an android game, and just recently made the step to SurfaceView

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.