Member Avatar
Reusable Code Snippet password code

well am using the turbo c++ compiler , so you must convert it to cpp ( c++) before u can use it ok. here we go. steps: (1)press the windows shortcut key and hold R or go click on RUN (2) type in the following( C:/TC/BIN/TC.EXE) hit ENTER, wait for 5 seconds and then press f3 on the keboard. (2) rename it to ur choice, but the extension should be in cpp eg.. (3) test.cpp or code.cpp. it should not be in tect.c or code.c (4) there should be a #include<conio.h> header after #include<iostream.h> WHAT THE CODE DOES: this code …

Member Avatar
-3
8
Member Avatar
Reusable Code Snippet Calendar Creating Program

The program generates a calendar for one year. The program only asks for the day on which 1st January falls from user. Notes : [LIST] [*]Compiler - Turbo C++ 4.5 [*]Leap year has been considered [*]The only reason for including [icode]conio.h[/icode] is because of [icode]clrscr()[/icode]. If somebody can give me a one-line alternative, I would be happy to modify the code [*]The user can either view a particular month or the whole year [*]Error handling has not been implemented (feeling lazy :yawn:) [/LIST] Please don't flame me for using global variables. I don't know about the problems of global variables …

Member Avatar
-3
8

The End.