BPsite Forums
November 10, 2024, 08:24:56 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: BPSITE FOREVER!
 
   Home   Help Search Members Login Register  
Pages: [1] 2
  Print  
Author Topic: Compiler  (Read 20708 times)
smi256
Hero Member
*****
Offline Offline

Posts: 2287



View Profile
« on: June 29, 2005, 08:26:45 AM »

I've taken a VB.NET class and used VS.NET.  I'm now taking 'C', and I will be taking a Java class next fall; but the error checking and formatting for 'C' in VS.NET seems to be lacking (I don't know about Java yet).  'C' and Java are required for College/University, regardless of what is actually used/useful in RL.
[Side note] I tried to use something called Eclipse, but for some reason I couldn't get the silly thing to compile...

I’m looking for some sort of error correction as you type
(like if you use a variable that hasn’t been declared, or if I typed something like ‘fprinf(f,"whatever");' and it’ll say, "You numb ass, you spelled it wrong!", well, maybe not just like that...)

Maybe even formatting Smiley
fprintf (f,"whatever");

Will run on my computer and will actually compile... (stupid eclipse...)

What sort of recommendations / warnings do any of you have?
 
Logged

*was here
Hornet
Hero Member
*****
Offline Offline

Posts: 685



View Profile WWW
« Reply #1 on: June 29, 2005, 06:21:10 PM »

Very little C experience, so I can't help as much as I'd like, but I can furnish you with a shedload of debuggers.
Logged

In the fridge! By the cheese! Waggle waggle!

Money isn't the solution to life's problems, but it can usually buy it.
SS
Administrator
Hero Member
*****
Offline Offline

Posts: 10393



View Profile WWW
« Reply #2 on: June 29, 2005, 06:29:18 PM »

Are you trying to compile Eclipse, or compile your project in Eclipse?

If the former, don't bother - just download the pre-compiled binarys.

If the latter, are you trying to compile a C project? Do you have a plugin which allows that? Eclipse is a Java IDE by default, and you'll need to get a plugin to use it with C. And if so, that plugin probably has a support forum which could be helpful.
(I only use it as work for CF stuff, with the CFEclipse plugin.)
Logged

Peter 'SpectralShadows' Boughton,
Seeker of Perfection, BPsite Sitelord.

Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming
defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
smi256
Hero Member
*****
Offline Offline

Posts: 2287



View Profile
« Reply #3 on: June 30, 2005, 07:46:08 AM »

Thank you for the debuggers, I’ll try and get them working after I’ve gotten my HW done (I know how much time can be eaten by these things).

I had the Windows bin for Eclipse, I did the whole look for new plug-ins and DLed/installed the newest (then DLed ALL of the ‘C’ stuff).  I didn’t go to the forum though…
 
Logged

*was here
SS
Administrator
Hero Member
*****
Offline Offline

Posts: 10393



View Profile WWW
« Reply #4 on: June 30, 2005, 01:16:38 PM »

Can you go into Window>Open Perspective>Other and have a look what you've got there.
Logged

Peter 'SpectralShadows' Boughton,
Seeker of Perfection, BPsite Sitelord.

Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming
defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
Codywlg
Guest
« Reply #5 on: February 10, 2007, 08:48:49 PM »

[lots of spammed shit]
« Last Edit: February 11, 2007, 02:31:04 AM by SS » Logged
Hornet
Hero Member
*****
Offline Offline

Posts: 685



View Profile WWW
« Reply #6 on: February 11, 2007, 12:51:47 AM »


I suppose this is my hint to finish the Captcha, then.  Grr. :angry:  
Logged

In the fridge! By the cheese! Waggle waggle!

Money isn't the solution to life's problems, but it can usually buy it.
smi256
Hero Member
*****
Offline Offline

Posts: 2287



View Profile
« Reply #7 on: November 18, 2007, 10:56:27 AM »

[necromancy] speaking of compilers....
I'm taking a compilers course... we're writing our own compiler... and it's kicking my butt...
 :ph34r:  
Logged

*was here
SS
Administrator
Hero Member
*****
Offline Offline

Posts: 10393



View Profile WWW
« Reply #8 on: November 18, 2007, 01:20:59 PM »

What language does it compile?
Logged

Peter 'SpectralShadows' Boughton,
Seeker of Perfection, BPsite Sitelord.

Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming
defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
smi256
Hero Member
*****
Offline Offline

Posts: 2287



View Profile
« Reply #9 on: November 19, 2007, 07:58:12 PM »

A subset of C which we're calling c0.  We have function calls but we don't support much else... no preprocessor stuff like marcos or even #include, so only very simple programs will work...
I just wish I had enough time to get the damn project working the first place.  Owell, it's not like my compiler is going to spit out working bin files, that's for the second compilers course.
Logged

*was here
SS
Administrator
Hero Member
*****
Offline Offline

Posts: 10393



View Profile WWW
« Reply #10 on: November 19, 2007, 08:25:02 PM »

That sounds cool. Except for the C stuff. C is evil! Sad
Logged

Peter 'SpectralShadows' Boughton,
Seeker of Perfection, BPsite Sitelord.

Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming
defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
smi256
Hero Member
*****
Offline Offline

Posts: 2287



View Profile
« Reply #11 on: November 21, 2007, 07:28:46 AM »

Why you got'a be hate'n on the C for?  yo... Wink  
Logged

*was here
SS
Administrator
Hero Member
*****
Offline Offline

Posts: 10393



View Profile WWW
« Reply #12 on: November 22, 2007, 01:53:32 AM »

Because 'tis the ugliest sight I e'er have had my eyes set upon, and from it hath spawned sins as great as mankind shall ever know. :angry:
Logged

Peter 'SpectralShadows' Boughton,
Seeker of Perfection, BPsite Sitelord.

Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming
defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
smi256
Hero Member
*****
Offline Offline

Posts: 2287



View Profile
« Reply #13 on: November 22, 2007, 07:29:03 AM »

You can't handle pointers can you?.. Sad  
Logged

*was here
SS
Administrator
Hero Member
*****
Offline Offline

Posts: 10393



View Profile WWW
« Reply #14 on: November 22, 2007, 08:37:43 PM »

Pah! Pointers are a piece of piss.

It's the bloody { and } shite that I object to the most, followed closely by the ridiculous idea of using equals for assignment.
Logged

Peter 'SpectralShadows' Boughton,
Seeker of Perfection, BPsite Sitelord.

Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming
defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!