< Back to OSY 1.0 thread list

OSY 1.0 Thread Viewer

Thread #: 1390

Playing with VS.NET

Magus

Sat Feb 9 18:52:15 2002

Title says it all. All I want to do is just a hello world in a simple .cpp file. So where the hell is the compiler?
PaulHill

Sat Feb 9 18:54:46 2002

"Build"?

Or click the "Play" button, which compiles and starts your app.

Magus

Sat Feb 9 19:02:04 2002

Well, if they were there...
Do I need to make a project to do this? As it is, I'm just doing "File, New, C++ source file".

This may be stupid, but I'm not finding much use in the help files.

PaulHill

Sat Feb 9 19:34:18 2002

Yep, you need to make a project. Make a "Console" project, because that supports main and printf and all the rest of it.
Magus

Sat Feb 9 19:46:10 2002

/me bows in thanks
Paul, at the moment, I worship you. That was driving me crazy.
HitScan

Sat Feb 9 21:21:24 2002

so... program much? ;)
It's always been that way I believe, since 4.0 and earlier. :tongue: That said, I need to start saving my damn cash. There's no way to buy an MSDN subscription with no scratch...
Magus

Sat Feb 9 21:49:11 2002

Oh hush, Hitscan. In VS6, I'd just start a new C++ file, and it'd ask if you wanted to create the project. I wasn't thinking.

Edit: Yes, I've done a good bit now, but very little in VS, mostly due to the fact that my professors are Penguins.

(Edited by Magus at 7:20 pm on Feb. 9, 2002)

AllYorBaseRBelong2Us

Sat Feb 9 22:11:06 2002

Hehehe :)

I'm a troll :cheesy:

Magus

Sun Feb 10 07:55:05 2002

OK, now that I've played all day, I see why people keep raving about this.

/me loves his new toy!

PaulHill

Sun Feb 10 12:09:00 2002

It's rather bloody nice, isn't it? Dynamic help is kinda cool, but the auto-updating task list deserves the Nobel Prize.  Have you played with the HTML page editor yet? It kicks so much ass, I've actually uninstalled DreamWeaver.
Magus

Sun Feb 10 16:49:39 2002

Not yet, but I'll give it a try. I currently just edit HTML by hand in EditPlus.
PaulHill

Sun Feb 10 17:50:56 2002

Sorry, getting overexcited, which might sound lame, but this beastie is going to be what I stare at for 8 hours a day.

Best. IDE. Ever.  Even Jeremy'd like programming again once he got an eyeful of this, I reckon.

AllYorBaseRBelong2Us

Sun Feb 10 17:53:33 2002

Any chance of getting the IDE to work with VS6?
PaulHill

Sun Feb 10 18:59:14 2002

Nope.  Well, prolly.  If you wrote enough VSA, you could probably make the thing work perfectly with Visual Basic 6.

The question of "why?" does spring to mind though.

AllYorBaseRBelong2Us

Sun Feb 10 21:33:38 2002

...Because I cannot afford VS7 as of yet.
PaulHill

Sun Feb 10 22:51:37 2002

Isn't that backwards?

I mean, you can download the SDK for nothing, then use one of the dozen or so freebie IDE's to sit on top of it, if you want to get into .NET coding without spending anything. Basically, all that buying VS7 gives you over the SDK is a kickass IDE.

But wow, what a kickass IDE!

AllYorBaseRBelong2Us

Sun Feb 10 23:22:02 2002

I must have it backwards then.

i do have VS6, which I think is a pretty good environment myself (having originally laboured through Borland).  I do intend to get an upgrade as soon as financially prudent though.

PaulHill

Sun Feb 10 23:37:06 2002

I recommend getting hold of the SDK first though, to get your head around .NET a bit, before wacking a whole buncha dosh on VS.NET.  Don't get me wrong, it's kickass and everything, and it makes development a whole lot easier, and there's some great new C++ stuff, but it's very, very geared towards .NET.  If you aren't going to use .NET, it's not so good an upgrade.
Magus

Mon Feb 11 08:11:51 2002

Now to play with OpenGL... Hmmm, I added glut32.lib to the Linker input, but I don't think it's being picked up... Any ideas? The .lib is in C:\....\VC7\lib
PaulHill

Mon Feb 11 08:23:03 2002

Isn't it just opengl32.lib?
Magus

Mon Feb 11 14:55:31 2002

Well, from the notes:

"copy:
      glut32.dll to %WinDir%\System,
      glut32.lib to $(MSDevDir)\..\..\VC98\lib, and
      glut.h     to $(MSDevDir)\..\..\VC98\include\"

Since that's VC 6, I changed it to (MSDev)\lib

This is the GLUT toolkit, for writing OpenGL.

HitScan

Mon Feb 11 15:00:39 2002

don't you still need to use opengl32.lib with that? I thought you needed them both to use glut.

Personally, I hated glut. Especially since it didn't come with VS. I just grabbed the OpenGL Superbible (retarded name, good book) and went about things from the start. I think you'll be pleased with the results.

AllYorBaseRBelong2Us

Mon Feb 11 15:02:29 2002

OpenGL Superbible

I agree, it's a good book as I have one too.  :)

Harbinger

Mon Feb 11 19:53:00 2002

I can't wait for my cousin to start college this fall.

I'm going to give her some cash so's I can get me some cheap software without resorting to piracy. ;)