Computer Engineers

 
Home | Computer engineering other top | Fiber / Wireless / Copper Tran | Semiconductor engineering
  Position:HOME>Programming language engineeri>Article Content
getlogin in C programming
Source:Internet Author:Unknow Pubdate:2008-04-14  
karthikj (Mechanical) 10 Dec 04 4:24
Hi,

I am trying to get the login name of the user in C programming  .After searching in web i found the Miscellaneous function getlogin() in unistd.h.I am using VC++ compiler .
This header file is not available in VC++.Please guide me how to solve this issue or tell me how to get the login information of the user.

regards,
KarthikJ

CajunCenturion (Computer) 10 Dec 04 9:11
Easiest way that I know of is to use the GetUserName API call. Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein


(Click:

Previous:VB6 Running Another Program   Next:RowSource problem with Combobox in Excel
[Add TO Favorites] [TOP] [PRINT] [CLOCE WINDOWS]  
  Hot Article
·PIC code for triac light dimme
·Connecting a Footswitch to an
·Siemens s7-200 PLC & Visua
·TETRIS source code is availabl
·XML Files and Terramodel
·controlling GPIB from VBA
·LINKING MSC PATRAN WITH INTRAN
·How to interface RS-485 / Modb
·VBA WITH AB PLC
·SIEMENS: I/O, NCDDE AND DCTL
·getch() function
·Visual Basic Serial Comms To S
  Related Articles
·RowSource problem with Combobo
·Porting a Windows NT C++ app t
·Visual Basic
·Convert Excel to PDF
·Automatic delete files
·Prolog help
·C win32 threads
·how to make use of the results
·GTCO-Calcomp & USB to serial a
·E1055: Unable to open 'windows
·MsgBox in VB6
·Anyone use LoadLibrary
Power by DedeCms