Recommend Programing

General Discussions
User avatar
Nipuna
Moderator
Moderator
Posts: 2729
Joined: Mon Jan 04, 2010 8:02 pm
Location: Deraniyagala,SRI LANKA

Re: Recommend Programing

Post by Nipuna » Wed Aug 18, 2010 1:57 pm

Bertus wrote:Adding a system("PAUSE") will do the trick. So your code will be:

Code: Select all

int main ()
{
cout <<"This is my first program. Say hello!";
system("PAUSE");
return 0;
}
If I were you I wouldn't worry too much about the advanced stuff like the command line parameters. I've been practicing c++ for a couple of months and I also don't know what it all means ;)
So just focus on the basics first, data types, control structures, classes, etc.

Ok. Thanks
User avatar
Nipuna
Moderator
Moderator
Posts: 2729
Joined: Mon Jan 04, 2010 8:02 pm
Location: Deraniyagala,SRI LANKA

Re: Recommend Programing

Post by Nipuna » Sat Aug 21, 2010 8:15 pm

Neo wrote:Nipuna, do not concentrate on these now. I'll guarantee that you can learn everything as you want after your exams. We all will try our best to get you started. But you will not get a chance for your exams again. So give your 100% for that.

Every computer language is capable of doing almost everything. So the most important thing is to learn programming techniques like data structures, algorithms, coding concepts, etc... All these things are easy to learn if you put up a proper plan.

C++ addresses more modern world requirements like Object Oriented Programming than C. Though the syntax and semantics are almost same, these minor differences has made C++ to be the future of C. So you better start with C++.
C# would be another good language to start with. It is getting more popular over other languages in .Net family since it is very close to C/C++.

Anyway, we can discuss all these things after your exams in great detail. So for now, please concentrate your studies. Good luck bro !!!
ok, Neo, Now give me a Good Start as you said.

Thanks
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: Recommend Programing

Post by Neo » Sun Aug 22, 2010 11:45 am

Great. First you need to start a programming course where you need to learn programming in a systematic way. Some from C++ and some from Java is not the right way to become a professional programmer.

So the first thing is to find a fundamental/beginners course in programming. I heard IDM has one called DCS but I can't guarantee of the quality of it. However it would probably give you a better start.

NIBM Diploma and higher diploma is very good. You can even continue to their degree(1 year) after the higher diploma as well. I know few fantastic programmers who did that.

BIT is another good path to learn as you already discussed this with me.

The bad thing I know in you is that you are trying to do several things at the same time which will not work for programming. You need to learn basic building blocks in programming like control blocks, data structures and algorithms, etc... and then move on to learn one language from top to bottom. It is a known fact that if you learn one language completely, it is a piece of cake to switch to another language.

You will never be able to learn programming through a forum. However you can ask questions you get when you are doing a programming course.

Good luck!
User avatar
Nipuna
Moderator
Moderator
Posts: 2729
Joined: Mon Jan 04, 2010 8:02 pm
Location: Deraniyagala,SRI LANKA

Re: Recommend Programing

Post by Nipuna » Sun Aug 22, 2010 1:03 pm

I will do BIT after my A/L results came.

Please Tell me a ebook or anything that i can get a good start. Because I want to Learn by my self (Self studying) I don't like to do a course. I don't do any Programing course until i do BIT.

Can i use this C/C++ Tutorial for beginners you gave me to learn from basic to advance?

I've Learned the first structure of C++ of this tutorial. That was the code i posted before.

Thanks
User avatar
Nipuna
Moderator
Moderator
Posts: 2729
Joined: Mon Jan 04, 2010 8:02 pm
Location: Deraniyagala,SRI LANKA

Re: Recommend Programing

Post by Nipuna » Mon Aug 23, 2010 8:46 pm

Nipuna wrote:I will do BIT after my A/L results came.

Please Tell me a ebook or anything that i can get a good start. Because I want to Learn by my self (Self studying) I don't like to do a course. I don't do any Programing course until i do BIT.

Can i use this C/C++ Tutorial for beginners you gave me to learn from basic to advance?

I've Learned the first structure of C++ of this tutorial. That was the code i posted before.

Thanks
Please Answer Me
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: Recommend Programing

Post by Neo » Mon Aug 23, 2010 11:12 pm

Software development is a process that consists of several phases. Starting from Software Development Life Cycle, there are several design methodologies to develop the system after analysing the requirements through feasibility study.

Coding is mostly the final bit of this process and it is usually considered a piece of cake due to present circumstances supported by IDEs, Tools, Ready made classes/ActiveX, etc.... In simple terms, if you start with coding, you miss the first part.

So I still think you need to start with systematic learning that covers at least the most fundamental concepts in development process and methodologies.

Anyway, since you seems so much interested in learning coding, the tutorial I mentioned earlier is good. However it is even more effective to learn a language like Java or C# which covers most of the modern day concepts in programming.

The other point is, I'm about 12 years elder than you. My ideas might not be suitable for the current IT trend in Sri Lanka. You will get some good idea about the current trend in the field of IT in Sri Lanka from Herath1. He is a student of a local university who has a good touch in IT according to my knowledge. I'll ask him to express his point of view here.
User avatar
Nipuna
Moderator
Moderator
Posts: 2729
Joined: Mon Jan 04, 2010 8:02 pm
Location: Deraniyagala,SRI LANKA

Re: Recommend Programing

Post by Nipuna » Tue Aug 24, 2010 11:30 am

Thanks Neo,

Can you give me a Ebook or a web site that i can learn first concepts?

Thanks
User avatar
Herath
Major
Major
Posts: 417
Joined: Thu Aug 05, 2010 7:09 pm

Re: Recommend Programing

Post by Herath » Tue Aug 24, 2010 12:42 pm

Hi everyone!. Thanks for the invite.

As for the current software development methodologies, coding is just a very less expensive part. What costs you the most is the analysis part and the design.

Feasibility study, analysis, design, coding , testing , deploying and maintaining are the basic parts of the software design life cycle(SDLC) . You need to have at least a little knowledge in analysis and design if you want to be a master in coding. Actually, a little knowledge would never be enough to be a master, you will need good understanding of them.

Since Nipuna have just completed his A/Ls, there is no point for in running for every local programming course available. I haven't seen anything good. But you can take Microsoft exams or Java Path. For that you will have to learn about the SDLC before jumping in to coding.

The best thing I could recommend you as a start would be to learn C++ procedural programming. I started with C and C++ after I finished my A/L, I did not know anything about software design or Object Orientation. I just wrote little programs for fun and some programs to make my tasks easy (little tools for me) . I would suggest you to try something like that first. And do not worry about how windows is made, how linux is made etc. These software are giant and was not developed by a single person. A single person can only do a little in such huge software. So focus on little things and try to master them.

Today's software are very complicated and they follow the Object Oriented design methods. If you like to learn software design, you will have to read about software engineering. And it is all theory, like UML. UML stands for Unified Modeling Language. And these theories are more practical.. UML is just a language( no source code though :), just diagrams ) for modeling software.

All the above thing should be grasped step by step. So my recommendation is that you try to learn C++ in procedural way. And try to write some usable application with it in procedural way. Then you can go to Object Orientation. Otherwise you might not see the power of Object Oriented Programming Vs the traditional procedural programming. :)

http://www.cplusplus.com/doc/tutorial/
I used to refer cplusplus.com when I started following my it degree, back in 2007
User avatar
Nipuna
Moderator
Moderator
Posts: 2729
Joined: Mon Jan 04, 2010 8:02 pm
Location: Deraniyagala,SRI LANKA

Re: Recommend Programing

Post by Nipuna » Tue Aug 24, 2010 8:22 pm

Herath1 wrote:Hi everyone!. Thanks for the invite.

As for the current software development methodologies, coding is just a very less expensive part. What costs you the most is the analysis part and the design.

Feasibility study, analysis, design, coding , testing , deploying and maintaining are the basic parts of the software design life cycle(SDLC) . You need to have at least a little knowledge in analysis and design if you want to be a master in coding. Actually, a little knowledge would never be enough to be a master, you will need good understanding of them.

Since Nipuna have just completed his A/Ls, there is no point for in running for every local programming course available. I haven't seen anything good. But you can take Microsoft exams or Java Path. For that you will have to learn about the SDLC before jumping in to coding.

The best thing I could recommend you as a start would be to learn C++ procedural programming. I started with C and C++ after I finished my A/L, I did not know anything about software design or Object Orientation. I just wrote little programs for fun and some programs to make my tasks easy (little tools for me) . I would suggest you to try something like that first. And do not worry about how windows is made, how linux is made etc. These software are giant and was not developed by a single person. A single person can only do a little in such huge software. So focus on little things and try to master them.

Today's software are very complicated and they follow the Object Oriented design methods. If you like to learn software design, you will have to read about software engineering. And it is all theory, like UML. UML stands for Unified Modeling Language. And these theories are more practical.. UML is just a language( no source code though :), just diagrams ) for modeling software.

All the above thing should be grasped step by step. So my recommendation is that you try to learn C++ in procedural way. And try to write some usable application with it in procedural way. Then you can go to Object Orientation. Otherwise you might not see the power of Object Oriented Programming Vs the traditional procedural programming. :)

http://www.cplusplus.com/doc/tutorial/
I used to refer cplusplus.com when I started following my it degree, back in 2007
Thanks Friend I was so scared :shock: because I don't know any thing of software development life circle, and i searched Google and i couldn't find many information.

So your advice is a Very Big advise for me. Now i am not afraid. I can Learn C++ without any headache. Thanks :)

And Neo thanks for telling me about how big the software Development is. Thanks

You Guys are Doing a Huge help for me.
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: Recommend Programing

Post by Neo » Wed Aug 25, 2010 1:04 pm

It is not that we tried to show you a big picture. We just tried to show you the importance of systematic learning in any engineering discipline. Read Five Steps of Programming. Notice that coding is just a single (but the most important) step.

Start with coding in software engineering is like you trying to learn 3 before 0, 1 and 2. However, there is a chance to reveal 0, 1 and 2 with a complete realisation of 3. So don't be scared or get too much pressured on it. I know how much you love the computing field. This passion will takes you to the success one day.

Since you like a jump start on C++, I have taken a list of contents from a well knows book called C++ Programming In Easy Steps that covers the things you must learn first. You can only come to GUI after learning all these.
  1. Introducing C++
    1. The C++ programming language
    2. C++ compilers
    3. A first C++ program
    4. Compiling & running programs
    5. Adding comments
  2. Storing data
    1. Creating variables
    2. Data types
    3. Displaying variable values
    4. Inputting variable values
    5. Data type qualifiers
    6. Arrays
    7. Vectors
    8. Constants
    9. Converting data types
  3. Performing operations
    1. Arithmetical operators
    2. Logical operators
    3. Assignment operators
    4. Comparison operators
    5. Conditional operator
    6. Sizeof operator
    7. Operator precedence
  4. Making statements
    1. Conditional if statement
    2. If -else statement block
    3. The switch statement
    4. For loops
    5. While loops
    6. The do-while loop
    7. Break & continue statements
    8. The infamous goto statement
  5. Working with strings
    1. A string variable
    2. Getting string input
    3. Finding the length of a string
    4. Testing for empty strings
    5. String concatenation
    6. Comparing strings
    7. Copying strings
    8. Finding substrings
    9. Inserting into a string
    10. Erasing & replacing substrings
    11. Getting characters from a string
  6. Reading & writing files
    1. Writing a file
    2. Appending to a file
    3. Reading characters
    4. Reading lines
    5. Formatting with getline
    6. Input/output manipulators
    7. Using input/output manipulators
  7. Using functions
    1. Function basics
    2. Function arguments
    3. Passing arguments by value
    4. Setting default argument values
    5. Calling other functions
    6. Recursive functions
    7. Function overloading
    8. Inline functions
  8. Creating classes and objects
    1. What is a class ?
    2. Defining a class
    3. Creating an object
    4. Defining object methods
    5. Storing data privately
    6. Constructors and destructors
    7. Constant object methods
    8. Isolating class declarations
    9. Using classes in other classes
  9. Pointing to data
    1. The addressof operator
    2. L-values & R-values
    3. Introducing pointers
    4. Getting values with pointers
    5. Pointer arithmetic
    6. Pointers and arrays
    7. Changing variable values
    8. Passing pointers to functions
    9. Arrays of pointers
    10. Pointing to functions
  10. Referencing data
    1. What is a reference ?
    2. Referencing variables
    3. Referencing objects
    4. Passing arguments by reference
    5. To reference or to point ?
  11. Inheriting features
    1. What is inheritance ?
    2. Protecting class data
    3. Creating a derived class
    4. Overloading class constructors
    5. Overriding base class methods
    6. Calling overridden base methods
  12. Harnessing polymorphism
    1. Virtual base methods
    2. Multiple virtual method calls
    3. Capability classes
    4. Abstract data types
    5. Complex hierarchies
    6. Levels of abstraction
  13. Processing macros
    1. The C++ preprocessor
    2. Defining substitutes
    3. Conditional definitions
    4. Providing alternatives
    5. Inclusion guards
    6. Macro functions
    7. String manipulation
    8. Assert debugging
    9. Debugging levels
  14. Handling exceptions
    1. Errors & exceptions
    2. Exception objects
    3. Standard exceptions
    4. Using standard exceptions
    5. Styling to prevent errors
Post Reply

Return to “General Discussions”