No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Hi. Does anyone know how to execute system() statement in a DOS Emulator like DOS BOX. For example for the following code : [ICODE]#include <stdlib.h> #include <stdio.h> int main(void) { printf("About to spawn command.com and run a DOS command\n"); system("dir"); return 0; }[/ICODE] It only displays "About to spawn command.com … | |
Re: If you are not newbie enough to know pointers, then this is for you: You can pass the address of the very first element of the array like this [ICODE]main() void func(int *aptr,int m,int n); { int a[5][5]; // assuming array is 2D of 5x5 size int *aptr; : : … | |
Re: Well producing a random number is very simple. Before you use the random number: 1. include time.h. 2. just put randomize() at the beginning of code. 3. Then use random() or if you want a range of random number, for e.g out of 4 to 20 you want one, declare … | |
Hello ppl I am new to c++ and especially a noob in graphics. All the functions I have learnt are from Help File in Turbo c++ 3.0. Since this part of c++ is not in my course, I am having difficulties learning it. Now, in the following code the[B] outtext … | |
Re: I dont have Visual c++, would Borland c++ do? I have the full code for that |
The End.