 |
|
31-05-2008, 09:38 AM
|
#1 (permalink)
|
|
Born to rule....
Join Date: May 2008
Posts: 10
|
C++ Compiler for vista Ultimate
Can anyone please tell me from where i can get a C++ compiler for Vista Ultimate. I have TurboC v3.0 but on compiling code in this compiler it's giving NVTDM error.
Also how can i take snapshots of executed code or output of code so that i can paste them in my project as output screens.
Thanks ....
__________________
AMD Athlon X2 4800+, Asus M2NPV-MX, 4x1GB 800Mhz Kingston, 160GB SATA2, 7600GT PCI-Ex, Sansung DVD+RW SATA, 17'' LG CRT.
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
31-05-2008, 04:55 PM
|
#2 (permalink)
|
|
I have Yolks not Brains!
Join Date: Aug 2006
Location: Inside the shell
Posts: 744
|
Re: C++ Compiler for vista Ultimate
Dex C++ is one of the best out there, and its free too!!!
Microsoft Visual C++ is what I use, I love it.
And to take screenshot just go to Accessories >>Snipping Tool and take the screenshot!!!
__________________
Y U NO ALLOW PICTURES IN SIGNATURES?
|
|
|
31-05-2008, 05:08 PM
|
#3 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: C++ Compiler for vista Ultimate
turbo c is so obsolete and not following ansi/iso standards...I think you should go for Dev-C++
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
31-05-2008, 05:15 PM
|
#4 (permalink)
|
|
C# Be Sharp !
Join Date: Jun 2006
Location: Toronto
Posts: 1,805
|
Re: C++ Compiler for vista Ultimate
Visual C++ 2008 Express
The best Free C++ IDE for Vista and XP IMHO
Dev-C++ is an Abandoned Project , Do not go for it !
__________________
There are 10 types of people in the world: those who understand binary and those who do not.
|
|
|
31-05-2008, 09:40 PM
|
#5 (permalink)
|
|
I have Yolks not Brains!
Join Date: Aug 2006
Location: Inside the shell
Posts: 744
|
Re: C++ Compiler for vista Ultimate
Dev C++ is not good for large projects, it'll give faulty output.....Microsoft C++ is the best...........
__________________
Y U NO ALLOW PICTURES IN SIGNATURES?
|
|
|
01-06-2008, 05:13 AM
|
#6 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: C++ Compiler for vista Ultimate
Quote:
Originally Posted by eggman
Dev C++ is not good for large projects, it'll give faulty output.....Microsoft C++ is the best...........
|
Yeah, if you are going to write faulty code.
__________________
http://www.bash.org/?258908
|
|
|
01-06-2008, 08:23 AM
|
#7 (permalink)
|
|
I have Yolks not Brains!
Join Date: Aug 2006
Location: Inside the shell
Posts: 744
|
Re: C++ Compiler for vista Ultimate
^^Nah. The same code works for fine Microsoft C++ , and it has too as as its logically correct but for some reason it wont work in Dev C++, the exact same code!!!
__________________
Y U NO ALLOW PICTURES IN SIGNATURES?
|
|
|
01-06-2008, 08:32 AM
|
#8 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: C++ Compiler for vista Ultimate
Well it wasn't correct as per standards, cos you can't assign an array as
a[i]=0 without initialising i.
For those wondering what this is all about, check segmentation fault dunnu why
See you just declared i as auto variable. Check the property of auto variable, if it's not initialised then it sets a garbage value. You have given it some value in main, but it's scope is restricted within main(), not available outside of it. So, since your i contains a garbage value, it will set a[garbage_value]=0 which may not be within your array limit.
So, going by C standards, it's not the compiler but you who's wrong. It seems the other compilers are default to 0 if the variable isn't initialised, and that's wrong for auto. Automatic and register if not initialised give garbage values whereas static and external default 0.
__________________
http://www.bash.org/?258908
Last edited by mehulved; 01-06-2008 at 08:57 AM.
Reason: Automerged Doublepost
|
|
|
01-06-2008, 09:36 AM
|
#9 (permalink)
|
|
Born to rule....
Join Date: May 2008
Posts: 10
|
Re: C++ Compiler for vista Ultimate
I visited Bloodshed Software website...there i found that Dev C++ 5 is in beta version and also in system requirements section, Vista wasn't mentioned there. Only 95/98/NT/2000/Xp were mentioned. Will it work on Vista Ulitmate..???
Snapshot attached....
What to do now ...???
__________________
AMD Athlon X2 4800+, Asus M2NPV-MX, 4x1GB 800Mhz Kingston, 160GB SATA2, 7600GT PCI-Ex, Sansung DVD+RW SATA, 17'' LG CRT.
|
|
|
01-06-2008, 10:20 AM
|
#10 (permalink)
|
|
I have Yolks not Brains!
Join Date: Aug 2006
Location: Inside the shell
Posts: 744
|
Re: C++ Compiler for vista Ultimate
Quote:
Originally Posted by mehulved
Well it wasn't correct as per standards, cos you can't assign an array as
a[i]=0 without initialising i.
For those wondering what this is all about, check segmentation fault dunnu why
See you just declared i as auto variable. Check the property of auto variable, if it's not initialised then it sets a garbage value. You have given it some value in main, but it's scope is restricted within main(), not available outside of it. So, since your i contains a garbage value, it will set a[garbage_value]=0 which may not be within your array limit.
So, going by C standards, it's not the compiler but you who's wrong. It seems the other compilers are default to 0 if the variable isn't initialised, and that's wrong for auto. Automatic and register if not initialised give garbage values whereas static and external default 0.
|
???????
I didnt even post any code and you are already analyzing it!!!!
__________________
Y U NO ALLOW PICTURES IN SIGNATURES?
Last edited by eggman; 01-06-2008 at 10:26 AM.
|
|
|
01-06-2008, 11:53 AM
|
#11 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: C++ Compiler for vista Ultimate
Quote:
Originally Posted by eggman
???????
I didnt even post any code and you are already analyzing it!!!!
|
Cos your comment in the same thread proves how much you know http://www.thinkdigit.com/forum/show...3&postcount=10
So, before you ask me, let me rationalise my statements
This is your quote from that thread
Quote:
|
This segmentation faults had driven me mad!!!!!!!!!!!!!!The the worst thing is that it won't even point where's the problem. Just Segmentation Fault.Nothing else.
|
Firstly, it's not a compiler's job to point the problem, it's the job of a debugger. If you expect compiler to do it, then you're wrong.
Quote:
|
Even when you just type the ditto prog,thats in the book..this occurs, because of a simple mistake, which could've been pinpointed.
|
You know there can be mistakes in the text book too. You relied on text book but never tried to find out the cause of the happening.
As they say 'Bad workmen blame their tools'. I am worse off then you people when writing codes but atleast I have semblence of an idea of what I am doing.
Still if you want to know about what was going wrong, post your codes here we can try to help. I know very basic usage of GDB and can help you out with it if you're interested.
Quote:
Originally Posted by KingTheRuler
I visited Bloodshed Software website...there i found that Dev C++ 5 is in beta version and also in system requirements section, Vista wasn't mentioned there. Only 95/98/NT/2000/Xp were mentioned. Will it work on Vista Ulitmate..???
Snapshot attached....
What to do now ...??? 
|
Don't go for anything that's unmaintained. It's better to go for something that maintained, like VC++ or else see if gcc4 is supported with Relo,prolly Zeeshan should have some idea. GCC is available with mingw for windows http://www.mingw.org/download.shtml
__________________
http://www.bash.org/?258908
Last edited by mehulved; 01-06-2008 at 12:05 PM.
Reason: Automerged Doublepost
|
|
|
01-06-2008, 12:52 PM
|
#12 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,490
|
Re: C++ Compiler for vista Ultimate
try using Notepad++ as the editor.
then install MinGW and use its GCC.
hardcore unix style.
but as you are on windows vista ultimate, only genuine paid microsoft software can impress you. so buy MS Visual Studio 2008 IDE.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
01-06-2008, 01:03 PM
|
#13 (permalink)
|
|
Born to rule....
Join Date: May 2008
Posts: 10
|
Re: C++ Compiler for vista Ultimate
I installed Dev C++ and when i compiled my program it gave me so many errors and on the other hand when i am compiling same code in Turboc3 in XP, its compiling without giving any single error/warning.
I'm downloading MS Visual Studio 2008 Express edition from Microsoft.com. I think it's free...???
__________________
AMD Athlon X2 4800+, Asus M2NPV-MX, 4x1GB 800Mhz Kingston, 160GB SATA2, 7600GT PCI-Ex, Sansung DVD+RW SATA, 17'' LG CRT.
|
|
|
01-06-2008, 04:34 PM
|
#14 (permalink)
|
|
Broken In
Join Date: Sep 2006
Posts: 147
|
Re: C++ Compiler for vista Ultimate
Quote:
Originally Posted by KingTheRuler
I installed Dev C++ and when i compiled my program it gave me so many errors and on the other hand when i am compiling same code in Turboc3 in XP, its compiling without giving any single error/warning.
I'm downloading MS Visual Studio 2008 Express edition from Microsoft.com. I think it's free...??? 
|
what error you got?i think u installed it w/o mingw !try installing with mingw.even i got errors but its working fine now.
__________________
techtricks.co.in
portforwarding
xp-vista crossover connection
installing xp on vista notebooks
|
|
|
01-06-2008, 04:37 PM
|
#15 (permalink)
|
|
Legen-wait for it-dary!
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
|
Re: C++ Compiler for vista Ultimate
Yeah its free all right. Get it and run your program. You might need to change your program a little bit to compile it, but it'll work all right.
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
|
|
|
01-06-2008, 06:25 PM
|
#16 (permalink)
|
|
I have Yolks not Brains!
Join Date: Aug 2006
Location: Inside the shell
Posts: 744
|
Re: C++ Compiler for vista Ultimate
Quote:
Originally Posted by mehulved
Firstly, it's not a compiler's job to point the problem, it's the job of a debugger. If you expect compiler to do it, then you're wrong.
|
So!!! The end result is that it doesn't pinpoint the mistake!! I'm not blaming anyone. It just drives me mad to find out the mistake, thats what I'm saying!![/QUOTE]
Quote:
Originally Posted by mehulved
You know there can be mistakes in the text book too.
|
Really?? I never knew that!!!
Quote:
Originally Posted by mehulved
See you just declared i as auto variable. Check the property of auto variable, if it's not initialised then it sets a garbage value. You have given it some value in main, but it's scope is restricted within main(), not available outside of it. So, since your i contains a garbage value, it will set a[garbage_value]=0 which may not be within your array limit.
So, going by C standards, it's not the compiler but you who's wrong. It seems the other compilers are default to 0 if the variable isn't initialised, and that's wrong for auto. Automatic and register if not initialised give garbage values whereas static and external default 0.
|
And whats this for!!!
Quote:
Originally Posted by mehulved
Still if you want to know about what was going wrong, post your codes here we can try to help.
|
Its not neccesary as the code is cent percent correct and it's giving correct output in VC++, but not in Dev C++. Thats what I'm telling you!!!
__________________
Y U NO ALLOW PICTURES IN SIGNATURES?
Last edited by eggman; 01-06-2008 at 06:33 PM.
Reason: Automerged Doublepost
|
|
|
01-06-2008, 10:25 PM
|
#17 (permalink)
|
|
Fresh Stock Since 2005
Join Date: Feb 2005
Posts: 1,015
|
Re: C++ Compiler for vista Ultimate
Code::Blocks is too good.. It uses MinGW as compiler by default.. however, you can use almost anything else that you have installed...
http://www.codeblocks.org/
Runs well in Vista
And about the screenshot, are you doing a Graphics project?? Otherwise, PrintScreen should work fine...
Else, run it in VMWare and take screenshots..
__________________
http://www.khattam.info
|
|
|
02-06-2008, 11:19 AM
|
#18 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: C++ Compiler for vista Ultimate
Quote:
Originally Posted by eggman
So!!! The end result is that it doesn't pinpoint the mistake!! I'm not blaming anyone. It just drives me mad to find out the mistake, thats what I'm saying!!
|
Use a debugger and find the mistake, that's a routine part of programming.
Quote:
Originally Posted by eggman
Its not neccesary as the code is cent percent correct and it's giving correct output in VC++, but not in Dev C++. Thats what I'm telling you!!!
|
Show the code and we'll know, either could be wrong. It could be a programming error on programmer's part as we've seen in the other thread or it could be compiler error. But, it can't be verified till we don't see the code.
__________________
http://www.bash.org/?258908
|
|
|
02-06-2008, 11:33 AM
|
#19 (permalink)
|
|
Pawned!... Beyond GODLIKE
Join Date: May 2006
Location: World Of Warcraft -DOTA
Posts: 1,051
|
Re: C++ Compiler for vista Ultimate
^^ EGGMAN give MEHUL our 50 pages long program and lets see if he understands a single function we hav created.
^^ EGGMAN give MEHUL our 50 pages long program and lets see if he understands a single function we hav created.
^^ EGGMAN give MEHUL our 50 pages long program and lets see if he understands a single function we hav created.
__________________
If God has indeed created Himself in His own image, then I submit to you that God is a cockroach :mrgreen:!!!!!!!!
Last edited by fun2sh; 02-06-2008 at 11:43 AM.
Reason: Automerged Doublepost
|
|
|
02-06-2008, 12:30 PM
|
#20 (permalink)
|
|
Wahahaha~!
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
|
Re: C++ Compiler for vista Ultimate
ZOMG...u are showing the symptom of excessive childhood bashing
|
|
|
02-06-2008, 02:35 PM
|
#21 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: C++ Compiler for vista Ultimate
Quote:
Originally Posted by fun2sh
^^ EGGMAN give MEHUL our 50 pages long program and lets see if he understands a single function we hav created.
^^ EGGMAN give MEHUL our 50 pages long program and lets see if he understands a single function we hav created.
^^ EGGMAN give MEHUL our 50 pages long program and lets see if he understands a single function we hav created. 
|
Sure please. I am not talking of understanding the program. As, I said, I don't know how much of programming but let's see what is going wrong.
__________________
http://www.bash.org/?258908
|
|
|
02-06-2008, 09:04 PM
|
#22 (permalink)
|
|
I have Yolks not Brains!
Join Date: Aug 2006
Location: Inside the shell
Posts: 744
|
Re: C++ Compiler for vista Ultimate
^^There's no need cause in Microsoft C++ its giving 100% correct output. And the error in Dec C++ is logical, cause the output isn't correct. But since in VC++ the output is correct , i really dont think our program is wrong. And theres no use of posting the code, its over 100 pages and even I get confused between 50+ function we've created!!
__________________
Y U NO ALLOW PICTURES IN SIGNATURES?
Last edited by eggman; 03-06-2008 at 12:35 AM.
|
|
|
02-06-2008, 09:06 PM
|
#23 (permalink)
|
|
die blizzard die! D3?
Join Date: Aug 2007
Location: Event horizon
Posts: 2,361
|
Re: C++ Compiler for vista Ultimate
Quote:
Originally Posted by T159
ZOMG...u are showing the symptom of excessive childhood bashing
|
no,seems more like a really bad nroadband connection.   .
__________________
Stealing your women and horses since 1843.
|
|
|
02-06-2008, 11:55 PM
|
#24 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: C++ Compiler for vista Ultimate
Quote:
Originally Posted by eggman
^^There's no need cause in Microsoft C++ its giving 100% error. And the error in Dec C++ is logical, cause the output isn't correct. But since in VC++ the output is correct , i really dont think our program is wrong. And theres no use of posting the code, its over 100 pages and even I get confused between 50+ function we've created!!
|
Still, post it.
__________________
http://www.bash.org/?258908
|
|
|
03-06-2008, 02:13 PM
|
#25 (permalink)
|
|
Broken In
Join Date: Sep 2006
Posts: 147
|
Re: C++ Compiler for vista Ultimate
and someone mentioned tht dev c++ is a closed project ??!!what does it mean??are developments in the complier complete or is the compiler going to scrap.?
__________________
techtricks.co.in
portforwarding
xp-vista crossover connection
installing xp on vista notebooks
|
|
|
03-06-2008, 02:40 PM
|
#26 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: C++ Compiler for vista Ultimate
Not the compiler. gcc is still under active development. It's that the Dev-C++ project has come to a halt. There's a recently release gcc-4.3 beta version for windows under mingw.
__________________
http://www.bash.org/?258908
|
|
|
03-06-2008, 11:32 PM
|
#27 (permalink)
|
|
Born to rule....
Join Date: May 2008
Posts: 10
|
Re: C++ Compiler for vista Ultimate
Guys MS VC++ 2008 is too good, works gr8....
It did everything i wanted....
Compiled and executed program. .exe file works gr8 and i also took snapshots of screen. ....
Gr8 software MS VC++ 2008 for Vista....8)
__________________
AMD Athlon X2 4800+, Asus M2NPV-MX, 4x1GB 800Mhz Kingston, 160GB SATA2, 7600GT PCI-Ex, Sansung DVD+RW SATA, 17'' LG CRT.
|
|
|
04-06-2008, 12:23 PM
|
#28 (permalink)
|
|
Who stole my Alpaca!
Join Date: Jan 2005
Location: Kerala
Posts: 2,020
|
Re: C++ Compiler for vista Ultimate
Quote:
|
^^ EGGMAN give MEHUL our 50 pages long program and lets see if he understands a single function we hav created.
|
I'm not mean else I would have said "Ill show you a post button . Lets see if you know how to use it. " Please cut the attitude. Why don't you just upload the so called "50 pages program". If mehulved or someone does understand I'm sure he will be happy to explain it.
__________________
The Ultimate Chess Strategy : "Hit Hard, Hit Fast and Hit Often"
|
|
|
04-06-2008, 02:21 PM
|
#29 (permalink)
|
|
Pawned!... Beyond GODLIKE
Join Date: May 2006
Location: World Of Warcraft -DOTA
Posts: 1,051
|
Re: C++ Compiler for vista Ultimate
^^are yaar chill out.
main to mehul ki tang kinch raha tha
__________________
If God has indeed created Himself in His own image, then I submit to you that God is a cockroach :mrgreen:!!!!!!!!
|
|
|
04-06-2008, 02:53 PM
|
#30 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: C++ Compiler for vista Ultimate
Quote:
Originally Posted by fun2sh
^^are yaar chill out.
main to mehul ki tang kinch raha tha 
|
if you have such a program do pass it on to me, I want to work a bit on my programming skills.
__________________
http://www.bash.org/?258908
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|