Click here to Skip to main content
15,885,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem between CPU Utilization & Data Transfer Pin
Cedric Moonen20-Sep-07 1:19
Cedric Moonen20-Sep-07 1:19 
QuestionRe: Problem between CPU Utilization & Data Transfer Pin
Andy Rama20-Sep-07 1:31
Andy Rama20-Sep-07 1:31 
QuestionHow to code Pin
snoop8220-Sep-07 0:06
snoop8220-Sep-07 0:06 
AnswerRe: How to code Pin
Nelek20-Sep-07 0:34
protectorNelek20-Sep-07 0:34 
GeneralRe: How to code Pin
snoop8220-Sep-07 0:40
snoop8220-Sep-07 0:40 
GeneralRe: How to code Pin
Nelek20-Sep-07 1:47
protectorNelek20-Sep-07 1:47 
GeneralRe: How to code Pin
snoop8220-Sep-07 2:15
snoop8220-Sep-07 2:15 
GeneralRe: How to code Pin
Nelek20-Sep-07 3:05
protectorNelek20-Sep-07 3:05 
Just some advices...

1) Use "< pre > your code < /pre >" for snippets of code biggers than some lines, and "< code > your sentence < /code >" to highlite sentences in red (as I made). The first tags make:

//this is an example
//about < pre > tags


it would be easier for us to read


2) The best way to do it is... you make your program, you compile in your computer. Try to solve your errors (can be missings ; or easy things) and... if you don't know what is happening... THEN write us the error that your compiler says, and the piece of code where the compiler sends you when you double click on the error.

If we need more information... we will ask you to give us more code or to answer concrete questions we make


About your code...

I have write a guide, not a functional code... // This 2 shlashes means that, up to this point all the things in the line are COMMENTED, so is not going to be read/compiled.

So... you have to try there, a piece of valid code. I mean (and I do one thing) with this:

for (int i = 0; i < lim; i++)
{
//fill with random
}


has to be done something, for example...

//time.h has to be included at the top  <<--- THIS IS A COMMENT

srand( (unsigned)time( NULL ) );

for (int i = 0; i < lim; i++)
{
myArray[i] = rand ();
}


With that you fill an array with LIM - 1 positions with random numbers.


Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

GeneralRe: How to code Pin
David Crow20-Sep-07 17:42
David Crow20-Sep-07 17:42 
QuestionRe: How to code Pin
David Crow20-Sep-07 17:44
David Crow20-Sep-07 17:44 
AnswerRe: How to code Pin
DevMentor.org20-Sep-07 18:20
DevMentor.org20-Sep-07 18:20 
QuestionHow to use bitmap buttons Pin
Engr_Arsalan19-Sep-07 23:28
Engr_Arsalan19-Sep-07 23:28 
AnswerRe: How to use bitmap buttons Pin
KarstenK19-Sep-07 23:54
mveKarstenK19-Sep-07 23:54 
GeneralRe: How to use bitmap buttons Pin
josip cagalj20-Sep-07 3:19
josip cagalj20-Sep-07 3:19 
GeneralRe: How to use bitmap buttons Pin
KarstenK20-Sep-07 3:27
mveKarstenK20-Sep-07 3:27 
GeneralRe: How to use bitmap buttons Pin
josip cagalj20-Sep-07 3:32
josip cagalj20-Sep-07 3:32 
GeneralRe: How to use bitmap buttons Pin
Engr_Arsalan24-Sep-07 20:42
Engr_Arsalan24-Sep-07 20:42 
GeneralRe: How to use bitmap buttons Pin
josip cagalj24-Sep-07 22:28
josip cagalj24-Sep-07 22:28 
Question[Message Deleted] Pin
imdx8019-Sep-07 23:24
imdx8019-Sep-07 23:24 
AnswerRe: VC++ Editor Quick Question, Pin
nbugalia20-Sep-07 1:33
nbugalia20-Sep-07 1:33 
General[Message Deleted] Pin
imdx8020-Sep-07 2:02
imdx8020-Sep-07 2:02 
GeneralRe: VC++ Editor Quick Question, Pin
nbugalia20-Sep-07 2:17
nbugalia20-Sep-07 2:17 
Question[Message Deleted] Pin
tasumisra19-Sep-07 23:24
tasumisra19-Sep-07 23:24 
AnswerRe: vc++ equivalent of c# Pin
toxcct19-Sep-07 23:35
toxcct19-Sep-07 23:35 
JokeRe: vc++ equivalent of c# Pin
Nelek19-Sep-07 23:38
protectorNelek19-Sep-07 23:38 

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.