Forum: Geek Forum
Topic: Newbie @ C++ and I need help bad.
started by: solid

Posted by solid on Apr. 08 2001,21:03
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!


Posted by DeadAnztac on Apr. 08 2001,21:26
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


Posted by askheaves on Apr. 08 2001,21:34
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.


Posted by Sithiee on Apr. 08 2001,22:13
visual c++ sucks ass, textpad/borlandcommand compiler all the way.good, and very small, about 10 mb
Posted by damien_s_lucifer on Apr. 09 2001,00:00
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.


Posted by solid on Apr. 09 2001,00:17
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


Posted by ASCIIMan on Apr. 09 2001,00:20
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 >
Posted by Sithiee on Apr. 09 2001,01:55
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.
Posted by solid on Apr. 09 2001,03:34
It's ok I got it fixed. I have vc++ and everything's running smooth.
Powered by Ikonboard 3.1.4 © 2006 Ikonboard