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

  • Home
  • SEARCH
  • 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 8569711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:23:59+00:00 2026-06-11T18:23:59+00:00

I have two visual studio projects. I want to do something like for(int i=0;i<10;i++)

  • 0

I have two visual studio projects. I want to do something like

for(int i=0;i<10;i++)
{  
    Run_Project1(i)          // Pass i as argument to project 1.
    Run_Project2(i)
    // do something with results
}

How can I possibly do this?

  • 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-11T18:24:00+00:00Added an answer on June 11, 2026 at 6:24 pm

    Well first of all you need to compile the projects and get the resulting executable files, you can’t simply “run” source code.

    The next thing to do is to call the exe files, the easy way to do that in win32 is with system. So you would run something like

    while( itPleasesYou ){
        system("Path/proj1.exe args");
        system("Path/proj2.exe args");
    }
    

    As for how you get the results, well you’d need to specify what those would be.

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

Sidebar

Related Questions

In my 'project/repo' I have two MS Visual Studio projects, one for the main
I have two visual studio projects, one written in C#, another written in fortran
I have a Visual Studio 2010 solution with 5 projects in it, two libraries
I have a Visual Studio 2010 solution that contains 3 projects: a dll project,
So in visual studio i have my solution with two projects, first one is
I have two Visual Studio vb.NET applications. Previously, I have published each application separately
Can you have two tables in Visual studio 2008 report (in the report control)
I have two DLLs compiled separately, one is compiled from Visual Studio 2008 and
I have a Visual Studio 2010 solution and two files have mysteriously appeared in
i have (at least) two addins installed in Visual Studio (2010 (Professional)). i would

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.