Building Win32 Console Application Visual Studio
up vote
-1
down vote
favorite
Question Background - I am working on a source code called "OpenSEES
" which is written in Visual Studio C++. Which is having a source code, it consists of several class definition. If we build the source code, we will get an (.exe) application, it looks like this.
Its basically a software used for analysis of civil engineering structures (Finite Element Analysis). To analyze a structure, we have to first prepare the model file (Filename.tcl
) in tcl
application, and then we have to supply it to the Opensees application like this
Question - When I look at the source code, it consists of only .h
and .cpp
files, which in turn consists of only classes and their definitions. There is no main()
function in the entire source code. Also the developers are saying that
and
To my knowledge I am not giving any main()
function, I am just giving a input tcl file, which consists of commands like this
- Where is the
main()
function in the source code?? - Does a framework do not need any
main()
function??, if that is the case what is the entry point??
c++ visual-studio frameworks
add a comment |
up vote
-1
down vote
favorite
Question Background - I am working on a source code called "OpenSEES
" which is written in Visual Studio C++. Which is having a source code, it consists of several class definition. If we build the source code, we will get an (.exe) application, it looks like this.
Its basically a software used for analysis of civil engineering structures (Finite Element Analysis). To analyze a structure, we have to first prepare the model file (Filename.tcl
) in tcl
application, and then we have to supply it to the Opensees application like this
Question - When I look at the source code, it consists of only .h
and .cpp
files, which in turn consists of only classes and their definitions. There is no main()
function in the entire source code. Also the developers are saying that
and
To my knowledge I am not giving any main()
function, I am just giving a input tcl file, which consists of commands like this
- Where is the
main()
function in the source code?? - Does a framework do not need any
main()
function??, if that is the case what is the entry point??
c++ visual-studio frameworks
Most users will use OpenSees.exe which is indeed an executable.
Don't be confused between the executable and the framework. A framework in this case is a collection of code artifacts that get packaged into a static or dynamic library and linked to by an executable. OpenSees.exe is one such executable. You could also build your own. Note that the entry point may not necessarily bemain
or thatmain
may be hidden in the executables sources. For example, if the executable is built for Windows with MFC or ATL, you won't see a nakedmain
. This is implementation dependent.
– user4942583
Nov 22 at 13:32
@hacksalot Thank you very much for your prompt reply. Could you please provide some more information (books or webpage links or any personal suggestions) on building an executable for static or dynamic library, I want to learn to build one executable. Also, I want to know, Am I giving mymain()
function, usingtcl
input file, Which basically contains input arguments to the member functions of a classes specified in the framework.
– Learning C Plus Plus
Nov 22 at 14:53
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
Question Background - I am working on a source code called "OpenSEES
" which is written in Visual Studio C++. Which is having a source code, it consists of several class definition. If we build the source code, we will get an (.exe) application, it looks like this.
Its basically a software used for analysis of civil engineering structures (Finite Element Analysis). To analyze a structure, we have to first prepare the model file (Filename.tcl
) in tcl
application, and then we have to supply it to the Opensees application like this
Question - When I look at the source code, it consists of only .h
and .cpp
files, which in turn consists of only classes and their definitions. There is no main()
function in the entire source code. Also the developers are saying that
and
To my knowledge I am not giving any main()
function, I am just giving a input tcl file, which consists of commands like this
- Where is the
main()
function in the source code?? - Does a framework do not need any
main()
function??, if that is the case what is the entry point??
c++ visual-studio frameworks
Question Background - I am working on a source code called "OpenSEES
" which is written in Visual Studio C++. Which is having a source code, it consists of several class definition. If we build the source code, we will get an (.exe) application, it looks like this.
Its basically a software used for analysis of civil engineering structures (Finite Element Analysis). To analyze a structure, we have to first prepare the model file (Filename.tcl
) in tcl
application, and then we have to supply it to the Opensees application like this
Question - When I look at the source code, it consists of only .h
and .cpp
files, which in turn consists of only classes and their definitions. There is no main()
function in the entire source code. Also the developers are saying that
and
To my knowledge I am not giving any main()
function, I am just giving a input tcl file, which consists of commands like this
- Where is the
main()
function in the source code?? - Does a framework do not need any
main()
function??, if that is the case what is the entry point??
c++ visual-studio frameworks
c++ visual-studio frameworks
edited Nov 22 at 12:57
asked Nov 22 at 12:51
Learning C Plus Plus
16
16
Most users will use OpenSees.exe which is indeed an executable.
Don't be confused between the executable and the framework. A framework in this case is a collection of code artifacts that get packaged into a static or dynamic library and linked to by an executable. OpenSees.exe is one such executable. You could also build your own. Note that the entry point may not necessarily bemain
or thatmain
may be hidden in the executables sources. For example, if the executable is built for Windows with MFC or ATL, you won't see a nakedmain
. This is implementation dependent.
– user4942583
Nov 22 at 13:32
@hacksalot Thank you very much for your prompt reply. Could you please provide some more information (books or webpage links or any personal suggestions) on building an executable for static or dynamic library, I want to learn to build one executable. Also, I want to know, Am I giving mymain()
function, usingtcl
input file, Which basically contains input arguments to the member functions of a classes specified in the framework.
– Learning C Plus Plus
Nov 22 at 14:53
add a comment |
Most users will use OpenSees.exe which is indeed an executable.
Don't be confused between the executable and the framework. A framework in this case is a collection of code artifacts that get packaged into a static or dynamic library and linked to by an executable. OpenSees.exe is one such executable. You could also build your own. Note that the entry point may not necessarily bemain
or thatmain
may be hidden in the executables sources. For example, if the executable is built for Windows with MFC or ATL, you won't see a nakedmain
. This is implementation dependent.
– user4942583
Nov 22 at 13:32
@hacksalot Thank you very much for your prompt reply. Could you please provide some more information (books or webpage links or any personal suggestions) on building an executable for static or dynamic library, I want to learn to build one executable. Also, I want to know, Am I giving mymain()
function, usingtcl
input file, Which basically contains input arguments to the member functions of a classes specified in the framework.
– Learning C Plus Plus
Nov 22 at 14:53
Most users will use OpenSees.exe which is indeed an executable.
Don't be confused between the executable and the framework. A framework in this case is a collection of code artifacts that get packaged into a static or dynamic library and linked to by an executable. OpenSees.exe is one such executable. You could also build your own. Note that the entry point may not necessarily be main
or that main
may be hidden in the executables sources. For example, if the executable is built for Windows with MFC or ATL, you won't see a naked main
. This is implementation dependent.– user4942583
Nov 22 at 13:32
Most users will use OpenSees.exe which is indeed an executable.
Don't be confused between the executable and the framework. A framework in this case is a collection of code artifacts that get packaged into a static or dynamic library and linked to by an executable. OpenSees.exe is one such executable. You could also build your own. Note that the entry point may not necessarily be main
or that main
may be hidden in the executables sources. For example, if the executable is built for Windows with MFC or ATL, you won't see a naked main
. This is implementation dependent.– user4942583
Nov 22 at 13:32
@hacksalot Thank you very much for your prompt reply. Could you please provide some more information (books or webpage links or any personal suggestions) on building an executable for static or dynamic library, I want to learn to build one executable. Also, I want to know, Am I giving my
main()
function, using tcl
input file, Which basically contains input arguments to the member functions of a classes specified in the framework.– Learning C Plus Plus
Nov 22 at 14:53
@hacksalot Thank you very much for your prompt reply. Could you please provide some more information (books or webpage links or any personal suggestions) on building an executable for static or dynamic library, I want to learn to build one executable. Also, I want to know, Am I giving my
main()
function, using tcl
input file, Which basically contains input arguments to the member functions of a classes specified in the framework.– Learning C Plus Plus
Nov 22 at 14:53
add a comment |
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53431454%2fbuilding-win32-console-application-visual-studio%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53431454%2fbuilding-win32-console-application-visual-studio%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Most users will use OpenSees.exe which is indeed an executable.
Don't be confused between the executable and the framework. A framework in this case is a collection of code artifacts that get packaged into a static or dynamic library and linked to by an executable. OpenSees.exe is one such executable. You could also build your own. Note that the entry point may not necessarily bemain
or thatmain
may be hidden in the executables sources. For example, if the executable is built for Windows with MFC or ATL, you won't see a nakedmain
. This is implementation dependent.– user4942583
Nov 22 at 13:32
@hacksalot Thank you very much for your prompt reply. Could you please provide some more information (books or webpage links or any personal suggestions) on building an executable for static or dynamic library, I want to learn to build one executable. Also, I want to know, Am I giving my
main()
function, usingtcl
input file, Which basically contains input arguments to the member functions of a classes specified in the framework.– Learning C Plus Plus
Nov 22 at 14:53