Thread: program.exe -p "300" -m "bla"

  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    4

    program.exe -p "300" -m "bla"

    program.exe -p "300" -m "bla"

    how can i make a program than can reads these variables and processes them in c++?

  2. #2
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    Like THIS you mean?
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    4
    mm it not seems to work using command in windows, it me be the way i compile it.. i use visual c++ and then c++ source file..
    can somebody give me a example and say how to compile it ?

  4. #4
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    This instruction applies to VC++ 6.0.
    Code:
    Project->Settings->Debug tab->Program arguments text field[enter your arguments here]
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  5. #5
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,164
    Originally posted by Maurad3r
    mm it not seems to work using command in windows, it me be the way i compile it.. i use visual c++ and then c++ source file..
    can somebody give me a example and say how to compile it ?
    Are you compiling your program as a console program? And using the command prompt to run it after it's compiled?
    Definition: Politics -- Latin, from
    poly meaning many and
    tics meaning blood sucking parasites
    -- Tom Smothers

  6. #6
    Registered User
    Join Date
    Jan 2004
    Posts
    4
    yeah it works now

    i compiled as a C++ source file at first, but now i compiled as a win32 app and now it works..

    thnx.. now i just have to integrate it with my webShop in PHP

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. program.exe
    By yeah in forum C Programming
    Replies: 20
    Last Post: 02-12-2005, 08:57 AM