Click here to Skip to main content
15,890,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: display symbol at some address Pin
George_George30-Jun-08 17:32
George_George30-Jun-08 17:32 
GeneralRe: display symbol at some address Pin
cmk1-Jul-08 5:01
cmk1-Jul-08 5:01 
GeneralRe: display symbol at some address Pin
George_George2-Jul-08 2:04
George_George2-Jul-08 2:04 
GeneralRe: display symbol at some address Pin
cmk2-Jul-08 5:57
cmk2-Jul-08 5:57 
GeneralRe: display symbol at some address Pin
George_George4-Jul-08 2:42
George_George4-Jul-08 2:42 
GeneralRe: display symbol at some address Pin
cmk4-Jul-08 6:55
cmk4-Jul-08 6:55 
GeneralRe: display symbol at some address Pin
George_George6-Jul-08 16:29
George_George6-Jul-08 16:29 
GeneralRandom numbers [modified] Pin
gordon305629-Jun-08 19:04
gordon305629-Jun-08 19:04 
I'm trying to generate random numbers with

#include <stdio.h>

void main( )
{

int iRandom = 0;
iRandom = ( rand( ) % 100 ) + 1;
printf( "\n\n%d", iRandom );

}

the result is 42 everytime any help please

Microsoft visual c++ 9.0 / Vista

<div class="ForumMod">modified on Monday, June 30, 2008 1:13 AM</div>
GeneralRe: Random numbers Pin
«_Superman_»29-Jun-08 19:16
professional«_Superman_»29-Jun-08 19:16 
GeneralRe: Random numbers Pin
gordon305629-Jun-08 19:24
gordon305629-Jun-08 19:24 
GeneralRe: Random numbers Pin
_AnsHUMAN_ 29-Jun-08 19:19
_AnsHUMAN_ 29-Jun-08 19:19 
QuestionNumber property(Use only digits) of EditBox. Pin
Le@rner29-Jun-08 18:46
Le@rner29-Jun-08 18:46 
AnswerRe: Number property(Use only digits) of EditBox. Pin
Naveen29-Jun-08 19:10
Naveen29-Jun-08 19:10 
GeneralRe: Number property(Use only digits) of EditBox. Pin
Le@rner29-Jun-08 19:44
Le@rner29-Jun-08 19:44 
GeneralRe: Number property(Use only digits) of EditBox. Pin
MANISH RASTOGI29-Jun-08 20:35
MANISH RASTOGI29-Jun-08 20:35 
GeneralRe: Number property(Use only digits) of EditBox. Pin
Le@rner29-Jun-08 20:44
Le@rner29-Jun-08 20:44 
GeneralRe: Number property(Use only digits) of EditBox. Pin
MANISH RASTOGI30-Jun-08 2:08
MANISH RASTOGI30-Jun-08 2:08 
GeneralRe: Number property(Use only digits) of EditBox. Pin
Le@rner30-Jun-08 2:12
Le@rner30-Jun-08 2:12 
GeneralRe: Number property(Use only digits) of EditBox. Pin
MANISH RASTOGI30-Jun-08 2:24
MANISH RASTOGI30-Jun-08 2:24 
GeneralRe: Number property(Use only digits) of EditBox. Pin
Le@rner30-Jun-08 19:38
Le@rner30-Jun-08 19:38 
AnswerRe: Number property(Use only digits) of EditBox. Pin
Iain Clarke, Warrior Programmer30-Jun-08 2:13
Iain Clarke, Warrior Programmer30-Jun-08 2:13 
QuestionRe: Number property(Use only digits) of EditBox. Pin
David Crow30-Jun-08 3:11
David Crow30-Jun-08 3:11 
Questionthree questions about CoInitialize/CoUninitialize Pin
George_George29-Jun-08 17:36
George_George29-Jun-08 17:36 
AnswerRe: three questions about CoInitialize/CoUninitialize Pin
Naveen29-Jun-08 17:44
Naveen29-Jun-08 17:44 
GeneralRe: three questions about CoInitialize/CoUninitialize Pin
George_George29-Jun-08 18:02
George_George29-Jun-08 18:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.