CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: A2501

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    569

    Re: Little question about char convertion

    thanks for the info.
    the error is gone when the initialization is used. in both cases
  2. Replies
    2
    Views
    569

    Little question about char convertion

    Hello!
    I've been using sprintf to convert a group of integers to a char sequence.
    like this:
    char st[];
    int a=2,b=3;
    sprintf(st,"%d and %d",a,b);
    cout<<st;

    it works good, but...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured