Author Topic: Hlep! Hpleh! Help!  (Read 3830 times)

0 Members and 1 Guest are viewing this topic.

Offline aldo_14

  • Gunnery Control
  • 213
:)

Um, I need a link to a C compiler - prefereably a simple one - i.e. edit the files, and then slap in a little command line thingie to compile it.

It's been sodding AGES since I last wrote anythink in C, so I'm not too keen on learning some mad complex devkit thingie... just a plain syntax text editor and command line util will do me fine :)

So, any suggestions?... i'm jsut going to experiment with adding a few extra sexps, methinks.

 

Offline Inquisitor

maybe something like Scite as an editor, gcc as the compiler?
No signature.

  

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
what about LCC32

i used that to do Q2 C mods.

i forgotten however how to operate it.

But it is a commandline C/C++ compiler.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline Inquisitor

I was just thinking of stuff I know that works :)
No signature.

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
GCC for a compiler. (Or rather G++ I think since it's C++ not C code) Make is used for compiling. And for editors/IDEs that's a more complicated question. There are a bunch out there. Cygwin's what I would use on a Windows computer for working with FS2, and that is a Linuxish environment so Linux editors are the way to go. Some I know of are vi/vim, emacs, NEdit, and wpe-Alpha/Xwpe-Alpha. Not sure if the latter works under Cygwin, but it's an easy to use IDE rather then just an editor. (Though it also has an editor without the frills.) It's got console and X versions.
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Notepad works too, in a pinch.

Don't sneer at me :)
your source code slave

 

Offline Inquisitor

I would never sneer, in fact, I almost typed "Notepad and GCC" :)

Then realized that other people might laugh at me ;)
No signature.

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Notepad's not bad for looking at the source code, except that if you're using the GCC/Linux port the line endings (done Unix style) will be screwy. :) GCC can apparently read files in both Unix and DOS format though. (I've copied files from my PC to my PS2 running Linux and compiled them before I remembered to change them to Unix line endings. And they still worked.)
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
Ultra Edit

It is fully worth the money

And even lets you design your own color schemes.

Like I have done for TBL files

The default color schemes include c/c++, HTML, Doc, java, and some I don’t remember
------

And it has a lot of other neat functions like compare files, macro recording/playing, preview HTML, open from and save to FTP (a big + here) and a lot of conversion functions. HEX edit, ANSI to OEM and vice versa. Spell check in different languages, some languages can be downloaded at their site. And of course you can have multiple windows open at the same time. Word Wrap etc. etc.

There is simply so many things that makes this tool ideal for viewing, and editing text format files.

It even lets you create workspaces, so if you are using a command line compiler, you can have a workspace like in MSDEV.

It takes the dull work out of text editing, + it is not very resource demanding.

A shareware version can be found at www.ultraedit.com. 45-day trial, and then you are obligated to register. Don’t know about a time limit. But the Earlier versions I had, had none, until I bought it.

Or you can buy it for 105 US$. A bit expensive yes,

But remember you can use this tool for the rest of your life. That is how good it is.

Ps. I’m not on IDM Computer solutions (the publisher of Ultra edit) employment list. :).
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Quote
Originally posted by DTP
Ultra Edit
:yes:  Probably the best standalone text editor out there.

It's not free (neither "free beer" nor "free speech"), but a very good tool.  All the stuff DTP said, plus easy Unix <-> DOS newline conversion... useful for those of us with our feet in both worlds.
your source code slave

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Or if you don't want to spend $100, try PHPEdit. Just switch the syntax highlighting to 'JavaScript' for decent C++ file coloring. :D
-C

 

Offline rambler

  • 22
Anyone remember Watcom?
Used to be the best code optimizing compilier around for Windows. Command line based until they slapped on an IDE gui but you were still better off using the makefiles.
Anyways, it came with a great windows editor with syntax-highlighting, *nix fomat conversion, and color/font selection. Funny it was called viw.exe ...

Watcom is now Open Source so you should be able to find it being developed somewhere. However, I had a hell of a time getting it to link with Micros*ft libs (ie DirectX) with the last commercial release several years ago. Maybe the open source guys have resolved this issue.

You can find it at: http://www.openwatcom.org