Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C (http://www.programmingforums.org/forum60.html)
-   -   How to compile with dmc dompile (http://www.programmingforums.org/showthread.php?t=11542)

Edgar Oct 10th, 2006 1:56 PM

How to compile with dmc dompile
 
Hi I'm using dmc compiler, and I need to know how to compile when I'm opening and closing files (e.g. openfile("scores.dat"); )
I heart something like this:
C:\ dmc NameOfProgram <scores
but is not compiling. I hope you can help me thanks.

_James_ Oct 10th, 2006 2:30 PM

mmm...

I dont mean to be rude but iirc dmc=Ditigal mars C/C++ compiler and it is a pile of poo. It never works properly and does not have a debugger. For the good of your sanitly use MinGW or MSVC++.

One last thing, have you ever heard of documentation. Its a great thing and i would advise anyone to get used to using docs properly. If you cant use docs then you will never succeed at programming. :)

Edgar Oct 10th, 2006 2:41 PM

hahahahaha you are funny and not rude, dmc has it's own debugger, and this is not if i want to use this compiler or not I have to use it for collage purpose, and truse me I know more that you about programing.;)

andro Oct 10th, 2006 2:57 PM

Quote:

Originally Posted by Edgar (Post 116194)
hahahahaha you are funny and not rude, dmc has it's own debugger, and this is not if i want to use this compiler or not I have to use it for collage purpose, and truse me I know more that you about programing.;)


LOL. You guys should duel in the streets or something.

Edgar Oct 10th, 2006 3:02 PM

Any ideas? I just asked my tutor but he don't answer untill 24 hours.

_James_ Oct 10th, 2006 3:22 PM

Quote:

Originally Posted by Edgar (Post 116194)
hahahahaha you are funny and not rude, dmc has it's own debugger, and this is not if i want to use this compiler or not I have to use it for collage purpose, and truse me I know more that you about programing.;)


You have no idea, take a look at this

http://www.digitalmars.com/download/freecompiler.html

Quote:

Does not come with a debugger, but works with the Symantec or Microsoft debuggers
So it does not come with a debugger.

If you knew more about programming then me why are you asking for help. A good programmer always reads the documentation before crying for help. People (professors, lecturers, tutors etc) dont like it when you email them stupid questions that you could find the answer to if you got off your lazy ass and did some research. I have been programming for years and I am a CS student. It may be the case that you know more than me but it might not and i dont care.

One last point, why are they forcing you to use any tool. Where i go to university they dont care what you use to compile C/C++ with. They never force a tool on us. They usually say this is what we recomend but if you dont like it you can use what you want as long as you get the work done. The person who marks your work does not care if you used notepad or emacs as long as they get it in on time. They dont care if you used gdb or the MS debug tools as long as you get a working program. If you cant use a tool then pay more attention in class where it was probably explained to you. But as your ego is blinding you, you probably did not listen.

ReggaetonKing Oct 10th, 2006 3:29 PM

@James: First, you have no say in what Edgar should post. You have no reason to comment on his tools he uses for programming. If you think they suck, fine, but I dont think he cares just chill man!

Edgar Oct 10th, 2006 3:48 PM

Have A Good Day James.

coldDeath Oct 10th, 2006 5:07 PM

James may have come across as rude to you, but what he said is correct.

MBirchmeier Oct 10th, 2006 5:18 PM

Quote:

Originally Posted by John Godfrey Saxe
It was six men of Indostan,
To learning much inclined,
Who went to see the Elephant
(Though all of them were blind),
That each by observation
Might satisfy his mind.

The First approach'd the Elephant,
And happening to fall
Against his broad and sturdy side,
At once began to bawl:
"God bless me! but the Elephant
Is very like a wall!"

The Second, feeling of the tusk,
Cried, -"Ho! what have we here
So very round and smooth and sharp?
To me 'tis mighty clear,
This wonder of an Elephant
Is very like a spear!"

The Third approach'd the animal,
And happening to take
The squirming trunk within his hands,
Thus boldly up and spake:
"I see," -quoth he- "the Elephant
Is very like a snake!"

The Fourth reached out an eager hand,
And felt about the knee:
"What most this wondrous beast is like
Is mighty plain," -quoth he,-
"'Tis clear enough the Elephant
Is very like a tree!"

The Fifth, who chanced to touch the ear,
Said- "E'en the blindest man
Can tell what this resembles most;
Deny the fact who can,
This marvel of an Elephant
Is very like a fan!"

The Sixth no sooner had begun
About the beast to grope,
Then, seizing on the swinging tail
That fell within his scope,
"I see," -quoth he,- "the Elephant
Is very like a rope!"

And so these men of Indostan
Disputed loud and long,
Each in his own opinion
Exceeding stiff and strong,
Though each was partly in the right,
And all were in the wrong!

-MBirchmeier


All times are GMT -5. The time now is 1:04 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC