Forum: C++ Oct 29th, 2008 |
| Replies: 7 Views: 715 you did not allocate memory for the int* Tests variable.
the thing is I have a
testScores = new int[numTests];
but you don't use that nowhere
Now, the thing is like this
Reading your... |
Forum: C++ Oct 22nd, 2008 |
| Replies: 2 Views: 1,477 |
Forum: C++ Sep 25th, 2008 |
| Replies: 35 Views: 6,440 if u look closer at the code, u will see that buffer is buffer[BUFFSIZE], and BUFFSIE = READSIZE + 1, so... no overrun there :) |
Forum: C++ Jul 29th, 2008 |
| Replies: 3 Views: 434 #include <iostream>
#include <string>
void main()
{
int i,br=0,d=0;
//char r[200];
std::string r;
//printf("Vnesete Recenica\n");
std::cout<<"Vnesete Recenica\n"<<std::endl; |
Forum: C++ Feb 19th, 2008 |
| Replies: 7 Views: 1,582 true, what i meant to say is that if u have
DEFINE_FUNC (12)
the preprocessor should replace with 12 function declarations named func_1 func_2 ... func_12
so as Dave said, the looping is the... |