Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #4K
~55.2K People Reached
Favorite Tags
Member Avatar for Bob

[B]Intro[/B] This tutorial provides a brief introduction to the random number functions that come as part of the C++ standard library, namely rand() and srand(). [b]rand() and RAND_MAX [/b] The C++ standard library includes a pseudo random number generator for generating random numbers. In order to use it we need …

Member Avatar for JamesCherrill
3
52K
Member Avatar for Arctic wolf

Hello everyone. I was wondering if anyone could recomend me a good(and bugless) IDE or text editor I could use with TASM(notepad is not very comfortable for code writting)? Thank you. P.S. I use TASM 5

Member Avatar for cyb3rl0rd1867
0
74
Member Avatar for Arctic wolf

Hello, as you all already know from my previous question I'm new in PHP(by the way,thanks again for the previous help), I am trying to build a simple "walking" program,so I'll have "forwards", "backeards","right" and "left" buttons and when I click on one of them the picture on the page …

Member Avatar for Arctic wolf
0
123
Member Avatar for Arctic wolf

Hello everyone, I'm new to PHP and having a very basic problem of instaling the web server correctly. Now,I tried to run PHP 5.2.9 , The instalation program asked me to choose a web server and for not having much understanding in this I chose apache 2. The problem was …

Member Avatar for Arctic wolf
0
139
Member Avatar for Arctic wolf

Hello everyone, I know this forum is more about asm86 but I thought maybe someone knows enough about assembly in general or had some expirience in asm51 as well and can help me with my questions(wich are simple), I needed a 16bit(word) counter and I didn't have appropriate register for …

Member Avatar for Arctic wolf
0
101
Member Avatar for Arctic wolf

Hello everyone, I know there is a build in real time clock inside the computer and I know it's possible to use this clock when you write a program on Assembler(using an interupt that I don't remember at the moment),is there a way to use the real time clock while …

Member Avatar for Arctic wolf
0
630
Member Avatar for Arctic wolf

Hello everyone, I was wondering how can I make a precise delay that is shorter then 1ms on C++(I need it to drive a servo motor via PC)? If I understand correctly the standart delay function has a resolution of 1ms, so it won't do it... Thank you, A.

Member Avatar for Arctic wolf
0
117
Member Avatar for Arctic wolf

Hello, I did some expiremets with turning numbers with floating point to strings and vice versa,and bumped into something strange,here is the code: [code=cplusplus] #include<stdio.h> #include<conio.h> #include<stdlib.h> void main () { double num; num=310.589; char buffer [10]; sprintf(buffer,"%f",num); buffer[7]=NULL; printf("using &num=\n"); printf((char *)&num); printf("\nbuffer=\n"); printf(buffer); printf("\nfragment of buffer=\n"); printf((char *)&buffer[3]); …

Member Avatar for vijayan121
0
708
Member Avatar for Arctic wolf

Hello everybody, I wrote a program that can save some data into file and then read it from there,the weird thing is that it loads correctly from the file only when it's in debbug mode,and doesn't do it at all when it in release mode. Here are the code fragment: …

Member Avatar for Arctic wolf
0
303
Member Avatar for Arctic wolf

Hello, I made a program that uses a random number generator, my generator looks like this: [code] void randomize () { srand((unsigned)time(NULL)); } int random (int highest) { int randomnum; randomnum= int(highest*rand()/(RAND_MAX+1.0)); return randomnum; } [/code] here is the piece of code that calls the generator: [code] int first,second; randomize(); …

Member Avatar for Bench
0
156
Member Avatar for zite.1