?
Solved

compiling scripts with VisualC++ ?

Posted on 1997-10-05
5
Medium Priority
?
212 Views
Last Modified: 2013-12-25
I have now set up my personal WebServer..
And i have downloaded a script for C++ with the file format  .CCP....
Now there is one more thing... How do i Compile the .ccp file in Microsoft VisualC++....
I have no experiance with VisualC++ and that is the only thing I have left to learn.. Anyone who can give me inctruction exactly how to compile the .ccp file?...

Thanks..
~Gizmo
0
Comment
Question by:Gizmo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Expert Comment

by:aurelio
ID: 1830739
I think that file you've donwloaded is some sort of gnu or similar c++
source.
Anyway , that 's different from file format .. that is always text.
I suggest you to rename the source from  ".ccp" to ".cpp" or ".c" and
try to recompile it under visual.
If it is the case  , possibly you will get a lot of errors in the compilation
phase : perhaps it would be necessary to change the name of the <include> files . If this happens , that can be another question.
0
 
LVL 7

Expert Comment

by:faster
ID: 1830740
1. Start Visual C++
2. If there is a .mdp file included, open the .mdp file, otherwise create a new project, the type of the project is most likely a windows console project.
3. Add all the .cpp files into the project
4. Build the project, if there are errors come out, make the necessary changes: include path, lib file etc.


0
 

Author Comment

by:Gizmo
ID: 1830741
The question was how to step by step compile the file...

The source works I know that.. But I did not know how to compile the source so it can be run on a webserver...
0
 
LVL 7

Accepted Solution

by:
faster earned 300 total points
ID: 1830742
I thought I have given you the answer.

In the 4 steps I mentioned, which one you have problem?  Does the file come with a .mdp file?

Here is a more detailed one:

1. Start Visual C++.
2.1 If you have a .mdp file, select menu option: File/Open and then select the .mdp file.
2.2 If you have a .mak file, select menu File/Open workspace and then the .mak file, answer "yes" to any question it asks.
2.3 If you only have .cpp and .h files, select File/New, then select "Project workspace", then click OK.  Now select "windows console" project type and select a diretory (the one holds the source files).  After the project in made, select Insert/Files into project and select all the .cpp files to add into the project.

3.  Now you are ready to compile it, just press "F7", you will get an exe file under the debug or release sub directory which can be put in the cgi directory of your web server and you can have a test.

If you still have problem, please indicate where you fail.


0
 

Author Comment

by:Gizmo
ID: 1830743
Sorry, the text said Grade "Aurelio's" answer.. And I did that..
If it had said your name to grade I have made another choice..
Sorry...

Thank's !
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question