how to change font size in c++ ?

Posted on 2012-09-09
Last Modified: 2013-08-07
I want to change font size on tc3.exe.

"hellow friends". for this, I should set font size 16.
"how are you".   for this, I should set font size 20.
" thank you ".  for this,I should set font size 25.

I want to set directly into hardware without using  ready made function in header files.

I want to write directly into hardware . for example  int86(0x10, &regs,&regs   ) function and 0xb8000000 is used to write directly  into monitor
how to write code in c++ ?
Question by:softwareachiever
    LVL 25

    Expert Comment

    by:Sinisa Vuk
    LVL 39

    Accepted Solution

    There is no standard way to change fonts in C++, since C++ has no concept of fonts. You'll need to refer to the system api documentation for whatever platform you are developing for.

    Author Comment

    all above links are basic concepts.  my  aim did not fulfill above url link.
    how to write programme as directly to change font size according our requirement of font size ?
     I want size increasing technical programme in language as directly.
    LVL 39

    Expert Comment

    Did you see my comment above? This isn't something covered by the C++ standard. You need to refer to your system API documentation. Alternatively, if you tells us what system you are building for and what compiler you are using we can point you at the right documentation. I can also arrange to get this question moved into more apropriate zones as the zone assignments you've used are for generic C/C++, which this question is not.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
    This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
    The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
    The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now