🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #694

equivalent to app.path (return applications path) ?!??

#694
From: Sean Harvell
Date: Sun, 24 Oct 1999 00:00
13 lines
1471 bytes
Does any one know what the C++ equivalent to Visual Basics app.path is? I
would like to return the
exact path that the executable is being executed from.

Example program being run from:
c:\test\mycoolapp.exe

Function etc. would return:
c:\test

Thank you
Sean M. Harvell
sean@harvell.com
Technical Details
Message-ID: <7uva69$o6k$1@hiram.io.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4307,66b19b44094781ae,start
X-Google-Attributes: gidf4307,public
X-Google-Thread: f53ec,66b19b44094781ae,start
X-Google-Attributes: gidf53ec,public
X-Google-Thread: 114592,66b19b44094781ae,start
X-Google-Attributes: gid114592,public
X-Google-Thread: 109fba,66b19b44094781ae,start
X-Google-Attributes: gid109fba,public
X-Google-Thread: f7a51,66b19b44094781ae,start
X-Google-Attributes: gidf7a51,public
X-Google-Thread: 10e4a8,66b19b44094781ae,start
X-Google-Attributes: gid10e4a8,public
From: "Sean Harvell" <sean@harvell.com>
Subject: equivalent to app.path (return applications path) ?!??
Date: 1999/10/24
Message-ID: <7uva69$o6k$1@hiram.io.com>
X-Deja-AN: 539974446
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@io.com
X-Trace: hiram.io.com 940780553 24788 208.2.105.134 (24 Oct 1999 15:55:53 GMT)
Organization: Illuminati Online
X-MSMail-Priority: Normal
NNTP-Posting-Date: 24 Oct 1999 15:55:53 GMT
Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c++,es.comp.lenguajes.c++,microsoft.public.vc,microsoft.public.vc.language,nersc.c++