Hello,
How can I check how much time and memory my program is using?
I am using windows and G++ compiler.
For the time I used some windows API and found a solution, but I don't know what to do with memory.
If there is a program that will work pleas tell me.
Thank you
Search found 8 matches
- Mon Jul 25, 2005 3:10 pm
- Forum: Other words
- Topic: Time and Memory usage (G++, WINDOWS)
- Replies: 0
- Views: 940
- Sun Jul 13, 2003 12:04 pm
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50699
- Sat Jul 05, 2003 12:45 pm
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50699
103, Can't understand it, maybe mistake in the example
Hello,
I have created an algorithm that reads the input and stores it in a 30x10 table, then short the dimensions and then short the boxes. However it seams that some boxes have to be removed that does not match, but this doesn't seam to work fine. Here is the C++ program:
[cpp]#include <sys/types ...
I have created an algorithm that reads the input and stores it in a 30x10 table, then short the dimensions and then short the boxes. However it seams that some boxes have to be removed that does not match, but this doesn't seam to work fine. Here is the C++ program:
[cpp]#include <sys/types ...
- Sat Mar 15, 2003 7:24 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318536
- Sat Mar 15, 2003 5:14 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 109091
101 - Why W.A.? - Tested on many excamples
[cpp]#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
int (*bl)[25] = new int[25][25];
int n;
// move 9 onto 1
// InpA = 9
// InpB = 1
// InpC = "move"
// InpP = "onto"
int InpA, InpB;
char *InpC = new char;
char *InpP = new char;
//
void Complete_bl(void);
bool ...
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
int (*bl)[25] = new int[25][25];
int n;
// move 9 onto 1
// InpA = 9
// InpB = 1
// InpC = "move"
// InpP = "onto"
int InpA, InpB;
char *InpC = new char;
char *InpP = new char;
//
void Complete_bl(void);
bool ...
- Thu Mar 13, 2003 5:22 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318536
- Wed Mar 12, 2003 4:25 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318536
- Tue Mar 11, 2003 10:37 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318536