Operating Systems > Linux and UNIX
Turbo C
Agent007:
Hi
I use Turbo C in Windows to compile some simple C programs....When there is an error, they show up in the window below the code. Is there something similar for Linux?
thanks,
007
shuiend:
i personly use Kedit for editing the cpp files and using g++ to compile them. you can uise g++ like this
g++ -o whatyouwantprogramtobecalled filename.cpp
This is probally not the best way to do it but it works for my needs. I just have kedit open and edit away then i save then compile. It tells me what errors i get then i go into kedit and edit where it says there errors are then resave and try again
Agent007:
Hi,
I have compiled the following c program, but when it is executed via the terminal, the printf statement dosen't show up...what cud be wrong?
thanks,
007
quote:
#include <stdio.h>
main ()
{
printf("Hello");
}
--- End quote ---
voidmain:
Try:
printf("Hello\n");
Siplus:
basic c/c++ question:
why does c++ have 2 print commands?
printf from stdio, and cout from iostream?
Navigation
[0] Message Index
[#] Next page
Go to full version