473,508 Members | 3,343 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

i am student of MCA. i want to know what ....

i am student of MCA. i want to know what things are needed to be a
efficient programmer in c and c++.

Aug 28 '07 #1
2 1366

<ha**************@gmail.comwrote in message
news:11**********************@x40g2000prg.googlegr oups.com...
>i am student of MCA. i want to know what things are needed to be a
efficient programmer in c and c++.
The C language doesn't take long to learn. However it takes a long time to
be really effective. The only answer is to write lots of code.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm

Aug 28 '07 #2
>>>>"MMcL" == Malcolm McLean <re*******@btinternet.comwrites:

MMcL<ha**************@gmail.comwrote in message
MMcLnews:11**********************@x40g2000prg.goog legroups.com...
>i am student of MCA. i want to know what things are needed to
be a efficient programmer in c and c++.
MMcLThe C language doesn't take long to learn. However it takes
MMcLa long time to be really effective. The only answer is to
MMcLwrite lots of code.

There's more to the answer than that. If you write code uncritically,
you don't learn C very well, and you wind up with a great steaming
pile of bad code. Examples abound, and if you pay attention for a
week in this group you'll find several.

Read other people's code - but don't assume that just because it's in
production, or because it's published, or because it's part of a
high-profile open source project that it's good. Compile and run your
code in as many different environments as you can, so you can avoid
the "all the world's a Vax^W^Wan x86" misconception. Use the best
automated code-checking tools (such as lint and gcc -Wall) that you
can find. Read through the C standard that you're adhering to; you
probably won't understand it at first, but the more C you learn, the
more you'll understand it. Have more experienced programmers review
your code and comment on it, and pay attention to and learn from their
comments. Remember that if a dozen experts disagree with you, there's
a damn good chance that you're wrong and they're right; to be Galileo,
it is not sufficient that the establishment disagree with you, but for
the establishment to be wrong.

And programming is a separate skill from knowing the syntax and
semantics of a language. Far too many people think that they are
programmers when they have a loose grip on the syntax and no grip at
all on the semantics of a single programming language. The more you
equate "learning C" with "learning to program" the worse you will end
up doing at both.

Further good advice: http://norvig.com/21-days.html

Charlton

--
Charlton Wilbur
cw*****@chromatico.net
Aug 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1867
by: Mojo | last post by:
Ok, I don't want to much help but I need a push. I am supposed to write a program with 3 classes: 1. Controlling class 2. Student class 3. Grades class Controlling class instantiates a student...
1
6379
by: Louis | last post by:
Hi, I am a first time poster here. I have been given an assignment to do from college and it is ot create a student gradebook. I have planned all the tables etc. to what I believe to be correct. I...
15
3383
by: Sean Botha | last post by:
Hi I have just started vb.net (june 2003) and me and my fellow students are playing some tricks on each other(not harmfull) I have already managed to shut down the pc without saving anything...
6
1515
by: Chris | last post by:
Could someone point me to an example or at least outline of a solution to the following problem: I want to be able to compile the body of a method written in C++, submitted by a possibly...
5
3592
by: Bill | last post by:
Can I do this in one SQL statement? If so, please tell me how. I have wasted a ton of time on this but there has to be an easy way to do it. I should have done it with more than one statement...
2
9676
by: sallyk07 | last post by:
Modify the Student class so that each student object should also contain the scores for three tests. Provide a constructor that sets all instance values based on parameter values. Overload the...
15
1850
by: MissHex | last post by:
Hello everyone, am building a housing system and i want to be able to seach the data base for empty rooms then assign no more than 2 students in each room i have a table Student that contains...
31
16314
by: Warly girl | last post by:
Hi i have a qustion plz help me to understand and solve it Phase One Problem description You are required to implement a student registration system. The system keeps information about the...
2
2420
by: nirav11 | last post by:
# include <iostream> # include <fstream> # include <iomanip> # include <cstdlib> // needed for exit () using namespace std; int main() { ifstream inFile; ofstream outFile;
0
7129
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7333
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5637
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
428
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.