Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Dev C++


29 replies to this topic

#1 Final)arkJon

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 131 posts
  • Interests:Email Jonathanszymanski@hotmail.com

Posted 23 October 2004 - 12:25 PM

ok so i have dev C++, if any of you know what that is???
you can get it for a free download at www.downloads.com
is it possible to write in c on it?

#2 r4inm4ker

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 21 posts

Posted 24 October 2004 - 03:37 AM

yes, you can write C code on it.
i had installed it on my PC before, and used it for a while. But i'm not used to its debugging tool. i couldn't run my program step by step no matter how i tried. so i come back to previous software, Visual C++ <_<

#3 Final)arkJon

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 131 posts
  • Interests:Email Jonathanszymanski@hotmail.com

Posted 24 October 2004 - 06:39 PM

K thx, i figured it out! im so happy now, anyway thx for telling me. its a good free compiler if anyone needs one. ive been using it for a while now. im currently working on makin some games for flash! im still a newb, so if anyone has good advice ill glady take it. Thx for helping R4inm4ker!

#4 tmonty

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 48 posts
  • Location:Kalisz, Poland
  • Interests:programming, Monty Python, music (metal)

Posted 28 October 2004 - 03:03 PM

In my opinion Dev-Cpp is not so good... EXE files are very big (e.g. 'Hello world" has about 700kb)

#5 Deaths Aprentice

    .: http://www.xgnews.tk :.

  • Kontributors
  • PipPipPipPipPipPipPip
  • 119 posts

Posted 29 October 2004 - 03:26 PM

The best thing is to just get yourself a pirate copy of VC++.
I dont know if its allowed to post them here or not , if not just email/pm me , ill help ya out <_<

#6 tmonty

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 48 posts
  • Location:Kalisz, Poland
  • Interests:programming, Monty Python, music (metal)

Posted 30 October 2004 - 09:46 AM

But illegal VC++ hasn't got the licence, so U can't sell your programs.

#7 switch

    Premium Member

  • Kontributors
  • PipPipPipPipPipPipPipPip
  • 178 posts
  • Location:NSW, Australia
  • Interests:music,<br />3d graphics programming.

Posted 05 November 2004 - 02:46 AM

if you know where to look you can actually get vc++ very very cheaply. i have a friend who got visual studio .NET 2003 professional for $150 NEW! (in Australia) the reccommended retail is about $950.

if your devc++ exe files are about 700 kb, you are probably leaving debugging symbols in. i can't remember how to remove them, but when you output your final product, you should turn off the debugging symbols. it will be somewhere in the linker options, or maybe the compiler options.

#8 fowlball1010

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 15 posts

Posted 08 November 2004 - 11:55 PM

Dev-C++ is alright. I bought it with a book and cd and it takes up a lot of memory and i don't like the defaults.

#9 dawu

    Newbie [Level 2]

  • Kontributors
  • PipPip
  • 34 posts

Posted 09 November 2004 - 07:38 AM

DevC++ is OK and you also have Watcom...http://www.openwatcom.org/ or you can just install GCC + Anjuta...anyway, you have many options.

There was some discount offer (only for students) at Microsoft, two years ago, where I got my full VS6 pro + MSDN + Service Packs for only 15$

If you plan to go pro with making software and, someday, even selling them, I suggest you risk some money and order licensed Visual Studio.

#10 dawu

    Newbie [Level 2]

  • Kontributors
  • PipPip
  • 34 posts

Posted 09 November 2004 - 07:38 AM

DevC++ is OK and you also have Watcom...http://www.openwatcom.org/ or you can just install GCC + Anjuta...anyway, you have many options.

There was some discount offer (only for students) at Microsoft, two years ago, where I got my full VS6 pro + MSDN + Service Packs for only 15$

If you plan to go pro with making software and, someday, even selling them, I suggest you risk some money and order licensed Visual Studio.

#11 switch

    Premium Member

  • Kontributors
  • PipPipPipPipPipPipPipPip
  • 178 posts
  • Location:NSW, Australia
  • Interests:music,<br />3d graphics programming.

Posted 17 November 2004 - 12:49 AM

dawo has a good point, i find that vc++ is the best thing you can use. the debugger is great (although it has stopped working on my computer :( ) and the syntax highlighting and completion so easy to use and flawless as far as i can tell.

mind you, it took me a bit to get the money, and it really depends on how much you intend on doing, and wether you will use mfc or anything.

#12 nooc

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 13 posts

Posted 20 November 2004 - 07:46 PM

There is a free commandline version of visual c++, incase someone didn't know.
http://msdn.microsof.../vctoolkit2003/

#13 dropout21

    Premium Member

  • Kontributors
  • PipPipPipPipPipPipPipPip
  • 171 posts
  • Location:Canada

Posted 22 November 2004 - 11:30 PM

i also recently installed Dev-C++ and have tried learning it through the help files etc and when i talk to people about certain commands, they will not know what im talking about or tell me to use other ones, because of the different 'libraries/ reference files' so it has become confussing to learn. I also have Visual Studio 6 (downloaded for free) and it has Visual C++ in it but i cannot access help files and its a huge thing to install. I wish all languages had one set of commands (not one world wide set, just one function for the same thing), but i dunno, it might 'limit' abilities, so ill have to learn what i can for now.

#14 nooc

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 13 posts

Posted 23 November 2004 - 01:15 AM

If you follow the standards when writing c/c++ the you shouldn't have any compatibility issues unles you're doing something more complicated.
However, if you are talking about the compilers themselves then that's an entirely different thing. They are different.

#15 Darth Vivi

    Darth

  • Kontributors
  • PipPipPip
  • 44 posts

Posted 26 November 2004 - 05:18 AM

I love Dev C++. If you don't want to spend money on a compiler, you can just download it for free. The file sizes for basic programs are huge, but the file sizes don't go up that much after a file is already created. (A much more complicated program will take nearly the same amount of memory as "Hello World")

#16 osknockout

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 399 posts
  • Location:Elysium
  • Interests:quantum mechanics, war, history, epidemiology, virology,mathematics, programming, D&amp;D/NetHack<br />...old skool :)

Posted 26 November 2004 - 12:42 PM

:( That's nice guys, but I've noted that there's no
fstream library in DevC++ [or is that just me?]

-also that VC++ commandline release is available on
www.thefreecountry.com and you need at least a win2000 for it.

But DevC++ is good for many things like OpenGL
[NeHe's pages at gamedev.net are very useful]

But, you all should go to bloodshed.net to get the thing at it's source.

------------------------
Which is worse?
No commandline or
nothing to command?

-the Gatian excuse

#17 Amorak

    Newbie

  • Kontributors
  • Pip
  • 3 posts
  • Location:55° 50'N, 4° 15'W

Posted 10 December 2004 - 06:16 PM

Quote

In my opinion Dev-Cpp is not so good... EXE files are very big (e.g. 'Hello world" has about 700kb)
Well I atualy got The hello world program out at 414kb a lot less than the 700kb people keep throwing out.
[br]#include<iostream>[/br][br]int main()[/br]{[br]    std::cout << "hello world!" << std::endl;[/br]    std::cin.get();[br]    return(0);[/br]}

I defenetly think Dev-C++ is the best IDE out there and I atualy cant beleave its free considering the quality of it.

VC++ is to expensive and complicated.

#18 CrimeWave

    Newbie

  • Kontributors
  • Pip
  • 5 posts

Posted 11 December 2004 - 06:26 AM

i used dev-c++ to but i couldn't execute my programs even in a simple hello world program he said there were 8 errors but now i'm using VSc++ and that's working great

#19 osknockout

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 399 posts
  • Location:Elysium
  • Interests:quantum mechanics, war, history, epidemiology, virology,mathematics, programming, D&amp;D/NetHack<br />...old skool :)

Posted 11 December 2004 - 02:01 PM

Hey CrimeWave, that's pretty mean actually.
You should have given it a bit more time,
it's pretty good.

Could you show the source code so that
the rest can try? I'm sure DevC++ isn't that bad.
...besides, it uses gcc as a compiler, what'd you expect? :D

#20 dexter

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 142 posts
  • Location:Queensland, Australia
  • Interests:Programming, mostly, and playing old-school games. :)

Posted 24 December 2004 - 06:30 AM

Now the thing about size is a result of all the extra information the program needs to work in with your OS... if you have a peek at the object code with the source still left in, you'll see that the code you wrote only takes up a small amount of space... so, once you write bigger programs, the size isn't going to increase by all that much.

Also, another problem could be is that you've got debugging info left inside... that also will make the executable a lot bigger...

Dev-C++ uses a gcc compiler, one that most linux distros also use. If it was a bad compiler, then most likely, it wouldn't get packaged with the linux distros... besides, Microsofts compiler doesn't even conform to the ANSI/ISO standards... ;)

EDIT: I was testing speed ratings of a program the other day... and using dev-C++ my program was running faster than with one compiled under MSVC++... testing a doubly linked list class I wrote.

#21 osknockout

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 399 posts
  • Location:Elysium
  • Interests:quantum mechanics, war, history, epidemiology, virology,mathematics, programming, D&amp;D/NetHack<br />...old skool :)

Posted 24 December 2004 - 12:34 PM

Nicely put dexter. Could you show me those results of your
speed tests with double-linked lists?
Actually dexter, you're slightly wrong. With UPX. The
size goes down a few hundred KB's and still works as a EXE.

Darn those Microsoft exe's.

data-data-data-data
00000000000000000
data-data-data-data
00000000000000000
data-data-data-data

makes no sense, who thought of that one?

Does anyone know if DevC++ now has a darn
fstream include file? I'm getting sick of playing
around with Quincy to compile file I/O programs
and Watcom is hell for me right now.

#22 dexter

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 142 posts
  • Location:Queensland, Australia
  • Interests:Programming, mostly, and playing old-school games. :)

Posted 24 December 2004 - 12:38 PM

Erm... try #include <fstream>... I'm using it in a program right now... ;) ... and I might extend the test a little more, too, then I'll post back on it... (it's only got the basic function right now... no sorting, just pushing and popping front and back... I wrote it to take C++ style strings 'cause the templates didn't like me using the string type with the STL library.)

#23 osknockout

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 399 posts
  • Location:Elysium
  • Interests:quantum mechanics, war, history, epidemiology, virology,mathematics, programming, D&amp;D/NetHack<br />...old skool :)

Posted 24 December 2004 - 12:52 PM

Yes, I know #include <fstream> I've tried every variety of that
a million times, #include<ostream>, even overriding <stdio> with
<iostream>! But it [at least, mine] doesn't have a freaking fstream.h

Try compiling a standard fstream including file, tell me what happens.

#24 Xedos

    Give me Reputation and i'll give you some back.

  • Banned
  • 203 posts
  • Location:Wirral, Northwest England
  • Interests:Interweb, Weebl and Bob, Linux, Windows, Nereks.

Posted 29 December 2004 - 05:57 AM

Final)arkJon, on Oct 23 2004, 12:25 PM, said:

ok so i have dev C++, if any of you know what that is???
you can get it for a free download at www.downloads.com
is it possible to write in c on it?

<{POST_SNAPBACK}>

It is posiable. Simply select C when on the new projects page. I use Dev C++. Its extreamly easy and simple. I would spead the word to anyone who needed a compiler.

#25 dexter

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 142 posts
  • Location:Queensland, Australia
  • Interests:Programming, mostly, and playing old-school games. :)

Posted 01 January 2005 - 12:38 PM

#include <fstream>

using std::fstream;
using std::ios;


That's out of a file I've got that's using fstream, in dev-c++ and it's definately working... using std::ifstream or using std::ofstream if you're using either of those instead, though... should have no problems...




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users