Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo leute,

Ich habe ein Problem, bei folgendem Code:

	ic::con.setTextColor(ic::FG_VIOLET);


while(i <= DEF_WNDSIZEX * 0.75 && i2 >= DEF_WNDSIZEX * 0.25) 

	{

		ic::con.setCurPos (i, DEF_WNDSIZEY/3);

		std::cout << char(223);


		ic::con.setCurPos (i2, DEF_WNDSIZEY/3*2);

		std::cout << char(223);


		Sleep(30);


		i++;

		i2--;

	}

Entsteht unten nicht ein durchgezogener Balken wie oben, sondern so vierecke.

Wenn ich das ändern der Textcolor weglasse, dann entsteht das Problem nicht?

Ich greife mit ic::con.setTextColor(ic::FG_VIOLET);

auf die Improved Console zu Link: Improved Console

Wieso passiert das :'(

MfG Artery

  • Autor

:D

Also ersten sry ich bin zu doof, sehe kein editier button =(

Durch einen Zufall hat sich das Problem erledigt, einfach nen system("cls") nach dem Ändern der Textfarbe und das problem ist gelöst ;)

MfG Artery

€dit: Ahh hab ihn gefunden, nur wieso kann ich meinen 1. beitrag nicht editieren? =O

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.