Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  PC NAME
Language: C/C++
Code:
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
 
int main()
{
        char buffer[256];
        unsigned long size = 256;
 
        GetComputerName( buffer, &size );
 
        printf( "%sn", buffer );
 
        system( "pause" );
        return 0;
}
          
Comments: