User Profile

Collapse

Profile Sidebar

Collapse
Jose Diaz
Jose Diaz
Last Activity: Jan 13 '11, 03:32 AM
Joined: Nov 17 '10
Location: Home
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • HINT * HINT ---- Study them both at the same time!
    See more | Go to post

    Leave a comment:


  • You have to Write a DLL (DYNAMIC LINK LIBRARY) using the WINDOWS API: WINAPI. That how i do it.
    See more | Go to post

    Leave a comment:


  • try '\0' or '\n' if equals those, or if NULL has being define you can say if equals NULL, i haven't written much in java but if you really need help then tell so i can work on it. =)
    See more | Go to post

    Leave a comment:


  • Jose Diaz
    replied to converting strokes from c++ to c!
    in C
    Hey I rewrote and fix all the problems:
    there is still some problem with the logic in if conditions. If you have any question write me back i will gladly assist you =).

    Code:
    #include <stdio.h>
    #include <conio.h>
     
    void choosePlay(char);
    void playGame(int,int,int,int);
    void match(int[][4]);
    int r1,r2,c1,c2;
    char comma;
    
    
    
    int cards[4][4]={{1,3,2,4},{4,2,3,1},{5,7,6,8},{8,6,7,5}};
    ...
    See more | Go to post

    Leave a comment:


  • Jose Diaz
    replied to Do While loop
    in C
    First of all
    do{

    }while (number != Rand);

    its going to loop forever (INFINITE LOOP).

    The reason cout<< "Got it"; Never showed was because the do-while loop never terminated thus not allowing cout to print message to screen. Put cout<< "Got it"; inside do-while loop. Remember that the message will print forever so make sure you terminate it. In order to terminate it...
    See more | Go to post

    Leave a comment:


  • Jose Diaz
    started a topic Converting VOID* to INT ON C/C++

    Converting VOID* to INT ON C/C++

    In the past couple of days i have noticed that a lot of people are having problems casting from one data type to another specially from void to char or int.

    First of all void* just means that the variable can pretty much hold any type of data, from character all the way unto float. Let me just show you >>

    Lets say you want void *variable;
    to be equal 100;

    Code:
    void *variable = 100;
    Now...
    See more | Go to post
    Last edited by NeoPa; Nov 18 '10, 11:48 PM. Reason: Removed illegal email and added CODE tags.
No activity results to display
Show More
Working...