Question about taking console programs to another computer
I''m trying to save some of the console programs I''ve made on a cd and take them to a job interview so I can desplay them but so far I can only open the console programs that are really simple, the other more complex ones won''t open so I figured I''m missing some library file or something. So my question is how can I put the files I need on this cd so that the console apps will open on another computer. btw the includes I''m using are #include <iostream>
#include <algorithm>
#include <ctime>
#include <cstdlib>
#include <stdlib.h>
(donno if that has anything to do with it or not)
also im using MS Visual C++.net and DevC++
-----------------------------
Programming is confussing!
AIM: Trebor DoD
the includes you are using are standard, and if the computer doesn''t have those files somewhere on the computer for programs to use, the person who built that computer should have their flesh burned. it is possible that because .net is still new, that some computers arnt compatable with the programs it makes (this could be because the compiler isnt compatiable with some OS''s). but since you are using dev c++, this maybe a different problem. can you try giving more information, what is happeneing when you tryu to open these programs?
----------------------
i code therefore i am.
Aero DX - Coming to a bored Monitor near you!
----------------------
i code therefore i am.
Aero DX - Coming to a bored Monitor near you!
Neen10do- I''m accually using Microsoft Visusual C++ .NET. I have Dev-C++ but I didn''t use it to make my program. The computer I''m taking this too does not have any complier on it and the error I get when I try to run it is:
"The application failed to intalize properly (0xc0000135). Click ok to terminate program."
Any ideas? Any help at all is appriciated.
-----------------------------
Programming is confussing!
AIM: Trebor DoD
"The application failed to intalize properly (0xc0000135). Click ok to terminate program."
Any ideas? Any help at all is appriciated.
-----------------------------
Programming is confussing!
AIM: Trebor DoD
Perhaps you should go here and get the latest patches as well as the .net framework stuff and see if it works.
smart_idiot- thanks for trying but I''m 99% sure thats not what the problem is. I''ll download these patches anyways though.
-----------------------------
Programming is confussing!
AIM: Trebor DoD
-----------------------------
Programming is confussing!
AIM: Trebor DoD
Just a shot in the dark here, but does this only happen when you
try to execute the programs from the cd? Because if the prog needs to use some temporary files or something, it''ll crash because the directory is write-protected?
You never said where you tried that program, since if you tried to launch the programs from the cd and they didn''t work, it''s not because of some system-files, it''s either essential files that your code needs, or that the directory can''t be writeprotected.
As said, just a wild shot
try to execute the programs from the cd? Because if the prog needs to use some temporary files or something, it''ll crash because the directory is write-protected?
You never said where you tried that program, since if you tried to launch the programs from the cd and they didn''t work, it''s not because of some system-files, it''s either essential files that your code needs, or that the directory can''t be writeprotected.
As said, just a wild shot
are you using the debug version?
Set the build settings to the release version ans try again.
Set the build settings to the release version ans try again.
MattS423- whoa ok how do I do that?
-----------------------------
Programming is confussing!
AIM: Trebor DoD
-----------------------------
Programming is confussing!
AIM: Trebor DoD
in vc++ 6 it''s "Build->Set Active Configuration" and select release.
I don''t know about .net though...it might be diffrent
I don''t know about .net though...it might be diffrent
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement