Dev C++

This is a discussion on Dev C++ within the C++ Programming forums, part of the General Programming Boards category; Ok I have a quck question about Dev C++. I want to compile some code I wrote into a cgi ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    208

    Dev C++

    Ok
    I have a quck question about Dev C++. I want to compile some code I wrote into a cgi file right? But I have no idea where to enter the -o *.cgi parameter at??? Thanks for your help.

  2. #2
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Dev-C++ doesn't work with CGI scripts, nor perl scripts.

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    208

    oh

    I thought u could just write a C program with the content type thingy in it and tell the comipiler to give it a name of *.cgi
    Do u know whicj compilers do allow it?
    Jeff Paddon
    Undergraduate Research Assistant
    Physics Department
    St. Francis Xavier University

  4. #4
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Perl compilers are the only one's that allow this. Get a free and good compiler from http://www.activestate.com. The link to ActivePerl will be there somewhere, shouldn't be to hard to find. Sorry though, I don't know the address to it.

  5. #5
    Registered User
    Join Date
    May 2002
    Posts
    208

    when

    I was reading on HOw stuff works.com about cgi scripts they said that you can comipile a C program with the -o command and name it .cgi and it would wor as one. They even have examples and stuff. I have placed a link at the bootom of my post if you want to check it out. Alls I want to know is if there is anyway to pass arguments or commands or whatever to the Dev C++ Compiler. Minwq or whatever without using the dos prompt.

    Here is the link
    Go to the next page after that one for some examples.
    Jeff Paddon
    Undergraduate Research Assistant
    Physics Department
    St. Francis Xavier University

  6. #6
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Now that I have thought about it, you can, but I think it has to be done in DOS Prompt mode, or else rename the *.exe file. If it can be done, it's only possible in DOS Prompt, unless someone knows of a different way.
    [EDIT]I still don't think you can, the only reason why they say C in my opinion is because Perl and C are closely related syntax-wise. They both use if statements and stuff. If you don't believe me, search for perl tutorials, and see the differences[/EDIT]
    Last edited by Quantrizi; 06-18-2002 at 12:35 PM.

  7. #7
    Registered User
    Join Date
    May 2002
    Posts
    208

    Does anyone know

    a better way to do it.
    The main reason I replyed agin to this is because it made its way deep into the pages of this forum and I figured more people would read it if it was there
    Jeff Paddon
    Undergraduate Research Assistant
    Physics Department
    St. Francis Xavier University

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. New to Dev C++/<windows.h>...
    By Cilius in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2005, 01:05 AM
  2. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 08:43 PM
  3. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 3
    Last Post: 03-08-2004, 08:47 PM
  4. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 1
    Last Post: 03-08-2004, 05:19 PM
  5. DEV C++ Limitations?
    By Kirdra in forum Game Programming
    Replies: 3
    Last Post: 09-09-2002, 10:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21