home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 3012
Discussions: 188,378, Posts: 2,243,447, Members: 232,605
Old November 11th, 2002, 01:34 PM   Digg it!   #1 (permalink)
Member
 
Argon88's Avatar
 
Join Date: May 2002
Location: Virginia
Posts: 225
Compiler problem

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

Argon88 is offline   Reply With Quote
Old November 11th, 2002, 10:15 PM     #2 (permalink)
ILC
Senior Member
 
ILC's Avatar
 
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

ILC is offline   Reply With Quote
Old November 11th, 2002, 10:32 PM     #3 (permalink)
Member
 
Argon88's Avatar
 
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.
Argon88 is offline   Reply With Quote
Old November 12th, 2002, 12:34 AM     #4 (permalink)
ILC
Senior Member
 
ILC's Avatar
 
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.
ILC is offline   Reply With Quote
Old 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.
fortysomething is offline   Reply With Quote
Old November 12th, 2002, 09:31 PM     #6 (permalink)
Member
 
couch potato's Avatar
 
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
couch potato is offline   Reply With Quote
Old November 12th, 2002, 10:02 PM     #7 (permalink)
Member
 
Argon88's Avatar
 
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.
Argon88 is offline   Reply With Quote
Old November 13th, 2002, 12:11 PM     #8 (permalink)
Member
 
Argon88's Avatar
 
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.
Argon88 is offline   Reply With Quote
Old November 13th, 2002, 04:41 PM     #9 (permalink)
ILC
Senior Member
 
ILC's Avatar
 
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
ILC is offline   Reply With Quote
Old November 13th, 2002, 06:43 PM     #10 (permalink)
Member
 
Join Date: Nov 2001
Location: Indy
Posts: 54
Here's a list of free compilers. The titles are links.
I hope you find something that works.
http://www.compilers.net/
fortysomething is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Most Active Discussions
Is It Just Me? (2882)
The United States Debt (20)
Looks like Burris will get his Sena.. (7)
I think I just killed my computer w.. (24)
Upgrading RAM (5)
Folderchat Weekday thread (439)
Antec 300 bulk purchase? (11)
Worth the upgrade?? (14)
Titan quest and Immortal Throne, an.. (17)
Recent Discussions
dual monitors wont boot (0)
Folderchat Weekday thread (439)
New Build ( Finally ) (0)
MSN Hotmail Down??? (7)
Help with an Ati Radeon HD 4850.. (23)
Laptop waking up itself (0)
CPU wont boot (3)
Best digital camera for under 2.. (13)
Building first computer, will t.. (2)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 08:03 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28