Wednesday, February 24, 2010

EOF plays a major role sometimes..!

End of File Function


So, just how much data is in that file?  The exact contents of a file may not be precisely  known.  Usually the general format style of the file and the type of data contained within the file are known.  The amount of data stored in the file, however, is often unknown.  So, do we spend our time counting data in a text file by hand, or do we let the computer deal with the amount of data?  Of course, we let the computer do the counting.


  
C++ provides a special function, eof( ), that returns nonzero (meaning TRUE) when there are no more data to be read from an input file stream, and zero (meaning FALSE) otherwise.


Rules for using end-of-file (eof( )):
1.  Always test for the end-of-file condition before processing data read from an input file stream.
     a.  use a priming input statement before starting the loop
     b.  repeat the input statement at the bottom of the loop body
2.  Use a
while loop for getting data from an input file stream.  A for loop is desirable only when you know the exact number of data items in the file, which we do not know.

Dont miss calloc function..!


 

 

 

calloc

calloc is similar to malloc, but the main difference is that the values stored in the allocated memory space is zero by default. With malloc, the allocated memory could have any value.
calloc requires two arguments. The first is the number of variables you'd like to allocate memory for. The second is the size of each variable.
Like malloc, calloc will return a void pointer if the memory allocation was successful, else it'll return a NULL pointer.
This example shows you how to call calloc and also how to reference the allocated memory using an array index. The initial value of the allocated memory is printed out in the for loop.
#include 
#include  
/* required for the malloc, calloc and free functions */

int main() {
  float *calloc1, *calloc2, *malloc1, *malloc2;
  int i;

  calloc1 = calloc(3, sizeof(float)); /* might need to cast */ 
  calloc2 = calloc(3, sizeof(float));
  malloc1 = malloc(3 * sizeof(float));
  malloc2 = malloc(3 * sizeof(float));

if(calloc1!=NULL && calloc2!=NULL && malloc1!=NULL && malloc2!=NULL) {

    for(i=0 ; i<3 ; i++) {
      printf("calloc1[%d] holds %05.5f, ", i, calloc1[i]);
      printf("malloc1[%d] holds %05.5f\n", i, malloc1[i]);
      printf("calloc2[%d] holds %05.5f, ", i, *(calloc2+i));
      printf("malloc2[%d] holds %05.5f\n", i, *(malloc2+i));
    }

    free(calloc1);
    free(calloc2);
    free(malloc1);
    free(malloc2);

    return 0;
  }
  else {
    printf("Not enough memory\n");
    return 1;
  }
}
Output:
calloc1[0] holds 0.00000, malloc1[0] holds -431602080.00000
calloc2[0] holds 0.00000, malloc2[0] holds -431602080.00000
calloc1[1] holds 0.00000, malloc1[1] holds -431602080.00000
calloc2[1] holds 0.00000, malloc2[1] holds -431602080.00000
calloc1[2] holds 0.00000, malloc1[2] holds -431602080.00000
calloc2[2] holds 0.00000, malloc2[2] holds -431602080.00000
On all machines, the calloc1 and calloc2 arrays should hold zeros. Contents of the malloc1 and malloc2 arrays will vary.
Try changing the data type from float to double - the numbers displayed were too long for me to fit onto this web page :)



C - malloc Function definition


 

 

malloc

malloc requires one argument - the number of bytes you want to allocate dynamically.
If the memory allocation was successful, malloc will return a void pointer - you can assign this to a pointer variable, which will store the address of the allocated memory.
If memory allocation failed (for example, if you're out of memory), malloc will return a NULL pointer.
Passing the pointer into free will release the allocated memory - it is good practice to free memory when you've finished with it.
This example will ask you how many integers you'd like to store in an array. It'll then allocate the memory dynamically using malloc and store a certain number of integers, print them out, then releases the used memory using free.
#include 
#include  /* required for the malloc and free functions */

int main() {
  int number;
  int *ptr;
  int i;

  printf("How many ints would you like store? ");
  scanf("%d", &number);

  ptr = malloc(number*sizeof(int)); /* allocate memory */
 
  if(ptr!=NULL) {
    for(i=0 ; i
      *(ptr+i) = i;
    }

    for(i=number ; i>0 ; i--) {
      printf("%d\n", *(ptr+(i-1))); /* print out in reverse order */
    }

    free(ptr); /* free allocated memory */
    return 0;
  }
  else {
    printf("\nMemory allocation failed - not enough memory.\n");
    return 1;
  }
}
Output if I entered 3:
How many ints would you like store? 3
2
1
0
When I first wrote the example using a Borland compiler, I had to cast the returned pointer like this:
ptr = (int *)malloc(number*sizeof(int));
The above example was tested in MSVC++ but try casting the pointer if your compiler displays an error.



Engineer must know these extension..!



Text Files

.doc    Microsoft Word Document
.docx    Microsoft Word Open XML Document
.log    Log File
.msg    Outlook Mail Message
.pages    Pages Document
.rtf    Rich Text Format File
.txt    Plain Text File
.wpd    WordPerfect Document
.wps    Microsoft Works Word Processor Document

Data Files


.accdb    Access 2007 Database File
.blg    Windows Binary Performance Log File
.csv    Comma Separated Values File
.dat    Data File
.db    Database File
.efx    eFax Document
.mdb    Microsoft Access Database
.pdb    Program Database
.pps    PowerPoint Slide Show
.ppt    PowerPoint Presentation
.pptx    Microsoft PowerPoint Open XML Document
.sdb    OpenOffice.org Base Database File
.sdf    Standard Data File
.sql    Structured Query Language Data
.uccapilog    Microsoft UCC API Log File
.vcf    vCard File
.wks    Microsoft Works Spreadsheet
.xls    Microsoft Excel Spreadsheet
.xlsx    Microsoft Excel Open XML Document
.xml    XML File

Image Files

Raster Image Files


.bmp    Bitmap Image File
.gif    Graphical Interchange Format File
.jpg    JPEG Image File
.png    Portable Network Graphic
.psd    Photoshop Document
.psp    Paint Shop Pro Image File
.thm    Thumbnail Image File
.tif    Tagged Image File

Vector Image Files


.ai    Adobe Illustrator File
.drw    Drawing File
.eps    Encapsulated PostScript File
.ps    PostScript File
.svg    Scalable Vector Graphics File

3D Image Files


.3dm    Rhino 3D Model
.dwg    AutoCAD Drawing Database File
.dxf    Drawing Exchange Format File
.pln    ArchiCAD Project File

Page Layout Files


.indd    Adobe InDesign File
.pct    Picture File
.pdf    Portable Document Format File
.qxd    QuarkXPress Document
.qxp    QuarkXPress Project File
.rels    Open Office XML Relationships File

Audio Files


.aac    Advanced Audio Coding File
.aif    Audio Interchange File Format
.iff    Interchange File Format
.m3u    Media Playlist File
.mid    MIDI File
.mp3    MP3 Audio File
.mpa    MPEG-2 Audio File
.ra    Real Audio File
.wav    WAVE Audio File
.wma    Windows Media Audio File

Video Files


.3g2    3GPP2 Multimedia File
.3gp    3GPP Multimedia File
.asf    Advanced Systems Format File
.asx    Microsoft ASF Redirector File
.avi    Audio Video Interleave File
.flv    Flash Video File
.mov    Apple QuickTime Movie
.mp4    MPEG-4 Video File
.mpg    MPEG Video File
.rm    Real Media File
.swf    Flash Movie
.vob    DVD Video Object File
.wmv    Windows Media Video File

Web Files


.asp    Active Server Page
.cer    Internet Security Certificate
.csr    Certificate Signing Request File
.css    Cascading Style Sheet
.htm    Hypertext Markup Language File
.html    Hypertext Markup Language File
.js    JavaScript File
.jsp    Java Server Page
.php    Hypertext Preprocessor File
.rss    Rich Site Summary
.tvpi    TitanTV Television Listing File
.tvvi    TitanTV Television Listing File
.xhtml    Extensible Hypertext Markup Language File

Font Files


.fnt    Windows Font File
.fon    Generic Font File
.otf    OpenType Font
.ttf    TrueType Font

Plugin Files


.8bi    Photoshop Plug-in
.plugin    Mac OS X Plug-in
.xll    Excel Add-In File

System Files
.cab    Windows Cabinet File
.cpl    Windows Control Panel
.cur    Windows Cursor
.dll    Dynamic Link Library
.dmp    Windows Memory Dump
.drv    Device Driver
.key    Security Key
.lnk    File Shortcut
.sys    Windows System File

Settings Files


.cfg    Configuration File
.ini    Windows Initialization File
.keychain    Mac OS X Keychain File
.prf    Outlook Profile File

Executable Files


.app    Mac OS X Application
.bat    DOS Batch File
.cgi    Common Gateway Interface Script
.com    DOS Command File
.exe    Windows Executable File
.pif    Program Information File
.vb    VBScript File
.ws    Windows Script

Compressed Files


.7z    7-Zip Compressed File
.deb    Debian Software Package
.gz    Gnu Zipped Archive
.pkg    Mac OS X Installer Package
.rar    WinRAR Compressed Archive
.sit    Stuffit Archive
.sitx    Stuffit X Archive
.tar.gz    Tarball File
.zip    Zipped File
.zipx    Extended Zip File

Encoded Files


.bin    Macbinary Encoded File
.hqx    BinHex 4.0 Encoded File
.mim    Multi-Purpose Internet Mail Message File
.uue    Uuencoded File

Developer Files


.c    C/C++ Source Code File
.cpp    C++ Source Code File
.java    Java Source Code File
.pl    Perl Script

Backup Files


.bak    Backup File
.bup    Backup File
.gho    Norton Ghost Backup File
.ori    Original File
.tmp    Temporary File

Disk Files


.dmg    Mac OS X Disk Image
.iso    Disc Image File
.toast    Toast Disc Image
.vcd    Virtual CD

Game Files


.gam    Saved Game File
.nes    Nintendo (NES) ROM File
.rom    N64 Game ROM File
.sav    Saved Game

Misc Files



.dbx    Outlook Express E-mail Folder
.msi    Windows Installer Package
.part    Partially Downloaded File
.torrent    BitTorrent File
.yps    Yahoo! Messenger Data File

Tuesday, February 23, 2010

C - KEYWORDS

There are 32 words defined as keywords in C. These have predefined uses and cannot be used for any other purpose in a C program. They are used by the compiler as an aid to compiling the program. They are always written in lower case. A complete list follows;


       auto      double      int        struct
      break      else        long      switch
      case      enum      register    typedef
      char      extern      return      union
      const      float      short      unsigned
      continue      for      signed      void
      default      goto      sizeof      volatile
        do            if          static      while

C - what is identifier

An identifier is used for any variable, function, data definition, etc. In the C programming language, an identifier is a combination of alphanumeric characters, the first being a letter of the alphabet or an underline, and the remaining being any letter of the alphabet, any numeric digit, or the underline. 

  • The case of alphabetic characters is significant. Using INDEX for a variable name is not the same as using index and neither of them is the same as using InDeX for a variable name. All three refer to different variables.
  • According to the ANSI-C standard, at least 31 significant characters can be used and will be considered significant by a conforming ANSI-C compiler. If more than 31 are used, all characters beyond the 31st may be ignored by any given compiler.

Use shortcut to impress people((girls))

 
Alt + Tab                   Switch between open applications.
Alt + Shift + Tab           Switch backwards between open applications.
Alt + double-click          Display the properties of the object you double-click on. For example, doing this on a file would display its properties.
Ctrl + Tab                  Switches between program groups or document windows in applications that support this feature.
Ctrl + Shift + Tab          Same as above but backwards.
Alt + Print Screen          Create a screen shot only for the program you are currently in.
Ctrl + Print Screen         Creates a screen shot of the entire screen
Ctrl + Alt + Del            Reboot the computer and/or bring up the Windows task manager.
Ctrl + Shift + Esc          Immediately bring up the Windows task manager.
Ctrl + Esc                  Bring up the Windows Start menu. In Windows 3.x this would bring up the Task Manager.
Alt + Esc                   Switch Between open applications on taskbar.
F1                          Activates help for current open application.
F2                          Renames selected Icon.
F3                          Starts find from desktop.
F4                          Opens the drive selection when browsing.
F5                          Refresh Contents to where you were on the page.
Ctrl + F5                   X Refreshes page to the beginning of the page.
F10                         Activates menu bar.
Shift + F10                 Simulates right-click on selected item.
F4                          Select a different location to browse in the Windows Explorer toolbar.
Alt + F4                    Closes Current open program.
Ctrl + F4                   Closes Window in Program.
F6                          Move cursor to different Windows Explorer pane.
Alt + Space bar             Drops down the window control menu.
Ctrl + (the '+' key on the keypad)   Automatically adjust the widths of all the columns in Windows explorer
Alt + Enter       Opens properties window of selected icon or program.
Alt + Space bar   Open the control menu for the current window open.
Shift + Del       Delete programs/files without throwing them into the recycle bin.
Holding Shift     Boot Safe Mode or by pass system files as the computer is booting.
Holding Shift     When putting in an audio CD, will prevent CD Player from playing.
Enter  Activates the highlighted program.
Alt + Down arrow    Display all available options on drop down menu.
* (on the keypad)   Expands all folders on the currently selected folder or drive in Windows Explorer.
+ (on the keypad)   Expands only the currently selected folder in Windows Explorer.
- (on the keypad)   Collapses the currently selected folder in Windows Explorer.

Windows key keyboard shortcuts

Shortcut Keys Description

WINKEY Pressing the Windows key alone will open Start.
WINKEY + F1                  Opens the Microsoft Windows help and support center.
WINKEY + F3                  Opens the Advanced find window in Microsoft Outlook.
WINKEY + D                   Brings the desktop to the top of all other windows.
WINKEY + M                   Minimizes all windows.
WINKEY + SHIFT + M           Undo the minimize done by WINKEY + M and WINKEY + D.
WINKEY + E                   Open Microsoft Explorer.
WINKEY + Tab                 Cycle through open programs through the taskbar.
WINKEY + F                   Display the Windows Search / Find feature.
WINKEY + CTRL + F            Display the search for computers window.
WINKEY + F1                  Display the Microsoft Windows help.
WINKEY + R                   Open the run window.
WINKEY + Pause / Break key   Open the system properties window.
WINKEY + U                   Open Utility Manager.
WINKEY + L                   Lock the computer (Windows XP and above only).
WINKEY + P                   Quickly  change between monitor display types. (Windows 7 only)
WINKEY + LEFT ARROW          Shrinks the window to 1/2 screen on the left side for side by side viewing. (Windows 7 only)
WINKEY + RIGHT ARROW         Shrinks the window to 1/2 screen on the right side for side by side viewing. (Windows 7 only)
WINKEY + UP ARROW            When in the side by side viewing mode, this shortcut takes the screen back to full size. (Windows 7 only)
WINKEY + DOWN ARROW          Minimizes the screen.  Also, when in the side by side viewing mode, this shortcut takes the screen back to a minimized size. (Windows 7 only)
 

Tuesday, February 9, 2010

ஆங்கில பாடப் பயிற்சி (Simple Past Tense)

Positive (Affirmative)
Subject + Auxiliary verb + Main verb
I/He/She/It/You/We/They + __ + did a job. இவற்றில் "Subject" வாக்கியத்தின் முன்னால் வந்துள்ளதை கவனிக்கவும். இதில் (Auxiliary verb) "துணை வினை" பயன்படாது என்பதையும் நினைவில் வைத்துக்கொள்ளுங்கள்.

Negative
Subject + Auxiliary verb + not + Main verb
I/He/She/It/You/We/They + did + not + do a job

Question (Interrogative)
Auxiliary verb + Subject + Main verb
Did + I/he/she/it/you/we/they + do a job?

1. I answered the phone
நான் பதிலளித்தேன் தொலைப்பேசிக்கு

2. I studied English for ten years.
நான் படித்தேன் ஆங்கிலம் பத்து வருடங்களாக.

3. I applied for vacancies.
நான் விண்ணப்பித்தேன் தொழில் வாய்ப்புக்காக

4. I forgave him.
நான் மன்னித்தேன் அவனை.

5. I travelled by MTR.
நான் பிரயாணம் செய்தேன் MTR ல். (நவீன நிலத்தடித் தொடரூந்து வண்டி)

6. I came back last Friday.
நான் திரும்பி வந்தேன் கடந்த வெள்ளிக்கிழமை.

7. I asked for an increment.
நான் கேட்டேன் ஒரு (பதவி/சம்பல)உயர்வு.

8. I bought a car.
நான் வாங்கினேன் ஒரு மகிழூந்து.

9. I wrote an article.
நான் எழுதினேன் ஒரு கட்டுரை.

10. I borrowed money from Sarmilan.
நான் கடன் வாங்கினேன் காசு சர்மிலனிடமிருந்து.

11. I lent a book to Ravi.
நான் இரவல்/கடன் கொடுத்தேன் ஒரு புத்தகம் ரவிக்கு

12. I cracked jokes with others.
நான் பகிடிவிட்டேன் மற்றவர்களுடன்.

13. I boiled water.
நான் கொதிக்கவைத்தேன் தண்ணீர்.

14. I got wet.
நான் நனைந்தேன்.

15. I gave priority to my works.
நான் முக்கியத்துவம் கொடுத்தேன் எனது வேலைகளுக்கு.

16. I got confrontation with my Boss.
நான் எதிரெதிராகச் செயல் பட்டேன் என் தலைவனுடன்.

17. I got an appointment.
நான் பெற்றேன் ஒரு நியமனம்.

18. I got into the bus.
நான் ஏறினேன் பேரூந்துக்குள்.

19. I got a loan from the bank.
நான் பெற்றேன் ஒரு கடன் வங்கியிலிருந்து.

20. I read Thinakkural News paper.
நான் வாசித்தேன் தினக்குரல் செய்தித் தாள்.

21. I escaped from the danger.
நான் தப்பினேன் அபாயத்திலிருந்து.

22. I studied in Jaffna.
நான் படித்தேன் யாழ்ப்பாணத்தில்.

23. I ironed my clothes.
நான் அயன் செய்தேன் எனது உடைகளை.

24. I invited my friends.
நான் அழைப்புவிடுத்தேன் எனது நண்பர்களுக்கு.

25. I deposited money to the bank.
நான் வைப்பீடு செய்தேன் காசை வங்கியில்.

26. I born in 1998.
நான் பிறந்தேன் 1998 ல்.

27. I played football.
நான் விளையாடினேன் உதைப்பந்தாட்டம்

28. I introduced her to my family.
நான் அறிமுகப்படுத்தினேன் அவளை எனது குடும்பத்தாருக்கு.

29. I inquired about this.
நான் விசாரித்தேன் இதைப் பற்றி.

30. I informed to police.
நான் தெரிவித்தேன் காவல் துறைக்கு.

31. I learned driving in Hong Kong.
நான் கற்றேன் வாகனம் ஓட்ட ஹொங்கொங்கில்

32. I met Kavitha yesterday
நான் சந்தித்தேன் கவிதாவை நேற்று.

33. I married in 1995.
நான் திருமணம் செய்தேன் 1995 ல்.

34. I played Guitar.
நான் வாசித்தேன் கிட்டார்.

35. I visited Thailand last year.
நான் (பார்க்கச்) சென்றேன் தாய்லாந்து கடந்த வருடம்.

36. I opened a current account.
நான் திறந்தேன் ஒரு நடைமுறைக் கணக்கு.

37. I sent a message.
நான் அனுப்பினேன் ஒரு தகவல்.

38. I paid in Installments.
நான் செலுத்தினேன் (பணம்) தவணைமுறையில்.

39. I taught English.
நான் படிப்பித்தேன் ஆங்கிலம்.

40. I went to university.
நான் சென்றேன் பல்கலைக்கழகத்திற்கு.

41. I repaid the loan.
நான் திரும்பச் செலுத்தினேன் கடன்.

42. I arrived ten minutes ago.
நான் வந்தடைந்தேன் பத்து நிமிடங்களுக்கு முன்பே.

43. I lived in Bangkok for two years.
நான் வசித்தேன் பெங்கொக்கில் இரண்டு வருடங்களாக.

44. I worked very hard.
நான் வேலை செய்தேன் மிகவும் கடினமாக.

45. I left from home.
நான் வெளியேறினேன் வீட்டிலிருந்து.

46. I sang a song.
நான் பாடினேன் ஒரு பாடல்.

47. I practiced English last night.
நான் பயிற்சி செய்தேன் ஆங்கிலம் கடந்த இரவு.

48. I forgot her.
நான் மறந்தேன் அவளை.

49. I decorated my house.
நான் அலங்கரித்தேன் எனது வீட்டை.

50. I wrote a letter to my mother.
நான் எழுதினேன் ஒரு கடிதம் என் தாயாருக்கு.

ஆங்கில பாடப் பயிற்சி (Present Continuous Tense)

Positive (Affirmative)
Subject + Auxiliary verb + Main verb with ing
1. I + am + doing a job
2. He/ She/ It + is + doing a job.
3. You/ We/ They + are + doing a job. இவ்வாக்கிய அமைப்புகளில் எழுவாய் (Subject) வாக்கியத்தின் முன்னால் வந்துள்ளதை கவனிக்கவும். அத்துடன் இந்த Form ல் எப்பொழுதும் பிரதான வினைச்சொல்லுடன் "ing" யும் இணைந்து பயன்படும்.

Negative
Subject + Auxiliary verb + not + Main verb with ing
1. I + am + not + doing a job
2. He/ She/ It + is + not + doing a job.
3. You/ We/ They + are + not + doing a job.

Question (Interrogative)
Auxiliary verb + Subject + Main verb with ing
1. Am + I + doing a job?
2. Is + he/ she/ It + doing a job?
3. Are + you/ we/ they + doing a job?



Are you doing a job?
நீ செய்துக்கொண்டிருக்கின்றயா ஒரு வேலை?
Yes, I am doing a job. (I’m)
ஆம், நான் செய்துக்கொண்டிருக்கின்றேன் ஒரு வேலை.
No, I am not doing a job. (I’m not)
இல்லை, நான் செய்துக்கொண்டிருக்கின்றேனில்லை ஒரு வேலை.

Are you speaking in English?
நீ பேசிக்கொண்டிருக்கின்றாயா ஆங்கிலத்தில்?
Yes, I am speaking in English. (I’m)
ஆம், நான் பேசிக்கொண்டிருக்கின்றேன் ஆங்கிலத்தில்.
No, I am not speaking in English. (I’m not)
இல்லை, நான் பேசிக்கொண்டிருக்கின்றேனில்லை ஆங்கிலத்தில்.

Are you going to school?
நீ போய்க்கொண்டிருக்கின்றாயா பாடசாலைக்கு?
Yes, I am going to school. (I’m)
ஆம், நான் போய்க்கொண்டிருக்கின்றேன் பாடசாலைக்கு.
No, I am not going to school. (I’m not)
இல்லை, நான் போய்க்கொண்டிருக்கின்றேனில்லை பாடசாலைக்கு.


1. I am getting up now.
நான் எழுந்துக்கொண்டிருக்கின்றேன் இப்பொழுது.

2. I am going to toilet.
நான் போய்க்கொண்டிருக்கின்றேன் குளியலறைக்கு.

3. I am brushing my teeth.
நான் துலக்கிக்கொண்டிருகின்றேன் என் பற்களை.

4. I am having a bath.
நான் குளித்துக்கொண்டிருக்கின்றேன்.

5. I am having some tea.
நான் அருந்திக்கொண்டிருக்கின்றேன் கொஞ்சம் தேனீர்.

6. I am dressing.
நான் உடுத்திக்கொண்டிருக்கின்றேன்.

7. I am practicing my religion.
நான் பின்பற்றிக்கொண்டிருக்கின்றேன் எனது மதத்தை.

8. I am having my breakfast.
நான் சாப்பிட்டுக்கொண்டிருக்கின்றேன் எனது காலை உணவை.

9. I am worshiping to my parents.
நான் வணங்கிக்கொண்டிருக்கின்றேன் எனது பெற்றோரை.

10. I am leaving from home.
நான் வெளியேறிக்கொண்டிருக்கின்றேன் வீட்டிலிருந்து.

11. I am traveling by bus.
நான் பிரயாணித்துக்கொண்டிருக்கின்றேன் பேரூந்தில்.

12. I am getting down from the bus.
நான் இறங்குகிக்கொண்டிருக்கின்றேன் பேரூந்திலிருந்து.

13. I am entering into the Office
நான் நுழைந்துக்கொண்டிருக்கின்றேன் அலுவலகத்திற்குள்.

14. I am working.
நான் வேலை செய்துக்கொண்டிருக்கின்றேன்.

15. I am doing my duty.
நான் செய்துக்கொண்டிருக்கின்றேன் எனது கடமையை.

16. I am operating a computer.
நான் இயக்கிக்கொண்டிருக்கின்றேன் ஒரு கணனியை.

17. I am helping to people.
நான் உதவிக்கொண்டிருக்கின்றேன் மக்களுக்கு.

18. I am getting down meals from canteen.
நான் எடுபித்துக்கொண்டிருக்கின்றேன் உணவு சிற்றுண்டிசாலையிலிருந்து.

19. I am sharing my lunch.
நான் பகிர்ந்துக்கொண்டிருக்கின்றேன் எனது (பகல்) உணவை.

20. I am working as a team.
நான் வேலை செய்துக்கொண்டிருக்கின்றேன் ஒரு குழுவாக.

21. I am talking with my friends.
நான் பேசிக்கொண்டிருக்கின்றேன் எனது நண்பர்களுடன்.

22. I am leaving from office to home
நான் வெளியேறிக்கொண்டிருக்கின்றேன் அலுவலகத்திலிருந்து வீட்டிற்கு.

23. I am waiting for you.
நான் காத்துக்கொண்டிருக்கின்றேன் உனக்காக.

24. I am coming back to home.
நான் திரும்பிவந்துக்கொண்டிருக்கின்றேன் வீட்டிற்கு.

25. I am having a body wash.
நான் ஒரு (உடல்) குளியல் எடுத்துக்கொண்டிருக்கின்றேன்.

26. I am changing my clothes.
நான் மாற்றிக்கொண்டிருக்கின்றேன் எனது உடைகளை.

27. I am having a cup of coffee.
நான் அருந்திக்கொண்டிருக்கின்றேன் ஒரு கோப்பை கோப்பி.

28. I am going to play ground.
நான் போய்க்கொண்டிருக்கின்றேன் விளையாட்டு மைதானத்திற்கு.

29. I am walking.
நான் நடந்துக்கொண்டிருக்கின்றேன்.

30. I am smoking cigarette.
நான் புகைத்துக்கொண்டிருக்கின்றேன் வெண்சுருட்டு.

31. I am meeting my friends
நான் சந்தித்துக்கொண்டிருக்கின்றேன் எனது நண்பர்களை.

32. I am cracking joke with others.
நான் பகிடி விட்டுக்கொண்டிருக்கின்றேன் மற்றவர்களுடன்.

33. I am playing foot ball.
நான் விளையாடிக்கொண்டிருக்கின்றேன் உதைப்பந்தாட்டம்.

34. I am answering phone.
நான் பதிலளித்துக்கொண்டிருக்கின்றேன் தொலைப்பேசியில்.

35. I am having a rest.
நான் ஓய்வெடுத்துக்கொண்டிருக்கின்றேன்.

36. I am studying for the exam.
நான் படித்துக்கொண்டிருக்கின்றேன் பரீட்சைக்காக.

37. I am reading a book.
நான் வாசித்துக்கொண்டிருக்கின்றேன் ஒரு புத்தகம்.

38. I am watching movie.
நான் பார்த்துக்கொண்டிருக்கின்றேன் திரைப்படம்.

39. I am thinking about that.
நான் நினைத்துக்கொண்டிருக்கின்றேன் அதைப் பற்றி.

40. I am preparing tea.
நான் தாயாரித்துக்கொண்டிருக்கின்றேன் தேனீர்.

41. I am rectifying mistakes.
நான் திருத்திக்கொண்டிருக்கின்றேன் தவறுகளை.

42. I am writing an article in Tamil
நான் எழுதிக்கொண்டிருக்கின்றேன் ஒரு கட்டுரை தமிழில்.

43. I am translating English to Tamil.
நான் மொழி பெயர்த்துக்கொண்டிருக்கின்றேன் ஆங்கிலத்தை தமிழுக்கு.

44. I am improving my English knowledge.
நான் வளர்த்துக்கொண்டிருக்கின்றேன் எனது ஆங்கில அறிவை.

45. I am having my dinner.
நான் சாப்பிட்டுக்கொண்டிருக்கின்றேன் (இரவு) சாப்பாடு.

46. I am singing a song.
நான் பாடிக்கொண்டிருக்கின்றேன் ஒரு பாடல்.

47. I am doing my home work.
நான் செய்துக்கொண்டிருக்கின்றேன் எனது வீட்டுப்பாடம்.

48. I am practicing English at night.
நான் பயிற்சித்துக்கொண்டிருக்கின்றேன் ஆங்கிலம் இரவில்.

49. I am praying.
நான் பிராத்தித்துக்கொண்டிருக்கின்றேன்.

50. I am sleeping.
நான் நித்திரைசெய்துக்கொண்டிருக்கின்றேன்.

englsih learn ---present tense

Subject + Auxiliary verb + Main verb
1. I/ You/ We/ They + __ + do a job.
2. He/ She/ It + __ + does a job. இவற்றில் "Subject" வாக்கியத்தின் முன்னால் வந்துள்ளது. இவ்வாக்கிய அமைப்புகளில் "Auxiliary verb" "அதாவது துணைவினை பயன்படுவதில்லை என்பதை கவனத்தில் கொள்க.

1. I get up early at 6.30.
நான் எழுகின்றேன் அதிகாலை 6.30 அளவில்.

2. I brush my teeth.
நான் துலக்குகின்றேன் என் பற்களை.

3. I have a bath.
நான் குளிக்கின்றேன்.

4. I have my breakfast.
நான் எனது காலை உணவை உண்கின்றேன்.

5. I travel by bus.
நான் பிரயாணம் செய்கின்றேன் பேரூந்தில்.

6. I go to school.
நான் போகின்றேன் பாடசாலைக்கு.

7. I get down from the bus.
நான் இறங்குகின்றேன் பேரூந்திலிருந்து.

8. I read the book.
நான் வாசிக்கின்றேன் புத்தகம்.

9. I write an article.
நான் எழுதுகின்றேன் ஒரு கட்டுரை.

10. I get down meals from canteen.
நான் எடுபிக்கின்றேன் உணவு சிற்றுண்டி சாலையிலிருந்து.

11. I pay the loan.
நான் செலுத்துகின்றேன் கடன்.

12. I borrow some books from my friend.
நான் இரவல் வாங்குகின்றேன் புத்தகங்கள் எனது நண்பனிடமிருந்து.

13. I leave from class.
நான் வெளியேறுகின்றேன் வகுப்பிலிருந்து.

14. I try to go.
நான் முயற்சி செய்கின்றேன் போவதற்கு.

15. I have a rest.
நான் எடுக்கின்றேன் ஓய்வு.

16. I answer the phone.
நான் பதிலளிக்கின்றேன் தொலைப்பேசிக்கு.

17. I watch movie.
நான் பார்க்கின்றேன் திரைப்படம்.

18. I worry about that.
நான் கவலைப்படுகிறேன் அதைப் பற்றி.

19. I drive a car.
நான் ஓட்டுகின்றேன் ஒரு மகிழூந்து.

20. I read the news paper.
நான் வாசிக்கின்றேன் செய்தித் தாள்.

21. I play foot ball.
நான் விளையாடுகின்றேன் உதைப்பந்தாட்டம்.

22. I boil water.
நான் கொதிக்கவைக்கின்றேன் தண்ணீர்.

23. I have some tea.
நான் அருந்துகின்றேன் கொஞ்சம் தேனீர்.

24. I do my homework.
நான் செய்கின்றேன் எனது வீட்டுப்பாடம்.

25. I deposit money to the bank.
நான் வைப்பீடு செய்கின்றேன் காசை வங்கியில்.

26. I wait for you.
நான் காத்திருக்கின்றேன் உனக்காக.

27. I operate computer.
நான் இயக்குகின்றேன் கணனியை.

28. I follow a computer course.
நான் பின்தொடர்கின்றேன் ஒரு கணனிப் பாடப்பயிற்சி.

29. I practice my religion.
நான் பின்பற்றுகின்றேன் என் மதத்தை.

30. I listen to news.
நான் செவிமடுக்கின்றேன் செய்திகளுக்கு.

31. I speak in English.
நான் பேசுகின்றேன் ஆங்கிலத்தில்.

32. I prepare tea.
நான் தயாரிக்கின்றேன் தேனீர்.

33. I help to people.
நான் உதவுகின்றேன் மக்களுக்கு.

34. I celebrate my birthday.
நான் கொண்டாடுகின்றேன் எனது பிறந்த நாளை.

35. I enjoy Tamil songs.
நான் இரசிக்கின்றேன் தமிழ் பாடல்களை.

36. I negotiate my salary.
நான் பேரம்பேசுகின்றேன் எனது சம்பளத்தை.

37. I change my clothes.
நான் மாற்றுகின்றேன் எனது உடைகளை.

38. I go to market.
நான் போகின்றேன் சந்தைக்கு.

39. I choose a nice shirt.
நான் தெரிவுசெய்கின்றேன் ஒரு அழகான சட்டை.

40. I buy a trouser.
நான் வாங்குகின்றேன் ஒரு காற்சட்டை.

41. I love to Tamileelam.
நான் நேசிக்கின்றேன் தமிழீழத்தை.

42. I remember this place.
நான் நினைவில் வைத்துக்கொள்கின்றேன் இந்த இடத்தை.

43. I take a transfer.
நான் எடுக்(பெறு)கின்றேன் ஒரு இடமாற்றம்.

44. I renovate the house.
நான் புதுபிக்கின்றேன் வீட்டை.

45. I give up this habit.
நான் விட்டுவிடுகின்றேன் இந்த (தீய)பழக்கத்தை.

46. I fly to America.
நான் பறக்கின்றேன் (விமானத்தில்) அமெரிக்காவிற்கு.

47. I solve my problems.
நான் தீர்க்கின்றேன் எனது பிரச்சினைகளை.

48. I improve my English knowledge.
நான் விருத்திச்செய்கின்றேன் எனது ஆங்கில அறிவை.

49. I practice English at night.
நான் பயிற்சி செய்கின்றேன் ஆங்கிலம் இரவில்.

50. I dream about my bright future.
நான் கனவு காண்கின்றேன் எனது பிரகாசமான எதிர்காலத்தை (பற்றி).


நிகழ்கால வினைச் சொற்களுடன் பயன்படும் சில குறிச் சொற்கள் [Simple Present - Signal words]

always
Often
Usually
Sometimes
Seldom
Never
Every day
Every week
Every year
On Monday
After school