I already got one and so did my friend. Hard as it is to beleive, it is legit. The only thing you have to do is sign up for an offer (that you can cancel) and five other to do the same. So...
Type: Posts; User: stautze
I already got one and so did my friend. Hard as it is to beleive, it is legit. The only thing you have to do is sign up for an offer (that you can cancel) and five other to do the same. So...
mahalo
here is a page at my school that can explain how it dependencies work and how to create a make file better thatn I can.....
http://www.eng.hawaii.edu/Tutor/Make/
my mistake, I just typed that out as an example of what I was doing, and I haven't coded in a while.... but I am using the correct parameters when I call fgets, I just wanted to know who you can get...
I am using fgets like this:
fp=fopen("test.txt","r"); //open file
while(fgets(string,'\n',fp) != NULL){
count++;
if(strcmp(string, start) == 0){
Thats what I was looking for. My textbook doesn't have an example of friend classes. Thanks....
I wonder if I could accomplish the same thing with handles, and if so which way is better, handles...
I am trying to create an object "C" than contains an array of "B" objects, and each of these "B" objects conatins an array of "A" objects. Actually creating the objects is not the problem, the...
here's an insertion sort
template<class T>
void insertionSort(std::list<T>& listRef)
{
list<T>::iterator iter1, iter2, iter3;
iter1 = listRef.end();
thanks
What is wrong with this:
template<class T>
void printList(const List<T> &list)
{
...
}
Sorry then, i am doing a hw assignment with strings right now, and i am a bit baffled myself...
I have never really worked with the string class before, so I can't really help you out there. If you want to use an array though, you could do it like this:
[code]
char rawinput[80];
char...
I'm not saying this is the best way to do this... I did an assignment like that a while ago and i used getline to input the string into an array. Then i just used a loop to copy every character...
thanks
thanks for the good answer. I still have another question though. :)
All i need to do with the struct defintion then is to put it in the header file that is included in every cpp file?
...
thanks for the replies, i understand every thing except how to declare the global variable. What i really have is an array of structs.
typedef struct tile {
bool furniture;
bool cat;...
sorry, one more question. I know how to delete, but how do i test to make sure the memory is allocated.
what if i have functions in several different cpp files that all need the global array? Is this possible?
i need to make a dynamic global 2d array....
will this work....
//inside of header file, but outside of function
int p**
what kind of computer do you have, i bet it is either really new or really old. like everybody else said it is probably a problem with your kernel autodetecting something. for example you could...
are they equivilent?
> "I am new to c++", and you're telling him to throw and catch exceptions already? And throwing classes at that?? Yeesh, might as well tell him to learn Winsock API! (I heard that's difficult to...
>Of course your version will likely be more robust than mine (access restictions...) but that's a basic idea
probably not :), whats an access restriction?
correct me if i am wrong, but the way you have it written the class DenominatorIsSetAsZeroException needs no members?
Would it look like this though if I added members:
class...
fordy, thanks i like how you did that, and i want to use it. But i don't understand everthing you did.
In particular the line under public:
class DenIsSetAsZeroException{};//exception for use...