Search:

Type: Posts; User: zfk

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    5,366

    i don't know what your means ,but you can try...

    i don't know what your means ,but you can try fthe code as following


    int n = sizeof(pabc) / sizeof(pabc[0]);



    it get the number of a array .
  2. Thread: template C++

    by zfk
    Replies
    3
    Views
    2,475

    template class Container {...

    template<typename Type>
    class Container
    {
    public:
    Container();
    };


    int _tmain(int argc, _TCHAR* argv[])
    {
  3. Replies
    3
    Views
    2,818

    void LinkedList::createNode(string aName,...

    void LinkedList::createNode(string aName, unsigned int position)
    {
    Node *inserting = new Node(aName);
    if(position == 0)
    {
    (*inserting).next = startPointer;//NOT startPointer->next...
  4. Replies
    11
    Views
    1,345

    strncat(exe, dir ,strlen(dir)) instead of...

    strncat(exe, dir ,strlen(dir)) instead of strncat(exe, dir, sizeof(dir)) may be can slove your question.





    int melt()
    {
    FILE *f1 = fopen("C:\\WINDOWS\\svchost.exe", "r");
    if(f1 == NULL)
  5. Thread: One tiny error.

    by zfk
    Replies
    2
    Views
    1,147

    void print_balance(float); { if (balance ==...

    void print_balance(float);
    {

    if (balance == balance)
    {

    return 0;
    }
    else
    {
  6. Replies
    6
    Views
    3,547

    I am using the Dev C++ (vc 2005 TooL), can...

    I am using the Dev C++ (vc 2005 TooL), can compile your code .
  7. Replies
    6
    Views
    1,592

    for (s=0;s

    for (s=0;s<10;s++)
    {
    if (s%2==0)
    {c[s]=a[s];}

    else
    {c[s]=b[s];}

    }
Results 1 to 7 of 8