C Star Pattern Program with Easy Solutions | Part - 1



Star Pattern Programs with Solutions



C Star Pattern Program


1. Write a program using one print statement to print the pattern of asterisks as shown below

   ****
Get Solution>>





2. Write a program using one print statement to print the pattern of asterisks as shown below

   ****
   ****
   ****
   ****

Get Solution>>






3. Write a program using one print statement to print the pattern of asterisks as shown below

   *
   **
   ***
   ****

Get Solution>>





4. Write a program using one print statement to print the pattern of asterisks as shown below


        *
      **
    ***
  ****  

Get Solution>>






5. Write a program using one print statement to print the pattern of asterisks as shown below


    ****
    ***
    **
    * 

Get Solution>>






Turbo C++ all Shortcut Keys

NO

SHORTCUT KEYS

 

 

ACTION

 

 

1

F1

 

 

FOR HELP

 

 

2

F2

 

 

SAVE

 

 

3

F3

 

 

OPEN

 

 

4

F4

 

 

GO TO CURSOR

 

 

5

F5

 

 

ZOOM

 

 

6

F6

 

 

NEXT

 

 

7

F7

 

 

TRACE INTRO

 

 

8

F8

 

 

STEP OVER

 

 

9

F9

 

 

MAKE

 

 

10

F10

 

 

MENU

 

 

11

Alt + X

 

 

Quit

 

 

12

Alt + Bksp

 

 

Undo

 

 

13

Shift  +Alt +Bksp  

 

 

Redo

 

 

14

Shift + Del

 

 

Cut

 

 

15

Ctrl + Ins

 

 

Copy

 

 

16

Shift + Ins

 

 

Paste

 

 

17

Ctrl + Del

 

 

Clear

 

 

18

Ctrl + L

 

 

Search Again

 

 

19

Alt + F7

 

 

Previous Error

 

 

20

Alt + F8

 

 

Next Error

 

 

21

Ctrl + F9

 

 

Run

 

 

22

Ctrl + F2

 

 

Program Reset

 

 

23

Alt + F9

 

 

Compile

 

 

24

Alt + F4

 

 

Inspect

 

 

25

Ctrl + F4

 

 

Evaluate / Modify

 

 

26

Ctrl + F3

 

 

Call Stack

 

 

27

Ctrl + F8

 

 

Toggle / Breakpoint

 

 

28

Ctrl + F5

 

 

Size / Move

 

 

29

Alt + F3

 

 

Close

 

 

30

Alt + F5

 

 

User Screen

 

 

31

Alt + 0

 

 

List All

 

 

32

Shift + F1

 

 

Index

 

 

 

How to solve Keyboard and Mouse common issues in Turbo C++


Mouse pointer getting suck & Keyboard is not working in Turbo C++

These happen because of DOSBOX. DOSBOX is the emulating tool which runs the 16bit application on 32 & 64 bit OS. DOSBOX is specially designed for gaming and only work for keyboard interaction.  


fix keyboard and mouse issues in turbo c++ #allaboutprogramming62


We used it run Turbo C++ on 32 & 64 bit OS. So you need to use keyboard shortcuts. For the menu, you can use Alt + First Letter of menu option name. 


For Example

  • For Run Menu - Alt + r
  • For Compile Menu - Alt + c
When the menu is open you can use top-down arrows and press enters key to select an option. You have a need of keyboard shortcuts list of Turbo C++. 





Keyboard Is not working only for Turbo C++

If your keyboard is working properly for the other programs, then try to disable anti-keylogging features in your antivirus.



Example -: Quick Heal (Antivirus Name) blocked the keyboard for all applications without a trusted publisher (in this case Turbo C++).



Students Common Questions


1. What is keylogging ??
Keylogging refers to using software to record everything you type on your keyboard when that software application is open. 

2. Why you need to disable anti-keylogging ??

This happens because of  DOSBOX. DOSBOX uses the keylogging to transfer your keystroke to Turbo C++.
DOSBOX  is emulating tool which runs the 16bit application on 32 & 64 bit OS. We used it to run Turbo C++ on 32/64 bit OS.



 3.Is disabling anti-keylogging is safe ??

Yes. You can disable anti-keylogging when you are using the Turbo C++and enable it again when you are not using Turbo C++. #allaboutprogramming62

Comments System

blogger/disqus/facebook