Jump to content

Featured Replies

Posted

hey, does any of you know where I can get Visual Studio .NET 2003 Professional

free to download from a warez site or sumthing? cuz I dont feel like paying $400,- just to be able to create little C++ programs.

or give me a link to annother good compiler, that would be nice too.

 

thanks in advance.

  • Author

compiling problem.

I'm using Microsoft Visual C++ Toolkit 2003.

but when I type CL test.cpp, it gives these errors:

 

http://members.home.nl/frankvandermast/comiling%20error.jpg

 

this is the source in test.cpp:

// my first program in C++

#include <iostream>

int main ()
{
 cout << "Hello World!";
 return 0;
}

  • Author

that's not it, because if I type #include <iostream.h>, it can't find the file iostream.

I have to call it <iostream>, or my compiler wont recognise it. (it is also named iostream in the compilers 'include' map. But now I still don't know why it gives these errors. and what is std namespace?

nothing seems to be wrong...but if u wanna create little programs like a small calculator, a graphicless game, or any small applications use DEV C++ 4.9.9.0

 

http://www.bloodshed.net

 

download 4.9.9.0 n not the 4.9.9.1 cuz the older one is easier to use...not much a of a difference really but its more organised

  • Author

yeh exactly I also think nothing is wrong.. then Y wont stupid microsoft compiler do its fucking job?!?! cuz microsoft sux.. that's y!

 

I'll just use Borland, prob. fixed lol.

Ugh, don't make fun of Microsoft for you own ignorance. <iostream.h> is nonstandard, and as such newer compilers don't always provide the nonstandard headers. Thus you must use the newer standard headers, and tell the compiler which namespace you want.

 

// my first program in C++

#include <iostream>
using namespace std; // add this line

int main ()
{
 cout << "Hello World!" << endl;
 return 0;
}

u can download it from bit torrent sites. I downloaded it from a site that has bein closed but Im sure there are meny others.
i know u need to put using namespace std;........i use it all the time except "asterix" criticisizes me on another thread saying how i shouldnt use it...so for his sake, i wont use it wen i copy n paste a code here
Ignore him, unless you have a valid reason not to use namespaces (i.e. using older compilers, maintaining pre-98 code, etc), use them. Otherwise you risk running into problems such as name conflicts, and future compilers unable to compile your code.
  • Author

lol ok thnx for the help guys.

btw I did some looking for a good compiler.. and sumbled upon a program named CodeWarrior. any of u heard about it, and what do u think of it? I downloaded a trial for it and it looks nice.

i dont know how many times i have to say this but there is a copy of visul studio .net 2003 on limewire
yeah i searched limewire....the results were bad...wen u search visual studio, the usually give u something else tat begins wit Visual
  dark_urza said:
yeah i searched limewire....the results were bad...wen u search visual studio, the usually give u something else tat begins wit Visual

 

 

the filename is weird but get the one that has visul at the front and is about 750MB, it comes with the 3 ISOs for the 3 cds needed to install.

  Ghengis Kahn said:
lol ok thnx for the help guys.

btw I did some looking for a good compiler.. and sumbled upon a program named CodeWarrior. any of u heard about it, and what do u think of it? I downloaded a trial for it and it looks nice.

 

Yea, I heard of it when I was reading a book on DirectX by Scott Grieg (I think that's the name) from Bioware..

They got rid of iostream all together in VC++ 2003 .net pro

 

I read that in several different places after having the same problem.

  valetudo said:
They got rid of iostream all together in VC++ 2003 .net pro

 

I read that in several different places after having the same problem.

 

No they didn't. Maybe your talking about the standard headers with an extension (such as iostream.h) which is because their nonstandard (part in due to the fact that different compilers used different extensions). You could also be referring to the .NET SDK which doesn't come with any of C/C++ headers (their still are options here though such as STL Port and Platform SDK).

your right, I misread it. I found this at the MSDN website

 

  Quote
Q: The iostream classes are not included in VS.NET 2003. What classes should I use instead?

A: The non-compliant iostream.h is deprecated, but we have full support the ISO Standard <iostream> classes

I mean we removed the iostream.h headers, not just deprecated.

Deprecated doesn't mean it won't work. Same reason that web browsers are able to parse deprecated HTML tags.
  • 4 weeks later...

First...of all Visual Basic is about $400-$500...Professional is about $2000.

 

Second...if you are new to programming I do not suggest Visual Basic as it is a large program and not for the n00bs of programming.

 

Third...the easiest way to get Visual Basic (if you're a HS student) is to simply go to your school's programming teacher and ask for a copy along with the school's key (he has to give it to you if you ask, part of microsoft's deal with the schools...student learning and what not).

 

Fourth...if you are truly wanting to get your hands on a copy of it after analizing your level of comprehension then you can message me and I may help you out (I have my own copy of Visual Basic, for free)

Oh...forgot to mention that all together Visual Basic Professional is like 8 CDs...it's huge, took up about 12 GB if I remember correctly. And don't take offense to my "n00bs of programming" remark...Visual Basic isn't hard to learn with but there are easier programs (they do not do as much though, of course).
Guest
This topic is now closed to further replies.