Jump to content
ELFORUM - Forumul Electronistilor
Sign in to follow this  
Darude

IntToStr in Mikroc

Recommended Posts

Am incercat sa folosesc instructiunea IntToStr si imi da e eroare de genul "Illegal expression with void". Are cineva idee ce trebuie sa ii fac k sa imi ruleze programul folosind instructiunile din libraria de conversi???

Share this post


Link to post
Share on other sites

In mikroC, din pacate erorile afisate nu sunt in liniile in care zice ca ar fi eroarea, asa ca ia codul la mana si vezi unde ar fi problema, bagi puncte de intrerupere a executiei si citesti valorile, etc.

Share this post


Link to post
Share on other sites

Atentie la apelul functiei. Parametrul destinatie trebuie sa fie un pointer catre matricea ce va primi sirul de caractere, si nu ca in exemplul lor unde destinatia este matricea insasi

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.