Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~9K People Reached
Favorite Forums
Favorite Tags
c++ x 4
c x 1
Member Avatar for winbatch

Is there a standard algorithm that can take the output of difftime (which is in seconds) and use it to print out the number of minutes, hours, days, weeks, etc.? I was going to try and calculate this myself by using the modulo, etc. but thought that something might pre-exist..

Member Avatar for Reverend Jim
1
8K
Member Avatar for trillionaire

Hi there, I have written a simple program which I know a solution to, I simply don't understand why the version below doesn't work. I have investigated the answer to roughly how it goes wrong, I just don't know why! Where the problems begin is commented in the last six …

Member Avatar for Narue
0
148
Member Avatar for mmgoicochea

So heres a portion of my program... the program has several functions (each doing diff. things) Im having a problem I can not find the way to write the sum of the third row in costOfSports array. the book says something like this: for(col=0;col<5;col++) { for(row=0;row<3;row++) { row_sum[row]=array[row][col]; } } …

Member Avatar for trillionaire
0
113
Member Avatar for Bythos

Hi folks, Fresh newbie here. I'm taking a c++ class and I'm just a beginner. We have started to learn pointers and I discovered some puzzling behavior while messing around with the address operator [ICODE]&[/ICODE]. Here is my code snippet: [CODE] char letter = 'a'; int integer = 1; char …

Member Avatar for trillionaire
0
216