don't want to show source

This is a discussion on don't want to show source within the C++ Programming forums, part of the General Programming Boards category; Hi! I have a question, Every time I run my program I need to open it with the source code ...

  1. #1
    Registered User
    Join Date
    Sep 2008

    don't want to show source


    code that i have made. My question is, Is it possible to run my program without
    opening the source so that no one can see how do I created the program?

    please help me!


  2. #2
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Your compiler creates an executable file somewhere whenever you compile your code. You can use your system's file browser to open that file without seeing any code. What's so secret? It doesn't sound like you work for the Pentagon.
    -Mark Twain

  3. #3
    Registered User
    Join Date
    Jun 2008
    You should know that for the most part, there is no way to truly make your code invisible, because eventually the cpu HAS to process it, and anything the CPU can process, humans can process (given a little time).

    Like CodeMonkey said, distribute the executable that is made by the compiler, it is dumped in the project directory somewhere when you compile.

  4. #4
    and the hat of sweating
    Join Date
    Aug 2007
    Toronto, ON
    Why on earth would you need your source code to run your program?
    What kind of strange C++ compiler are you using?
    Once you compile your code into a binary executable, that's it, you just run the executable. No source code is required unless you want to make a change and re-compile it.


  5. #5
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    When you run your program from an IDE (where it shows your source code) it creates an executable (exe) usually in the same folder or under/bin/Debug/ or /bin/Release/ etc. then it runs it automatically.

    They can't see exe source code. Just bits an pieces, and assembly calls which most people don't understand, let alone have the time to compile into source code.

    You should also give open source more thought. You'll probably like the concept eventually.
    Warning: Have doubt in anything I post.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Threads to keep the CPU faster than the disk?
    By matthew180 in forum C Programming
    Replies: 4
  2. Timers
    By Deb in forum C Programming
    Replies: 16
    Last Post: 04-23-2007, 10:15 AM
  3. Source routing
    By failure_to in forum Networking/Device Communication
    Replies: 2
    Last Post: 06-04-2004, 04:34 PM
  4. Tutorial review
    By Prelude in forum A Brief History of
    Replies: 11
  5. Request for comments
    By Prelude in forum A Brief History of
    Replies: 15
