General pushkar on 08 Aug 2006 06:28 pm
Common Programming Errors
Common errors that occurred at starting time, run time. Most Beginners users have a difficulties with common errors. So some of them are listed below. Those are covered from Programing Language like C, C++, PHP, ASP, ASP.net etc.
1.Providing Spaces between the operators like = =,< =,> = and ! =.
2.Use operators = instead of ==.
3.Take identifier as KeyWord.
4.Starting and Ending brace doesnot match correctly.
5.Uninitialised Variables.
6.Placing commas instead of semicolons.
7.Placing semicolon immediately after for OR while condition.
8.Placing a semicolon immediately after a function header.
9.Define function inside another function.
10.Filename is not correct while reference from another file OR Including (In both Case and Spell)
11.Expected Error Like , ;
12.Use the function that is given in Higher Version Or in other Library.
13.Infinite loop condition.
14.Use of function without declaration. A typical error in C++.
15.Variable Declaration error like variable that use in whole coding should be declare as Global Variable.
16.Object Reference cannot be set as an instance of object. Very common Error in Dot Net. This can be solved by declaring object as
bq. Dim ds as dataset
bq. ds = New Dataset(”temp”)
17.Use same object twice for different purpose. Like in asp/asp.net Recordset rs.