Click here to Skip to main content
15,917,328 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Unicode Problem! Pin
paulb26-Sep-02 21:09
paulb26-Sep-02 21:09 
GeneralRe: Unicode Problem! Pin
Anonymous26-Sep-02 21:23
Anonymous26-Sep-02 21:23 
GeneralRe: Unicode Problem! Pin
Andreas Saurwein27-Sep-02 2:06
Andreas Saurwein27-Sep-02 2:06 
GeneralHelp Pin
RobJones26-Sep-02 18:38
RobJones26-Sep-02 18:38 
GeneralNever mind Pin
RobJones26-Sep-02 18:44
RobJones26-Sep-02 18:44 
GeneralChanging current XP theme Pin
Nish Nishant26-Sep-02 18:14
sitebuilderNish Nishant26-Sep-02 18:14 
GeneralRe: Changing current XP theme Pin
jmkhael26-Sep-02 21:51
jmkhael26-Sep-02 21:51 
GeneralDoes anybody knows, how I could plot some histograms with C++. Pin
Seth26-Sep-02 18:09
Seth26-Sep-02 18:09 
Confused | :confused: Hi how are you,

Do you know how I could plot some histograms in C++.

This whole thing should look something like that:

"There are 4 values for each #
Histogram starts at 10.000 with a step size of 5.000.
10.000 : ########
15.000 : #############
20.000 : #######
25.000 : #########################
30.000 : ###############
There are 15 inputs not in the range 10 to 35.

Can you tell me how I could proceed to plot a histogram in C++ like this. It should involve

• A function to read the input values and keep the count in an array.
• A function to obtain the maximum value in a given array.
• A function to calculate an integer division, but with rounding up.
• A function to plot the histogram.
• The main function to drive the whole program.


If you have any suggestions or some good links to any website that might concentrate on histograms, would be of great

help for me.

Thanks


GeneralRe: Does anybody knows, how I could plot some histograms with C++. Pin
Alois Kraus26-Sep-02 21:50
Alois Kraus26-Sep-02 21:50 
GeneralRe: Does anybody knows, how I could plot some histograms with C++. Pin
Maximilien27-Sep-02 4:28
Maximilien27-Sep-02 4:28 
GeneralRe: Does anybody knows, how I could plot some histograms with C++. Pin
Todd Jeffreys28-Sep-02 16:54
Todd Jeffreys28-Sep-02 16:54 
QuestionUsing Default Mail Program? Pin
Swinefeaster26-Sep-02 18:02
Swinefeaster26-Sep-02 18:02 
AnswerRe: Using Default Mail Program? Pin
Nish Nishant26-Sep-02 18:28
sitebuilderNish Nishant26-Sep-02 18:28 
GeneralRe: Using Default Mail Program? Pin
Swinefeaster26-Sep-02 18:30
Swinefeaster26-Sep-02 18:30 
GeneralRe: Using Default Mail Program? Pin
Swinefeaster26-Sep-02 18:53
Swinefeaster26-Sep-02 18:53 
AnswerRe: Using Default Mail Program? Pin
Shog926-Sep-02 18:28
sitebuilderShog926-Sep-02 18:28 
GeneralRe: Using Default Mail Program? Pin
Swinefeaster26-Sep-02 18:30
Swinefeaster26-Sep-02 18:30 
GeneralRe: Using Default Mail Program? Pin
Swinefeaster26-Sep-02 18:53
Swinefeaster26-Sep-02 18:53 
Questionmay i read the same object on network from a file? Pin
imran_rafique26-Sep-02 16:03
imran_rafique26-Sep-02 16:03 
AnswerRe: may i read the same object on network from a file? Pin
jmkhael26-Sep-02 22:00
jmkhael26-Sep-02 22:00 
GeneralWSAAsyncSelect I/O & Multithreading :: Winsock Pin
valikac26-Sep-02 13:23
valikac26-Sep-02 13:23 
GeneralRe: WSAAsyncSelect I/O & Multithreading :: Winsock Pin
jmkhael26-Sep-02 22:02
jmkhael26-Sep-02 22:02 
GeneralRe: WSAAsyncSelect I/O & Multithreading :: Winsock Pin
valikac26-Sep-02 22:33
valikac26-Sep-02 22:33 
GeneralRe: WSAAsyncSelect I/O & Multithreading :: Winsock Pin
Jon Hulatt26-Sep-02 22:44
Jon Hulatt26-Sep-02 22:44 
GeneralRe: WSAAsyncSelect I/O & Multithreading :: Winsock Pin
jmkhael26-Sep-02 22:46
jmkhael26-Sep-02 22:46 

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.