Click here to Skip to main content
16,023,124 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi, please post anything guys, if you know...
Posted
Updated 21-Feb-10 21:29pm
v4

Buy a good book on C, and read through it. Solve the exercises and try to write different programs.

People on some internet forum cannot teach you an entire programming language - they may help you with solving specific queries though.
 
Share this answer
 
C#
int main()
{
   return 0;
}



Why are you learning C ? No-one really uses it, and the way it works is at odds with any modern language, like C++ or C#.
 
Share this answer
 
*grin* of course it's still used, but not widely, and not by people with the sort of cavalier approach to learning exhibited here. My point was more that the paradigms of C have created more than one terrible attempt at C++ programming, and I'd advocate learning C++ first, THEN going back and finding out which bits are C( and should therefore almost always be avoided in C++ ).

[added re: learning C before C++]
every person I've known who was taught C++ by someone who taught them C first, or who knew C too, had no idea how to use C++ properly, instead using C file handles, C string handling, etc. Learning C teaches you a lot of things that work in C++, but that you should never do. It teaches people how to use C++ badly. I'm sure some people rise above that, most I've met, did not.
 
Share this answer
 
v2
If you want to learn C, or any programming language for that matter, I'd just search up on Google something like "How to Get Started with C Programming" and I'm sure there'd be thousands of posts from people who've been through this beginning state and want to help make it much, much easier. Anyways, one of the first links I got was http://www.howstuffworks.com/c.htm[^] which is pretty reliable, but always watch out for the difference between the extremely alike names out there such as C, C++, and C# for programming languages that can really mess you up sometimes unless you've learned them all already.
 
Share this answer
 
As you may find in EVERY C tutorial, a starting point is the "Hail to the world" application:

C
#include <stdio.h>
int main()
{
  printf("Hello World!\n");
  return 0;
}


As about criticism towards your aim of learning C , I don't agree: learning C is a big deal even if 'noone uses it' (that is, by the way, plainly wrong).
Anyway, if you are looking from a job, learning C# maybe more rewarding.

I strongly encourage you to by a book.
Good Luck!

[added, to Christian]
While I agree with the 'cavalier approach' argument I still believe C propaedeutic to C++.
[/added]
:)
 
Share this answer
 
v3
"I think C is the basic language to develop C # applications"

I respect you taking the time to try to help people, but this is so utterly wrong, that I don't see how you could remotely think that. If you're going to say something and you're either not sure, or you know you're not very experienced to say it, you should do a google search first to check if what you're about to say is true.
 
Share this answer
 
XML
#include <stdio.h>
#include <connio.h>
#include <match.h>


int add(int a, int b)
{
  return (a+b);
}
void main()
{
    int c;
    c = add(4 +5);
    printf ("Add",%d,c);
}



I think C is the basic language to develop C # applications
 
Share this answer
 
v10
Comments
Sergey Alexandrovich Kryukov 6-Jul-14 13:12pm    
Gibberish. Please see Solution 7. Please, do yourself a favor. Stop posting "answers" in this forum. They are either abusive, or not answers, or show your ignorance. You can even be reported and loose your CodeProject account for such posts. When you learn something you can teach others, than your answers can become useful.

Don't do evil.

—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900