Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-04-2004, 11:12 AM   #11
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Need help in c++...???

Thanks traveller, but what would I have to do to run the above code. I have never found a successful compiler.
__________________

__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 02-04-2004, 05:43 PM   #12
Baseband Member
 
Join Date: Feb 2004
Posts: 32
Send a message via AIM to Traveller
Default

Have you tried bloodshed's free compiler. It comes with the Mingw IDE and supports Win32 interface. The location is here:
http://www.bloodshed.net/dev/devcpp.html

Let me know if that doesn't work.
__________________

Traveller is offline   Reply With Quote
Old 02-05-2004, 11:13 AM   #13
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Need help in c++...???

Thank you, I will look into that.
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 02-15-2004, 07:11 PM   #14
Guru
 
Lord Kalthorn's Avatar
 
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn
Default Re: The help...

Quote:
Originally Posted by snyppl
I use Microsoft Visual Studio 6 Enterprise Edition. (If you have a Microsoft C++ compiler, preferred 6) then I can help you:
A small program.
#include <iostream>
using namespace std;

main()
{
char i = 'a';

for (i = 'a';i<='z';i++)
cout << i;
cout <<endl;
system("pause");

return 0;
}
Oh! Is Visual Studio Good? I'm soon going to get Visual Studio 2003 Enterprise (I have a friend in a low moral position) and I have been wondering if its very good?
__________________
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote
Old 02-15-2004, 07:16 PM   #15
Guru
 
Lord Kalthorn's Avatar
 
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn
Default

Visual Studio will do C# won't it?

Anybody have any ideas about C# (this is the language I would like to learn first and eventually specialise in).
__________________
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote
Old 02-20-2004, 03:36 AM   #16
Daemon Poster
 
DevilHack's Avatar
 
Join Date: Feb 2004
Posts: 523
Send a message via AIM to DevilHack
Default

Well C++ is easier written in Linux so you can decompile it using g++. You can get some good ISO's for Linux at www.LinuxISO.org.
Once you have it installed, it should have taken a short 30 minutes, you should open Gedit and insert in:

Code:
#include <iostream.h>

int main ()
{
   cout << "Hello World!\n";
   return 0;
}
then save it to your desktop and call it hello.cpp then open your terminal and put in
cd "Desktop"
g++ hello.cpp -o hello
then when it's done put in
./hello
and
Hello World!

should come up.
DevilHack is offline   Reply With Quote
Old 02-20-2004, 09:00 AM   #17
Guru
 
Lord Kalthorn's Avatar
 
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn
Default

Ah! I Linux-Folk then! I knew there was something distasteful about you!

Is G++ Linux's answer to C++ or just another low-brow Programming Language for Linux-Folk?
__________________
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote
Old 02-20-2004, 09:08 AM   #18
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Need help in c++...???

Thanks for the help DevilHack.
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 02-20-2004, 04:00 PM   #19
Baseband Member
 
Join Date: Feb 2004
Posts: 32
Send a message via AIM to Traveller
Default

Yes, C# comes with the Visual Studio interface. Visual Studio is pretty much the IDE whereas C++, C#, VB, etc are the specific compilers for their associated languages. Now of course when you get into it Visual Studio is a lot more than an IDE. It provides a graphical programming environment with many useful debug and developmental tools. Visual Studio also allows for development of several components in different languages and then relatively easily combines them into one integrated solution. (Of course you must have the different compilers for the various languages.) The Visual Studio environment provides a lot, its all a matter of how much you read into it.
Traveller is offline   Reply With Quote
Old 02-20-2004, 04:10 PM   #20
Guru
 
Lord Kalthorn's Avatar
 
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn
Default

Yeah, I know, it looks brilliant - I simply cannot wait until the 1st (when I get paid) and therefore it will only be the 3rd before I get Visual Studio and rampage about trying to learn as much as I can as quickly as I can!
__________________

__________________
A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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



All times are GMT -5. The time now is 01:31 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0