Aller au contenu
View in the app

A better way to browse. Learn more.

Next

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.

[Résolu][C++] Convertir une String en AnsiString

Featured Replies

Posté(e)

hello a tous !

Je travaille avec C++ builder 6, j'ai une chaine string a ajouter dans une listBox, mais la listebox n'accespte que des AnsiString. ;)

ça doit etre tout con :roll: mais j'arrive pas a trouver comment convertir une string en AnsiString, l'inverse est facile en utilisant c_str.

Sa fais un moment que je cherche sur le net je trouve pas :up:

Merci d'avance !! ;)

Modifié par Bab00n

Posté(e)
  • Auteur

bon apres bidouillage j'ai trouver :reflechis: :

on ne peut pas passer de string a ansistring directement, il faut passer par un pointeur (char*)

en gros on fais sa String-> Char*->AnsiString

donc sa donne AnsiString(MaChaine.c_str)

:yes:

  • 4 semaines après...

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

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.