Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Do we need the basics of C++ to do C in Unix?

Status
Not open for further replies.

spikefeet

Newbie level 6
Joined
Mar 5, 2006
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,375
hi do we need the basics of c++ to do C in unix .iam very weak in c programming somebody let me know about
C in unix is their any good book to start of with.
 


    spikefeet

    Points: 2
    Helpful Answer Positive Rating
Re: c++ c in unix

Hi,

u dont need to know c++ to do c progs in linux...,
You can just type in your c code only changes could be in including some libraries and inbuilt functions which may differ depending on compiler.

Example...

Open vi editor..,

Press i to start typing.

then type

#include<stdio.h>
main()
{
printf("hello World\n\n");
}

now save the code as abc.c

then to compile use cc or gcc abc.c

to see output type ./a.out

Regards
}
 

    spikefeet

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top