Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

visual-c++-6

How to run a console application with command line parameters in Visual C++ 6.0?

January 1, 2024 by Tarik

I assume you’re talking about setting the command line parameters for running in the IDE. Open the Project/Settings property page and go to the Debug tab. There’s a “Program arguments” field you can put them into.

Categories c++ Tags c++, command-line, parameters, visual-c++-6 Leave a comment

Precompiled Headers

December 12, 2023 by Tarik

What are precompiled headers? Often C++ source files include headers from external libraries. In Windows you include windows.h. These header files can be very large and they take some time to process. Each time you compile a C++ file the compiler has to read and process thousands of lines from these header files. But external … Read more

Categories visual-studio-2008 Tags precompiled-headers, visual-c++-6, visual-studio-2008 Leave a comment

Will new return NULL in any case?

April 8, 2023 by Tarik

VC6 was non-compliant by default in this regard. VC6’s new returned 0 (or NULL). Here’s Microsoft’s KB Article on this issue along with their suggested workaround using a custom new handler: Operator new does not throw a bad_alloc exception on failure in Visual C++ If you have old code that was written for VC6 behavior, … Read more

Categories c++ Tags c++, memory-management, new-operator, visual-c++, visual-c++-6 Leave a comment

Link to all Visual Studio $ variables

October 21, 2022 by Tarik

Try this MSDN page: Macros for Build Commands and Properties

Categories visual-c++ Tags msbuild, visual-c++, visual-c++-6, visual-studio-2008 Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa