| Sajha.com Archives | ![]() |
| Username | Post |
| SMSainju | Posted
on 20-Feb-02 10:59 PM
Hi Everyone, I teach intro/Advanced C and UNIX Security at a local college here in Northern Virginia. I was talking to San about making my materials available online right here at sajha (programming C/C++). I was thinkging about doing a topic per two weeks and at the end have a live discussion (about an hour) . What is your take on this? Let me know .... SMSainju |
| 13-thum | Posted
on 21-Feb-02 01:43 AM
Its really a great idea. It will be very helpful to the people like us who are learning C++. I hope this idea will be executed soon. Another great reason for visiting this site. Thanks a lot in advance SaijuJi. 13-thum |
| HahooGuru | Posted
on 21-Feb-02 05:06 AM
SMS, Your offer is great, and before I promise to be part of your teaching, I would like to see your teaching schedule, i.e. Table of Contents of your lessons to us. I am more interested in Java 2, compared to C++ because of portability. I can design my programs and let others use my program directly from my own website. Last year, when I prepared a Java applet for my students, that reduced their time greatly, and I am interested in offering this time thesis topic on Java Applet application for my graduating students (UG/G). I wish that can be hotCake topics in my field. I want to master Java 2 (esp. applet). If you are going to offer things in Java please let me join. Regards. hGxP |
| sunakhari | Posted
on 21-Feb-02 11:54 AM
hey I'm on. Its really cool you want to offer these online for free. Way to go! |
| Gandhi | Posted
on 21-Feb-02 12:51 PM
Sainjuji: Is this a basic course or intermediate or advanced? Will it be suitable for those with no previous programming knowledge? Can you please give some more information about schedule and basic requirements? It is great that you are providing this free. However, it won't be unfair to make this a service accessible by login. I am ready to pay a nomial amount that could help towards the site maintainance cost. This maintainance cost has been an issue for the past two months. I hope other students will also be ready to pay a little money in return to the lession they get. This sounds better than donations and voluntary contribution. This way both parties will gain. :) |
| SMSainju | Posted
on 21-Feb-02 04:55 PM
We will start from scratch and then slowly move on to more advanced level.. But we will cover a chapter at a time (two weeks - three weeks) and then at the end we will have live conversation maybe on sajha chat room or something. Questions will be answered and will be posted later on. San, so how should we go about this?? Here are the Required materials: Prerequisit: Knowledge of some OS (operating system), Editor (emacs, vi ... or an editor of your choice) This is what we will use. Compiler: gcc (cc) for UNIX, Borland, MS Visual C++, Turbo C++ for die-hard windows fan. Book: Any you like Reference: The C programming Language by Brian Kernighan and Dennis M. Ritchie. (This is the book, no hackers should be without) SMSainju |
| Biswo | Posted
on 21-Feb-02 05:54 PM
I think it is one of the most significant ideas ever floated in Sajha.com, it's gonna be very useful for people. Brian Kernighan/Denis Ritchie book, huh. That's the only original book I see around:-) |
| Santosh Neupane | Posted
on 21-Feb-02 06:36 PM
Wow! Can't wait for it. |
| Puru Subedi | Posted
on 22-Feb-02 08:29 AM
I suggested San to think about conducting scheduled chat with Nepali professionals in various fields couple of days ago..see the comment section Glad to see Shambhu ji coming forward on his own..even offering tutorial sessions. This will set an example of giving something back to the community.. Would like to see professionals on other areas to do the same here in Sajha.com. I think, we, Sajha users could learn a great deal even just chatting with them..if nothing else it will help build network of similar minded people and open other opportunities Shambhu ji your decision to give your valuable time to Sajha.com community is commendable...lets get this going.. -PS |
| NK | Posted
on 22-Feb-02 08:43 AM
I have no knowledge of programming but would like to try. Great idea SMsainju. Hey maybe you can ask for a nominal fee and contribute some portion to Sajha.com. That way we can help this site to become a real profit making Nepali site. If this sounds totally out of whack then forget it. |
| su.............gar | Posted
on 22-Feb-02 10:00 AM
what you will be teaching in unix security? |
| SMSainju | Posted
on 22-Feb-02 07:53 PM
We will start with C. Here are the possible topics for the intro level (from the beginning) 1. History of C Language 2. Introduction to programming - definition of compiler - object files, executable file - editor 3. ABC of C - Hello world programming (the most famous programming of all) - basic libraries and functions - newline, printf, escape sequences - compiling and running a program - scanf - comments - Quiz and problems to solve 4. Variables, scope of variables - data types - size of datatypes - literal/symbolic constants - Quiz and problems to solve 5. Statements, Expressions and Operators - If, If else statement - compound statements - simple/complex expressions - operators - assignment operator - mathematical operator - precedence, - relational operators - TRUTH Table - Logical Operators - switch case - Quiz and problems to solve 6. Functions - How to write a function - Function and structured programming - Prototypes - Calling functions - returning a data type using function - passing arguments in a function - Quiz and problems to solve 7. Loops - while - for - do while - infinite loop - break - continue - Quiz, Problems to solve 8. Arrays - single dimensional array - multi-dimensional array - initializing - maximum array size - Quiz and Problems to solve 9. Pointers and String and structure (UNION) - pointer - pointer to pointer - dynamic memory allocation (malloc) - string -strcat,strlen,strcmp,strcpy,strncpy,strncat,strncmp... -atoi,atol,atof - structure,union - Quiz and Problems to solve 10. File systems - opening, reading, wrting to file - buffer, system programming - erase, rename, copying file - Quiz and Problems to solve 11. Preprocessor - Multiple source file - creating header file - module ocmponenets - #define, #include, #if, #else, #endif, #undefine, macros - Quiz and Problems to solve ADVANCED C 1. Pointers and String and structure (Review) - Linked List - Single/double, circular - Quiz and Problems to solve 2. Stack, Recursion - Pop, push - Linked Stack - Factorial, Divide and conquer - Backtracking - Quiz and Problems to solve 3. Queues - Airport Simulation - Linked Queue - Quiz and Problems to solve 4. Search/sort/Hash - sequencial/binary search - Bubble, Quick, Merge, Heap, Shell, Selection, Insertion - Hash functions - collision - Quiz and Problems to solve 5. Binary Trees/Graph - Balanced Tree - Depth-First Algorithm - Breadth-First Algorithm -Quiz and Problems 6. C/I386 (Intel Assembler) - writing device drivers - Registers - 8-Bit (AL,AH,BL,BH,CL,CH,DL,DH) - 16-Bit (AX,BX,CX,DX,SI,DI,BP,SP) - 32 Bit (EAX,EBX,ECX,EDX,ESI,EDI,EBP,ESP) - systems calls 7. C++ Syntax - objects, class, polymorphism, inheritance, template SMSainju |
| Raja | Posted
on 22-Feb-02 08:58 PM
Count me in too. Sainju ji, you are just great. Didn't hear recently you were some executive now. Any way you seem to be the most generous, most knowledgeable IT guy from Nepal. Thanks a lot in advance for your help! Let me know how I can get into this class Raja |
| HahooGuru | Posted
on 22-Feb-02 09:15 PM
SMS, Well, last night I visited a book store and purchased C programming H & C 2nd edition. I did not know the 2nd edition, because quite a long time back I purchased 1st edition (from Education Enterprise). Let me try to sail with you. I have the famous J.strap... 's C++ book too. I needed Guruji to proceed reading, excercising and mastering these languages. Well, I know Fortran 77 of professional ./ vetran level knowledge (no kidding). hGxP |
| HahooGuru | Posted
on 22-Feb-02 09:18 PM
SMS, if you are going to ask us to sail your boat (C/C++ course), please, make sure that you will not leave us at the middle of Wave and make us drowned. Gahirai ma dubdai nadub ani dubi sakeka chhou bhane Moti natipi napharka. hGxP |
| SMSainju | Posted
on 22-Feb-02 09:20 PM
It really is free. no need to pay. if you want to pay, please send a check to San for Sajha.com. Your generocity will be highly appreciated. Mins, Can you make an html file (Table of content) and pass it to San? Thanks. SMSainju PS: when i said hackers, it has two meanings 1. uses computer knowledge to gain access illegally for not good purpose. 2. computer expert, a buff I meant the latter. (i got some emails on this). San is in Nepal. So just have to wait for sometime..... |
| jiwan | Posted
on 23-Feb-02 12:34 AM
Sainju Jee, It would be a great opportunity for all of us to learn from you on what you in C/C++ programming. What a great way to spread your knowledge within our own Nepali Community members plus the world as well!I think we all should do the same to share our experience, skills, and knowledge within our community. This would certainly benefit to all of us in our career and any other future endeavor. Thanks for coming forward with this great idea. jiwan |
| SMSainju | Posted
on 23-Feb-02 09:38 AM
Before beginning your journey to the land of programming, here is what you should have. Compiler.. 1. gcc (unix/Linux/Solaris) 2. Borland C++ (C included) 3. MS Visual C++ (C included) 4. Turbo C++ (now part of Borland I heard) 5. Semantic C++ 6. or any open source for windows.. Get one of these. If you want to use gcc, make sure how to use an editor like emacs or vi. if you want to use any other product other than gcc, then they have their built in editor I think. Basic emacs commands:
this is a good start if you want to use emacs. there are other commands that you can find in UNIX books.... -nw switch in emacs disables GUI. you can use GUI emacs. if you use that one, then u can use mouse and the menus for commands.... Emacs commands Here is the VI
for more, please consult your vi book. Vi commands For Windows ------------ Browse the menu. You will find something that will allow you to open a new file I think you have to open a project. For this class, we don't use any special MS or Borland libraries (MFC, OWL). It is an ANSI Based C/C++ prgoramming. Once you master this, you can always go to those if you want to learn more. for GTK, KDE provides a new compiler. somewhat similar to Visual C++. When you open a project, just use ansi C option. again, no (MFC, OWL). make sure to have .c extension (you may need to set this in your environment). Learn how to use debugger.. These are the terms you need to understand while debugging.. 1. break point 2. watch 3. print 4. expression evaluation 5. step over 6. continue These are the basic one.. Borland C++ and Visual C++ comes with debugger. for gcc, use gdb as a debugging tool. we will talk about this.... (ABC of C) SMSainju |
| C/C++ Lover | Posted
on 25-Feb-02 09:47 AM
Dear SmSainju Dai; We did get your syllable and I am loaded with C programming book . I am just wondering how soon are we going to start this programming course. Thanks for your help. C/C++ Lover |
| SORRY PROFF. | Posted
on 25-Feb-02 11:22 AM
C/C++ ARE OUT OF SIGHT THESE DAYS. WE WILL REALLY APPRECIATE IF U GIVE MORE EMPHASIS TOWARDS THE JAVA. THAKS PROGRAMMER |
| aRt | Posted
on 26-Feb-02 03:23 PM
waiting on any new updates on this topic... |
| SMSainju | Posted
on 02-Mar-02 01:30 PM
C Out of sight? FYI, java was written in C. If you know how to drive a volks wagon, you know how to drive a BMW. Programming is also the same thing. if you know how to program in one language, you know how to program in any language. It takes only some understanding of how the grammer works in the other language... I am waiting for the admin to post the materials. I guess we just have to wait for him to come back to the US from Nepal. SMSainju |
| akriti | Posted
on 02-Mar-02 02:10 PM
Sainju, Did you get my e-mail(sent out a week ago)? I already have the table of contents ready. |
| kancho | Posted
on 02-Mar-02 03:07 PM
If C, C++ were out of sight, maybe Sorry has vision problems. :) |
| kancho | Posted
on 02-Mar-02 03:07 PM
If C, C++ were out of sight, maybe Sorry has vision problems. :) |
| HahooGuru | Posted
on 03-Mar-02 04:35 AM
C++ is like driving Manual car (Manual steering, manual break, manual gear), and Java is like Automatic Car (Power Steering, Power Break, Auto Gear). Which one do you like to choose. These languages are really difficult to understand if you worked in some high level programming languages like FORTRAN, BASIC ... What I found missing in FORTRAN was 1. Case sensitivity (till FORTRAN 77). 2. Play with character. 3. Though subroutine in Fortran is quite similar to Objects in OOPS, but, its difficult to switch from FORTRAN to C++ or JAVA. 4. Graphics in FORTRAN is too dumb. 5. If you don't know computer graphics, you should at least have some basic knowledge on computer graphics. My first UG textbook on computer graphics was Seder.... 's Computer Graphics. 6. Mathematics: logics. If then elseif and else ... For while ... Do Loops As Strout... who wrote first C++ book says, C++ without Objects is C language. "OBJECT" is the center of C++ and Java. Without getting real meaning of "OBJECT" OOPS is really hard to understand, I mean, if you understand what OBJECT means, then, you can write C++ or JAva in a week. Spend more time on What is "OBJECT"? I really did not understand what is "OBJECT" initially, and when I got it, then, C++ or Java are just matter of practice, and you can master in a few weeks (after you understand what OBJECT in OOPS). Java seems to be very useful in websites, but, C++ in other Window based Application Programming. This is what was told to me by someone who graduated from Computer Sc. dept. and he spent last 6 months on Java Programming and finally, he was forced to learn C++, too, to be called a a real programmer. |