fixed it
thanks your input helped
Type: Posts; User: meeloff
fixed it
thanks your input helped
I am getting an undeclared identifier error when everything is declared correctly:
source.cpp
const int bigger = 150000;
int bubbleArray[bigger];
BubbleSort(bubbleArray, size);
header.h
Thank you Very much
so this:
time_t a = time(NULL);
cout<<a<<endl;
will output the time.
When using the time function from the header file, ctime, What should I put between the brackets? I looked at msdn online and it showed me time_t time( time_t *time) but I am not totally sure what...
Something like this:
#include <cstdlib>
#include <iostream>
void main()
{
int i;
int size = 50;
I have two questions out there for those who can respond.
1. How do I create a large array full of random integers?
2. How do I call the time so I can use it for checking the speed of a...
Yes to the first, and there shouldn't be a problem with using the same file for both variables. One is an input variable the other output. please inform me if I am wrong.
***Warning this is for homework.
I am on the final debug for a program of mine. The program is designed to restart your computer upon going beyond the boundaries of your stack. The stack is an...
First off, this is for homework and I mearly want a shove in the right direction. If its with a nudge or a dump truck makes no nevermind to me.
What I want to do is have a class member function...
I am somewhat new to programming in C++, but not so much that I can't navigate it well. I go between 2 different versions of Visual C++ IDE, Visual C++ 6 and Visual C++.net 2002 std. I tried the...