Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 10th, 2006, 12:56 PM   #1
Edgar
Programmer
 
Edgar's Avatar
 
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0 Edgar is on a distinguished road
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.
Edgar is offline   Reply With Quote
Old Oct 10th, 2006, 1:30 PM   #2
_James_
Newbie
 
Join Date: Sep 2006
Location: UK
Posts: 20
Rep Power: 0 _James_ is an unknown quantity at this point
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.
_James_ is offline   Reply With Quote
Old Oct 10th, 2006, 1:41 PM   #3
Edgar
Programmer
 
Edgar's Avatar
 
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0 Edgar is on a distinguished road
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.
Edgar is offline   Reply With Quote
Old Oct 10th, 2006, 1:57 PM   #4
andro
Professional Programmer
 
Join Date: Oct 2005
Location: California
Posts: 294
Rep Power: 3 andro is on a distinguished road
Send a message via AIM to andro
Quote:
Originally Posted by Edgar View Post
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.
andro is offline   Reply With Quote
Old Oct 10th, 2006, 2:02 PM   #5
Edgar
Programmer
 
Edgar's Avatar
 
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0 Edgar is on a distinguished road
Any ideas? I just asked my tutor but he don't answer untill 24 hours.
Edgar is offline   Reply With Quote
Old Oct 10th, 2006, 2:22 PM   #6
_James_
Newbie
 
Join Date: Sep 2006
Location: UK
Posts: 20
Rep Power: 0 _James_ is an unknown quantity at this point
Quote:
Originally Posted by Edgar View Post
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.
_James_ is offline   Reply With Quote
Old Oct 10th, 2006, 2:29 PM   #7
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 3 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
@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!
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Oct 10th, 2006, 2:48 PM   #8
Edgar
Programmer
 
Edgar's Avatar
 
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0 Edgar is on a distinguished road
Have A Good Day James.
Edgar is offline   Reply With Quote
Old Oct 10th, 2006, 4:07 PM   #9
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
James may have come across as rude to you, but what he said is correct.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Oct 10th, 2006, 4:18 PM   #10
MBirchmeier
Hobbyist Programmer
 
Join Date: Oct 2005
Posts: 211
Rep Power: 3 MBirchmeier is on a distinguished road
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
MBirchmeier is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
please help me to compile cwl157 C++ 37 Mar 6th, 2006 6:12 PM
MASM32 compile problem Kilo Assembly 3 Nov 20th, 2005 12:39 PM
can't compile code lloydkirk Java 17 Oct 6th, 2005 2:07 AM
Fahrenheit / Celsius compile problem andrewgray C++ 20 Jul 8th, 2005 11:04 PM
C++ Compile gebreil C++ 6 May 29th, 2005 1:30 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:27 PM.

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