PDA

View Full Version : C++



arian_ma
02-07-2006, 10:49 AM
Hey guys, I have a comp programming course this sem and I really really hate the op system we run on (Linux). now here we use the xemacs text editor and its built in compiler. Do you guys know of any good text editors with built in compilers for windows?

something easy to use and relatively close to what xemacs is.

Thanks guys. :thumbsup:

rc2002
02-07-2006, 10:53 AM
You can get Visual C++ for windows.

But why? Emacs rules!!! Best text editor evar!

V6-BoI
02-07-2006, 10:55 AM
I used a program called Cygwin (http://www.cygwin.com/). Allows you to SSH to the school network and use all the editors and compilers from school on your home computer.

arian_ma
02-07-2006, 11:12 AM
Hmmm, that one sounds good. I've heard it's super complicated though is that true?
Also, Richard, you can use xemacs on windows? Definately did not know that...

mshaw
02-07-2006, 11:13 AM
i used putty on my home computer to do all my programming work

googe
02-07-2006, 11:29 AM
VC++ kinda sucks, its far too big and bloated. if youre used to emacs you wont need any of the 2GB of extra features Visual C offers.

there is a pretty decent one caled dev c++ by bloodshed software. also, there is a windows port for emacs you can download here:

http://ftp.gnu.org/pub/gnu/emacs/windows/

V6-BoI
02-07-2006, 11:31 AM
Originally posted by arian_ma
Hmmm, that one sounds good. I've heard it's super complicated though is that true?


I haven't used it in a while, but I don't remember it being that complicated. There's just one command you type in the command prompt that'll connect you to the school network. It is like Putty but 1000 times better.

djayz
02-07-2006, 11:38 AM
we used dev c++ bloodshed for our programming
was pretty good simple to use and basic enough for what we worked on.

air_mikey
02-07-2006, 12:32 PM
Originally posted by djayz
we used dev c++ bloodshed for our programming
was pretty good simple to use and basic enough for what we worked on.

yeah thats what i have too. it isnt too bad to use and doesnt need too much to get used to

arian_ma
02-07-2006, 02:18 PM
Sweet thanks guys.
:)

A2VR6
02-07-2006, 06:40 PM
Originally posted by djayz
we used dev c++ bloodshed for our programming
was pretty good simple to use and basic enough for what we worked on.

Great program, used to have it but i dont use it anymore. Now i just program in wordpad and compile it thru the command window in windows.

MidnightDreamer
02-07-2006, 10:23 PM
bloodshed is awesome... i find debugging to be a little bit easier since the messages aren't so ambiguous...

sabad66
02-07-2006, 10:30 PM
http://www.engg.ucalgary.ca/studentinfo.htm#6
Check out that web site. Tells you how to get xemacs and cygwin on your computer. Then to transfer files you can use winscp. I'm not sure if cygwin can connect with the school computers, but if it can then even better.

wildrice
02-07-2006, 10:38 PM
another one for bloodshed!:thumbsup:

Dj_Stylz
02-07-2006, 11:23 PM
Used C++ Bloodshed in Programing its a good program:thumbsup:

V6-BoI
02-07-2006, 11:46 PM
Hmm.. C++ Bloodshed huh? I'll remember that for when I go back to school during my last year, haha.

dj_honda
02-07-2006, 11:49 PM
i used notepad++ and just compiled with putty. i like notepad++, the tabs kick ass for large programs.

tulit
02-08-2006, 12:25 AM
Check out Eclipse. Probably the best IDE i've used (for windows). Its free and you can get a plugin for C/C++

andres_mt
02-08-2006, 01:42 AM
Just a quick question, hopefully someone can answer. Say you compile a program on your home computer (Windows XP) using a program like XEmacs. How could you test to see if your program works on your home computer or does cygwin, winscp3, etc...do that for you??

andres_mt
02-08-2006, 01:55 AM
Nevermind, you use Cygwin right?
lol im really new to this stuff.

benyl
02-08-2006, 10:26 AM
why bother with the trouble of installing cygwin. Why not get yourself a decent SSH telnet client and log into school. That way everything is at the same place.

vi pwns emacs.

speedracer
02-08-2006, 12:30 PM
Originally posted by benyl
vi pwns emacs.

:thumbsup:

the_fornicator
02-08-2006, 12:33 PM
download xwindows

then you can get xemacs working at home if you putty into a school box. or shit, putty into school and do a... fuck, it's been a while.

emacs -nw <file>

(no window)

and yes, learn vi instead. a whole lot more powerful.

andres_mt
02-09-2006, 05:12 PM
hey do you guys know what compile command to use after your done writing your program? I know for Linux you use
g++ program.cc -o program

But what do you use if your using XEmacs in windows?

WRXchic
02-09-2006, 05:27 PM
You go back to the console, in your dir.
\home\user\> g++ program.cc -o program.
where there is no error or compile error message, the a new command line will show, then
\home\user\>./program

what cpsc course you are taking?

turbotrip
02-09-2006, 06:23 PM
^ ENGG 233

mb3k
02-12-2006, 03:28 AM
Another one for Bloodshed Dev C++
It's a great, clean cut program... even when doing assembly language

turbotrip
02-14-2006, 08:09 PM
for Dev C++ do you need to download a seperate compiler or soemthing to run the programs? because ive been using Dev, and whenever I try to run the program it cuts out in the middle. Like it allows you to type in a value, but then when it comes to outputting anything, the screen just dissapears :confused:

heinz256
02-15-2006, 12:46 AM
You need to add the following line to your program jus before return 0; in the main

system("PAUSE");