November 11th, 2002, 01:34 PM
|
#1 (permalink)
| | Member
Join Date: May 2002 Location: Virginia
Posts: 225
|
I down loaded the compiler Cev-C++ but I can't seem to get it to work. I tell it to compile and it appears to finish but when I tell it too run it says it isn't compiled and when I clikck the compile button again it says it's compiling. I've waited a least a half-hour for it to finish compiling, to no avail. Is it the compiler or me? I will admit I am very inexperienced at programing.
I'm trying to learn C++ but I'm having trouble. If you know of some good resorces for a beginer please tell me.
Thanks |
| |
November 11th, 2002, 10:15 PM
|
#2 (permalink)
| | Senior Member
Join Date: Oct 2001 Location: Eastern Shore
Posts: 701
|
Where did you dl' it from? Give me the link so I can become a little familiar with the compiler. Also, give us the source code you are using and we can check over it to make sure it is not the source.
ILC |
| |
November 11th, 2002, 10:32 PM
|
#3 (permalink)
| | Member
Join Date: May 2002 Location: Virginia
Posts: 225
|
I got it from www.bloodshed.net Strange name IMO. Maybe it got corrupted when I downloaded.
I was trying to compile Hello World. Told you I haven't gotten very far.
Last edited by Argon88 : November 11th, 2002 at 10:46 PM.
|
| |
November 12th, 2002, 12:34 AM
|
#4 (permalink)
| | Senior Member
Join Date: Oct 2001 Location: Eastern Shore
Posts: 701
|
Alright, I went ahead and downloaded DEV-C++ 6.0 BETA. Using the standard Code: #include <iostream.h>
#include <stdlib.h>
main()
{
cout<<”Hello World”<<endl;
system(“pause”);
return 0;
} it compiled just fine (Execute->Compile). Went to run the program (execute->run) and I noticed that the window closed before you could view anything, therefore, I threw in the pause. As to why it will not compile, I am not sure. Perhaps you are compiling to one folder while the execution is looking in another?
Anyways, goodluck
ILC
P.S. I have several copies of Microsoft Visual C++ 6.0 Intro laying around. If you would like, PM me your address and I will send you a copy. Would be a much better compiler/interface to start out on. |
| |
November 12th, 2002, 06:34 PM
|
#5 (permalink)
| | Member
Join Date: Nov 2001 Location: Indy
Posts: 54
|
I tried the bloodshed compiler on Win 98 - the os & the compiler didn't get along. MS visual C++ student version works fine. |
| |
November 12th, 2002, 09:31 PM
|
#6 (permalink)
| | Member
Join Date: Oct 2002 Location: Salem, Oregon
Posts: 480
|
Wait, your inexperienced at programming, and you learning C++???? Or have you already learned C. If not, start with C. I'm just starting myself.  Programming is fun  |
| |
November 12th, 2002, 10:02 PM
|
#7 (permalink)
| | Member
Join Date: May 2002 Location: Virginia
Posts: 225
|
I checked my code and there was no problem there but it still did the same thing. I am runing it on Win 98 so maybe that's the problem. I'll try it on my comp, it's running under Win XP
And no, I have no previous programming experience. But why do you say I should learn C before C++? And yes, I agree, programming is fun and plus it pays well. 
Last edited by Argon88 : November 12th, 2002 at 10:33 PM.
|
| |
November 13th, 2002, 12:11 PM
|
#8 (permalink)
| | Member
Join Date: May 2002 Location: Virginia
Posts: 225
|
Okay, I tried it on my XP system and it worked, but only if I run it off the 98 to the XP over the LAN. If I installed it on the XP it wouldn't let me start a project. |
| |
November 13th, 2002, 04:41 PM
|
#9 (permalink)
| | Senior Member
Join Date: Oct 2001 Location: Eastern Shore
Posts: 701
|
That's an odd problem.
I learned/am learning C++. Then I took come C, then went back to C++. Personally I really wouldn't worry much about C. I personally think it is easier to learn C++, then possibly switch to C if need be.
ILC |
| |
November 13th, 2002, 06:43 PM
|
#10 (permalink)
| | Member
Join Date: Nov 2001 Location: Indy
Posts: 54
| |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |