Converting char array to double in C?

Need help with converting char array to string?

  • basically im reading information from a file (the info is first number - number of lines, and lines cosist of: name lastname number) im using a function like this: void skaitymas() ...show more

  • Answer:

    TL;DR when i convert char array to a string, when outputing the string there's a line skip before the string. using this: string MYSTRING(charARRAY) example: cout << "1" << string; output: 1 string

ZKW56OB5XASSUGMKYFTZ73Z3RU at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.