Find the answer to your Linux question:
Results 1 to 7 of 7
hi every one I am a noob .....very very noob infact this is the first time I am using linux knoppix live cd ... I kind of like it until ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    6

    Linux live cd ( noob help )

    hi every one
    I am a noob .....very very noob infact this is the first time I am using linux
    knoppix live cd ...

    I kind of like it until now so I want to learn more ...any tips and tricks will be usefull .....Pointing to a site that has usefull info will be good

    the importtant thing that I want to learn what are the Xroot cmds some of the windows cmd work

    I also want to download a c compiler for linux for free

    thx for future help

  2. #2
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    the importtant thing that I want to learn what are the Xroot cmds some of the windows cmd work
    I suppose you refer to the shell, good info here http://www.linuxcommand.org/

    I also want to download a c compiler for linux for free
    gcc is the default c compiler and should be already on knoppix and g++ for c++
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    6

    Red face

    where can I found the compiler

    thx for the help

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by demon.kiler
    where can I found the compiler
    just write C/C++ program and execute in terminal through command
    g++ <file.c>
    ./a.out




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Oct 2006
    Posts
    6

    Question

    okay I guess I got that working but

    I have a error

    my code is this

    Code:
    int main(void)
    {
    printf("\n It works");
    }
    this code is nothing so I am postin this in this theard ( its not programming question )

    error is

    2.c: In function `int main()':
    2.c:3: error: `printf' undeclared (first use this function)
    2.c:3: error: (Each undeclared identifier is reported only once for each
    function it appears in.)

    thx for the future help

  6. #6
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    #include <stdio.h>

    use gcc to compile instead of g++
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  7. #7
    Just Joined!
    Join Date
    Oct 2006
    Posts
    6
    yeah now it works thx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...