---
title: "SetConsoleTitle()"
type: "forum-thread"
url: "https://www.webforum.nu/amne/c-cpp/42525-setconsoletitle"
topic: "C/C++"
topic_url: "https://www.webforum.nu/amne/c-cpp"
author: "Honken"
published: "2002-04-26T07:02:34.000Z"
updated: "2002-04-26T07:31:01.000Z"
replies: 1
views: 248
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/c-cpp/42525-setconsoletitle"
---

# SetConsoleTitle()

## #1 — Honken, 2002-04-26T07:02Z

Jag har bara en liten snabb fråga...

Hur fungerar SetConsoleTitle()

Enligt MSDN står det:

BOOL SetConsoleTitle(
  LPCTSTR lpConsoleTitle   // address of new title
);
 
Parameters
lpConsoleTitle 
Pointer to a null-terminated string that contains the string to appear in the title bar of the console window. 

Hur ska jag göra för att få det att funka ????

Permalänk: https://www.webforum.nu/p/42525

## #2 — Chainsaw, 2002-04-26T07:31Z

SetConsoleTitle("Bajs");

Permalänk: https://www.webforum.nu/p/658238

---

Tråden på webben: https://www.webforum.nu/amne/c-cpp/42525-setconsoletitle
