Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8587893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:40:54+00:00 2026-06-11T22:40:54+00:00

I tried passing 2 arguments in the command line argument in my project like

  • 0

I tried passing 2 arguments in the command line argument in my project like this: argument1, argument2 but later realized that it needs to be like this: argument1 argument2

Why visual studio separates arguments with spaces not with commas? Logically arguments are passed into function which separate their arguments with commas fct(a,b).
I did not know that Visual studio separates arguments with spaces not commas. Why is that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T22:40:55+00:00Added an answer on June 11, 2026 at 10:40 pm

    This isn’t only with visual studio.
    Input from the command line always takes its argument delimited by spaces. This is just how it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am passing in command line arguments to my Lisp program and they are
I understand from bunch of other Stackoverflow threads (like this ) that Template arguments
Related question: CreateProcess doesn't pass command line arguments . Is there a difference between
I have code that's somewhat like this: ($i=0; $i < 100; $i++) { do
I want to run the following (KDE specific) command with an argument (-0.1) that
Is there an appropriate exception class for invalid command line arguments in the Java
I saw a question on stackflow about parsing arguments. I tried to write this,
I'm trying to run a command line argument through VB.NET using the Shell() command.
I would like to run an application passing it arguments from a remote machine.
I'm trying to loop through the arguments that I am passing to a batch

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.