what's the closest thing to Bloodshed on Ubuntu

This is a discussion on what's the closest thing to Bloodshed on Ubuntu within the Tech Board forums, part of the Community Boards category; Hello All, I just recently started learning c on win xp using the bloodshed ide and complier, but something happened ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    10

    what's the closest thing to Bloodshed on Ubuntu

    Hello All,

    I just recently started learning c on win xp using the bloodshed ide and complier, but something happened I got infected with a trojan or something. Instead of trying to fix it I decided to stop the problem at the source and just use linux.

    I am using unbuntu linux and it is really good almost perfect so far everything works for me almost out of the box i am happy and don't want to ever go back to xp never. How ever I am a little lost things were so easy compiling my c programs with xp and bloodshed is there a similar alternative in the Linux realm.

    like all I want to do is open my ide make a new file from source code click run and it makes an executable file for me.

    What's the easiest way to write and compile a hello world c program in Linux?

    Thanks again here later!
    Last edited by raymond1234; 05-20-2007 at 06:32 AM.

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    Not that I really want to discourage you from using IDEs -- OK so I do -- but since you're getting into Linux, I would suggest working from the command line a little bit more.

    You should already have GCC or some other C compiler on there. A glorified text editor should complete your main necessary set of tools, and you can write simple one-file programs.

  3. #3
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,475
    Do you not have anti-virus sofware?
    I'm just trying to be a better person - My Name Is Earl

  4. #4
    Registered User
    Join Date
    Apr 2007
    Posts
    10
    Do you not have anti-virus sofware?
    I do but I went to a web page and I think the webpage installed some kind of active x program with out my permission a worm or something and my antvirus was not able to detect the worm

  5. #5
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    Don't use Internet Explorer.

  6. #6
    Registered User
    Join Date
    Sep 2006
    Posts
    835
    If you have KDE installed, there's KDevelop.

    Edit: http://www.kdevelop.org/

  7. #7
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,636
    Moved to Tech Board: IDE choice question.

    You could also try Anjuta, in view that Gnome is the desktop environment that comes with Ubuntu.

    On the other hand, gcc is definitely installed on your system, so I would also recommend using it on the command line with a text editor, say gedit which should already be installed.

    You could also check out a favourite IDE thread on Ubuntu forums.
    Last edited by laserlight; 05-20-2007 at 07:40 AM.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  8. #8
    Temporal Apparition qubit67's Avatar
    Join Date
    Jan 2007
    Posts
    85
    you could quite simply open a ternimal, navagate to the folder containing the source, then just gcc -Wall -ansi -o file file.c it to compile and create an execution file. The simplest and most common is the vi editor in linux or it's predeccessor vim. Alternatively you could use another editor like nano or a simple text editor like gedit. Other apps like Kate and Geany have extra features, I like Geany, it has hot-keys to compile and build and then run the progam and it is easy to debug by finding the erronenous line by selecting each error output. It also alows for multiple open progams in tabs and with a left panel list of all functions/typdefs etc in each program. anyways, there all free, just try them out and you'll find one of yer liking. Oh and btw, you need libc6dev i think the develope in C, the kernel headers should be automatically selected as a dependancy. The man pages and dev man pages are also of great resource for the noob.. have fun!

  9. #9
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,636
    vi editor in linux or it's predeccessor vim
    I think you meant successor or clone
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  10. #10
    Registered User
    Join Date
    Sep 2006
    Posts
    835
    > You could also try Anjuta, in view that Gnome is the desktop environment that comes with Ubuntu.
    On Fedora, the default is Gnome, but you can have KDE installed simultaneously. Is Ubuntu the same, or is Kubuntu mutually exclusive with it?

  11. #11
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,636
    On Fedora, the default is Gnome, but you can have KDE installed simultaneously. Is Ubuntu the same, or is Kubuntu mutually exclusive with it?
    Just default for Ubuntu, of course.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. the arrow thing.. ->
    By willc0de4food in forum C Programming
    Replies: 18
    Last Post: 10-25-2005, 06:35 AM
  2. Saying the right thing, right time!
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 03-11-2005, 03:43 PM
  3. The program save some funny thing
    By nasa in forum C++ Programming
    Replies: 3
    Last Post: 03-18-2004, 09:37 AM
  4. A very strange thing
    By gustavosserra in forum C++ Programming
    Replies: 4
    Last Post: 04-15-2003, 12:43 PM
  5. Need help w/ Bloodshed compiler!
    By fsbabe in forum C++ Programming
    Replies: 4
    Last Post: 07-03-2002, 08:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21