c++ - How to insert the value of a variable in a char* -


I have mastered C # and I decided to start on C ++ to work on some personal things Have done Anyway, I want to know how to do this (C #) in C ++ For the

  (int i = 0; i & lt; 16; i ++) say ("[" + "+ i +"] idk ");  

Any and all help is appreciated, even if it is writing in the original C ++ also helps.

You can also use stringstream s,

  #include & lt; Iostream & gt; # Include & lt; Sstream & gt; using namespace std; Int main () {Ostringstream OS; For (Int i = 0; I  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

Powerbuilder 12.1 and DataWindow in Design vs Debug and Executable/Runtime -

css3 - HTML Block Anchor element only half clickable in Chrome -