LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Closed Thread
  Search this Thread
Old 02-27-2018, 12:18 AM   #1
suryabear
LQ Newbie
 
Registered: Feb 2018
Posts: 6

Rep: Reputation: 0
doubts in learning c programming language


im new to programming language. but i want to learn everything in detail. will you help me to fulfill my programming skills and im practicing c language.
 
Old 02-27-2018, 12:23 AM   #2
suryabear
LQ Newbie
 
Registered: Feb 2018
Posts: 6

Original Poster
Rep: Reputation: 0
i started learning c language two months before, i am getting a lot of doubts but there is no place to find solutions for it, until found i found this. so im asking that can you help me to find valid solutions for my doubts...... and im learning it by books and internet, not by daily classes in any institute....
 
Old 02-27-2018, 02:26 AM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
Hi suryabear and welcome to LQ!
I think it is a good idea to learn C. It is a complicated job but worth trying. I have learnt programming by myself with help from the web, too. If you have questions in details you can post them in the forum for programming questions. You will find a lot of help there.
Have a good time
j
 
Old 02-27-2018, 02:37 AM   #4
suryabear
LQ Newbie
 
Registered: Feb 2018
Posts: 6

Original Poster
Rep: Reputation: 0
how can we write a function call by using show() in c programming.
 
Old 02-27-2018, 03:15 AM   #5
YesItsMe
Member
 
Registered: Oct 2014
Posts: 915

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
show() what?
 
Old 02-27-2018, 06:43 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
A good place to post Programming questions is in the LQ Programming forum

Also at the top of that forum, you'll find a sticky thread which has a bunch of C/C++ Tutorials

I'm also not aware of any existing C function, named show(). Therefore the same question as YesItsMe, which is what do you intend this function to do, or do you have a perception that it already does exist? (If so, please share a reference)

I like C programming in Linux because the OS is all about that language. Meanwhile the build-essential package gives you the compiler and debugger. It may already be on a distribution you happen to be using, just try things like "gcc --version" and you'll find out if you have the GCC compiler.
 
1 members found this post helpful.
Old 02-27-2018, 06:53 AM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by suryabear View Post
how can we write a function call by using show() in c programming.
Apparently this is an assignment or homework. Unless you show (much) more context of this question we have to assume you ask us to write your code.

If you want (really want) to learn C like we all did, get your hands on "The C programming language" by Kernigan & Ritchie and start working the examples. It is antique, but you cannot learn to run if you did not learn to walk first. If you think it is expensive to purchase, the price is *nothing* compared to the hours you will be spending coding and debugging.

It might be that there are tutorials on the internet, but there will be good tutorials and bad tutorials. If you pick one, make sure it consists of various steps with explanations and exercises for you to carry out (yourself).

jlinkels
 
1 members found this post helpful.
Old 02-27-2018, 08:37 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Another couple of good places to snoop-around are SourceForge and GitHub.

Here you can readily find the complete source code to actual, sometimes very-substantial applications, in "C" or in any other language under the sun, which work. I find it extremely informative to look at code which is known to be complete and runnable.

Also, when I'm embarking on something new, I always tell myself, "I know that somebody out there has already done this, and I know where to look!" In fact, these days it is rare for me to "start from scratch" on anything at all. ("Why should I?")

Last edited by sundialsvcs; 02-27-2018 at 08:53 AM.
 
Old 02-28-2018, 10:39 AM   #9
suryabear
LQ Newbie
 
Registered: Feb 2018
Posts: 6

Original Poster
Rep: Reputation: 0
what are the twelve categories of input in programming language?
 
Old 02-28-2018, 10:41 AM   #10
YesItsMe
Member
 
Registered: Oct 2014
Posts: 915

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
Unless you agree that we get the grades for your work, I'm out.
 
Old 02-28-2018, 10:42 AM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by suryabear View Post
im new to programming language. but i want to learn everything in detail. will you help me to fulfill my programming skills and im practicing c language.
no, that is only something you can do.

Take smaller bytes if you're finding it too overwhelming and chew slower before you swallow.

Last edited by BW-userx; 02-28-2018 at 10:43 AM.
 
Old 02-28-2018, 10:53 AM   #12
suryabear
LQ Newbie
 
Registered: Feb 2018
Posts: 6

Original Poster
Rep: Reputation: 0
what is the meaning of getchar and its uses?
 
Old 02-28-2018, 10:54 AM   #13
YesItsMe
Member
 
Registered: Oct 2014
Posts: 915

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
This user ignores you.
 
Old 02-28-2018, 10:59 AM   #14
suryabear
LQ Newbie
 
Registered: Feb 2018
Posts: 6

Original Poster
Rep: Reputation: 0
i'dont understand what are you talking about?
 
Old 02-28-2018, 11:37 AM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by suryabear View Post
what is the meaning of getchar and its uses?
you might be surprised at what you get when you search the name of what you're wondering about.
https://www.tutorialspoint.com/c_sta...on_getchar.htm

I suggest signing up for a night course at your local Community College.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 5 ways to succeed at learning a programming language LXer Syndicated Linux News 0 04-23-2017 04:01 PM
learning foreign language markomarko Linux - Software 2 03-02-2011 02:26 PM
intersted in learning Python as a first programming language mannclay Programming 34 11-09-2008 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration