473,239 Members | 1,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,239 software developers and data experts.

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 1345

<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
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
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
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
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
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
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
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
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
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;
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...

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.