The 5 Most Common Problems New Programmers Face?
i love you.
Sunny is right.
First of all, syntax error, data type mismatch, Common C Programming Errors
Table of Contents
2. Beginner Errors
2.1 Forgetting to put a break in a switch statement
2.2 Using = instead of ==
2.3 scanf() errors
2.3.1 Forgetting to put an ampersand (&) on arguments
2.3.2 Using the wrong format for operand
2.4 Size of arrays
2.5 Integer division
2.6 Loop errors
2.7 Not using prototypes
2.8 Not initializing pointers
3. String Errors
3.1 Confusing character and string constants
3.2 Comparing strings with ==
3.3 Not null terminating strings
3.4 Not leaving room for the null terminator
4. Input/Output Errors
4.1 Using fgetc(), etc. incorrectly
4.2 Using feof() incorrectly
4.3 Leaving characters in the input buffer
4.4 Using the gets() functio
Firstly choosing an IDE suiting your requirement and OS
Secondly finding a good cookbook for the programming language..always remember to buy the book of that writer who created the language..don't follow the stupid desi writers..
Thirdly finding out the syntax errors and warnings are easy but logical errors and the pain in the ass THE LINKER ERRORS create problems
Fourthly pointers are never difficult..I find them very easy...so when you are going to learn pointers keep your mind free from the thought that they are difficult and learn from a person who genuinely knows it..
Finally beware from the undefined behaviours. For example
int i = 10;
printf("%d %d %d", ++i, i++, i)
This system will print different value for different compilers..
I recommend you not to start learning programming from c/c++...start it from python..
Semantic error (logical)
Make the answer short and easy to read
First think it is very eazy and b cool