Program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arahul
    New Member
    • Oct 2006
    • 1

    Program

    I HAVE A PROBLEM IN THE FOLLOWING PROGRAM .PLEASE HELP ME.

    Write a program to display the name of the program at the runtime
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Originally posted by arahul
    I HAVE A PROBLEM IN THE FOLLOWING PROGRAM .PLEASE HELP ME.
    You imply that you have already attempted this, if so please post the code.

    Comment

    • D_C
      Contributor
      • Jun 2006
      • 293

      #3
      Here's a hint: If you define your program's entry point as int main(), then you can't do it. There are two parameters you need to identify, and one of the parameters has the information you need.

      Comment

      Working...