Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

Vincen Wang

@Vincen Wang
About
Posts
10
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • passing string as first parameter in sprintf
    V Vincen Wang

    of course

    You know some birds are not meant to be caged, their feathers are just too bright.

    C / C++ / MFC question

  • Need to execute an Exe when a service starts
    V Vincen Wang

    match the prameter (LPCTSTR lpBinaryPathName) of API CreateService()

    You know some birds are not meant to be caged, their feathers are just too bright.

    C / C++ / MFC postgresql windows-admin

  • set values to charachter arrays which are entered [modified]
    V Vincen Wang

    #include <string>//not <string.h>
    using namespace std;
    string str1,str2;
    str1 = "this is my first string.";
    str2 = "this is my second string."
    cout<<str1<<endl;
    cout<<str2<<endl;

    String is a class in boost c++ library,and it has many member functions to deal with string,you can do a search about it,or find a book contains chapter string.

    You know some birds are not meant to be caged, their feathers are just too bright.

    C / C++ / MFC tutorial

  • combine two .exe files [modified]
    V Vincen Wang

    thanks a lot ,a good article.

    You know some birds are not meant to be caged, their feathers are just too bright.

    C / C++ / MFC question

  • Problem in .exe copy
    V Vincen Wang

    i find your problem is not to programe,is to use the computer.

    You know some birds are not meant to be caged, their feathers are just too bright.

    C / C++ / MFC help question

  • worker thread model in c++
    V Vincen Wang

    search "AfxbeginThread" in MSDN

    You know some birds are not meant to be caged, their feathers are just too bright.

    C / C++ / MFC c++

  • Problem in .exe copy
    V Vincen Wang

    haha~ The error number is exactly the same as that we have expected. Click Tools >> error Lookup,enter the error number, then you may have the answer.

    You know some birds are not meant to be caged, their feathers are just too bright.

    C / C++ / MFC help question

  • set values to charachter arrays which are entered [modified]
    V Vincen Wang

    toprogramminguy wrote:

    for example if you want to display the strings showing what their values are.

    toprogramminguy wrote:

    << "\n";

    You have made it here.

    toprogramminguy wrote:

    int a[5];

    initialize it just like cin>>a[i]..... Well,if you do really want to convert from "int (like a[x])" to "char [](like ppl[x])",what you have related before.(like "str[0]" = a1,"str[1] = a2............").(The compiler does not allow you to do like this ,but you do.) You can try this:

    sprintf(str[i],"%d",a[i]);//#include "stdio.h"
    //sprintf(str[i],"%c",a[i]);

    You know some birds are not meant to be caged, their feathers are just too bright.

    modified on Monday, September 8, 2008 10:25 PM

    C / C++ / MFC tutorial

  • set values to charachter arrays which are entered [modified]
    V Vincen Wang

    use the pointer:

    int a[10];
    for(x=0;x<10;x++)
    {

    = a[x];

    }

    You know some birds are not meant to be caged, their feathers are just too bright.

    C / C++ / MFC tutorial

  • combine two .exe files [modified]
    V Vincen Wang

    HI,everyone. I have used the stream I/0 to write myOwn.exe file in the source.exe file.When the combined file is executed,it can read myOwn.exe out and create two processes to execute them(This procedure is achieved in myOwn.exe).But I think this method is a little stupid. Do you have any other great idea to combine them to a single,in which the two .exe files can be executed by turns?

    modified on Wednesday, September 17, 2008 9:57 PM

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups