Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
one day before i am given one interview in that they asked question like this
question:the marvel written the source code with out proper intendation.you have to write a c/c++ code for take a source file and when you got open brace then next line should be some tab after and also if ,else and while after one tab space..??
please any one help me how to write a c code..
You do realize that the interview was to find out if you know how to do that on your own?
Just to also clarify, I don't think they were asking for compiler code, they were asking for a parser and reformatter which would take something like:
int main(int argv,char**argv){int i;if(argv<2){printf("Usage:...\n");return -1;}i=argv[1];printf("Argument: %d\n,i);return 0;}
And reformat it so that it was spatially readable within the guidelines of a coding style document.
They're also likely looking for how you approach that problem intellectually. What's your first "take" on the problem, what questions do you have about the task you're being asked to complete, and how fast you "get" their whole point.
Yes, some interview questions are stupid, pointless, or a pet peeve of the questioner; in fact many of them are self serving. But if you claim to have mastery of the C-language, then .... they're likely going to ask you touch C-language questions. And if you claim to know it a bit, then they're likely still going to ask you C-language questions so they can see how much you do know.
If you're really interested in learning the language better, read up on references. Take this interview as a learning experience, go further and ask what they are looking for really, and do your own experimentations so that you actually learn the language by using it. Doing just "Hello World" does not mean you know C, and I'm not saying that you don't know it at all, just saying that this interviewer is trying to gage your knowledge as best as they can and they likely have several candidates. (I always thought the proper spelling was gauge, but the spell checker told me 'no')
i have drivers lab 2.6.34.12. tar file.
i extracted the file.when i am installing that it is asking the .config file..i am not understand the why the .config file..is it the necessary.if any one having the config file and drivers lab tar file please share the link and how to install on the open suse 12.1
and also
how to install glut(graphics library) in open suse.
please tell me the the basic book for learn graphics programming for beginners.
please tell me the the basic book for learn graphics programming for beginners.
Michael Abrash's Graphics Programming Blackbook is my favourite gfx. book of all time. It's available for free on the net.
It dates back to DOS days, so you'll probably have to find an old machine from somewhere.
i am downloaded avr8-gnu-toolchain-linux-x86 file and i extracted the file.but i unable to compile the files.when i am giving make command it is not working..please help me how to work with avr dude. and tel me x86 avr works on 32bit linux.
this is sensor blocks code in c language i unable to compile this code in with the my avr tool chain so please any one help to what is the steps to make the avr toolchain to work..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.