Search Members Help

» Welcome Guest
[ Log In :: Register ]

 

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: Newbie @ C++ and I need help bad.< Next Oldest | Next Newest >
 Post Number: 1
solid Search for posts by this member.
Kiloposter
Avatar



Group: Members
Posts: 1232
Joined: Dec. 2000
PostIcon Posted on: Apr. 08 2001,21:03  Skip to the next post in this topic. Ignore posts   QUOTE

Ok, so I grabbed that "C++ for dummies - fourth edition" book and I started doing the lessons. Sure I understand the shit but the deal is I can't compile. I'm using GNUC compiler, I set path for all the proper directories in autoexec.bat and I did EVERYTHING exactly as the book told me to. But what do I get? It says it can't access those directories and it can't find the VERY FILE that is open in that program and I'm editing.

BULLSHIT!
I suspect this is because this computer cannot run autoexec properly, because there is windows ME AND win2k installed on it- therefore my theory is:

Win2k disabled running autoexec.bat because it has the line "set windir=c:\windows" which would mean the default windows directory is c:\windows, when the default for win2k is c:\winnt.

Now I'm gonna head over to my mom's place and try it on my computer there- but how can I fix the problem HERE anyways? I'm gonna be spending a lot of time here!

Offline
Top of Page Profile Contact Info 
 Post Number: 2
DeadAnztac Search for posts by this member.
I am almost one of Us.
Avatar



Group: Members
Posts: 0
Joined: Feb. 2001
PostIcon Posted on: Apr. 08 2001,21:26 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Go spend โ on Microshit Visual C++. It's actually really good. I might be able to set up G++ if I had the time, but I don't want to.

Anyways a visual debugger rules ass when there's mistakes in my code (which is rare ;-)

[edit: unlike typing mistakes >.< ]

This message has been edited by DeadAnztac on April 09, 2001 at 04:28 PM

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 3
askheaves Search for posts by this member.
Ack!!!
Avatar



Group: Members
Posts: 1955
Joined: Sep. 2000
PostIcon Posted on: Apr. 08 2001,21:34 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

I could not agree more. You're trying to learn how to use C++, not how to slam your head into concrete. You don't have these stupid path problems and crap if you use Visual Studio stuff. It just works, and you can concentrate on just learning how to write code. Plus, you can get all sorts of fun sample code when you buy from Microsoft, and it's actually functional.

This seriously isn't meant to be a Lunix rip post, but with Visual Studio, I install and restart, everything works. I've attempted to use GCC before, and even with everything set up for me, it's still a pain in the ass. Programming doesn't have to be a pain in the ass.

Offline
Top of Page Profile Contact Info 
 Post Number: 4
Sithiee Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 1941
Joined: May 2000
PostIcon Posted on: Apr. 08 2001,22:13 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

visual c++ sucks ass, textpad/borlandcommand compiler all the way.good, and very small, about 10 mb
Offline
Top of Page Profile Contact Info 
 Post Number: 5
damien_s_lucifer Search for posts by this member.
Emperor of Detnet
Avatar



Group: Members
Posts: 33
Joined: Jan. 1970
PostIcon Posted on: Apr. 09 2001,00:00 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Yeah... visual C++ is great for newbies. Make sure you tell the appwizard you want your projects to be CONSOLE MODE, tho, otherwise you'll end up scratching your head a lot as you try and figure out why printf() doesn't work

gcc is great on Unix platforms, but I wouldn't use it for Win32.

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 6
solid Search for posts by this member.
Kiloposter
Avatar



Group: Members
Posts: 1232
Joined: Dec. 2000
PostIcon Posted on: Apr. 09 2001,00:17 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Dudes, I HAVE Visual STUDIO 6 ENTERPRISE edition.

Anyhow I will do, but can someone just give me instructions to how I can just get a file, write it- and compile it? Now THATS newbie for ya.

EDIT:
Wait nevermind I just got it working.
Visual C++ Studio 6 suddenly owns me now.

woohoo! first program.

This message has been edited by solid on April 09, 2001 at 07:35 PM

Offline
Top of Page Profile Contact Info 
 Post Number: 7
ASCIIMan Search for posts by this member.
-- Insert Witty Title Here --
Avatar



Group: Members
Posts: 408
Joined: Sep. 2000
PostIcon Posted on: Apr. 09 2001,00:20 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

I'm with the guys telling you to get MSVC++ 6 (it's only โ if you get the acedemic version), but if you don't have โ, you can always try Borland's compiler. They released the compiler-only (command line) about a year or so ago. Sucks you have to fill out a survey to get it, though.
Borland C++Builder Compiler
Offline
Top of Page Profile Contact Info 
 Post Number: 8
Sithiee Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 1941
Joined: May 2000
PostIcon Posted on: Apr. 09 2001,01:55 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

hmm....survey or 50 dollars???? big loss. combine with textpad, (which is like 16 dollars if you bother to register), and a little dos know how, and you have a fully working compiler, every bit as good as vc++, but better because the borland compiler is a lot better than the microsoft one.
Offline
Top of Page Profile Contact Info 
 Post Number: 9
solid Search for posts by this member.
Kiloposter
Avatar



Group: Members
Posts: 1232
Joined: Dec. 2000
PostIcon Posted on: Apr. 09 2001,03:34 Skip to the previous post in this topic.  Ignore posts   QUOTE

It's ok I got it fixed. I have vc++ and everything's running smooth.
Offline
Top of Page Profile Contact Info 
8 replies since Apr. 08 2001,21:03 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


 
reply to topic new topic new poll

» Quick Reply Newbie @ C++ and I need help bad.
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code