Hi I am trying to experiment with GetPixel() to see if I can get a color output. So far this is my code:
#include <iostream>
#include <Windows.h>
using namespace std;
int main()
{
Type: Posts; User: teebo
Hi I am trying to experiment with GetPixel() to see if I can get a color output. So far this is my code:
#include <iostream>
#include <Windows.h>
using namespace std;
int main()
{
Here is the heap I am looking at,
11102
As you can see from the heap tree, the order of the nodes are everywhere. The number 1 is on the right side and the number 2 is bottom left. How would I...
If I have this,
struct BinTreeNode
{
int data;
BinTreeNode * left;
BinTreeNode * right;
};
Not sure what substr is. I just copied it down as he had it on the board. I tried using #include <string> but it still gives the error. The error says substr is undefined.
void writeback(char n[])
{
string a;
if(strlen(n)>1)
{
writeback(substr(n,1));
}
cout << n[0];
}