Two.
Type: Posts; User: almost_here
Two.
Works fine for me too..... both versions do. * is before +
Brackets
Of
Division
Multiplication
Addition
Subtraction
(i think that's right...)
I think your problem may lie here :
// Ok... this makes sense
do
{
.....
oops.. sorry, back buttons not liked by board :D
Someone asked that question recently... this link should take you to the thread ...
ifndef thread
If not, it's on the same page as this question at the moment :)
Almosthere
Someone asked that question recently... this link should take you to the thread ...
ifndef thread
If not, it's on the same page as this question at the moment :)
Almosthere
I think what worries me the most is that if they can e-mail me my password from a site then they are able to retrieve it themselves. The passwords we type in must be stored in a retrievable form as...
Thanks ... you learn something new every day don't you? :)
Hmm... Not sure what you're trying to do exactly (what the heck is an odometer??) but...
1) for loops need a { and a } unless it's only the next line for the loop in which case you need nothing at...
Continuing this line of thought........ is there any support available in C/C++ for regular expressions?
Almosthere
The Turing Test is not something people take :)
Turing believed that the only way to prove an artificial 'thing' had intelligence - or AI - was if it could convince a human being it was real in...
>>Prototype strcpy(char *, char *) so...
Watch it though... this one always catches me out. It's actually a const char * for the second parameter... it makes a difference if you want to use a...
Ummm.. how many times has this query been posted? My count is 3...
Almosthere
(hmm... maybe i should have thought about my last post for longer... why was i even copying and then renaming?? geeeeez i think i'm getting tired :(.. )
:)
You could just use system calls for it all.. it's a little nasty but if you're the only one using it (ie. os doesn't matter) and speed of the program is not an issue, i'd go for that option.
You...
Definitely - that book is superb. i bought it a couple of weeks ago (don't ask me why - just like having something solid in front of me) and it's really easy to follow.
A very pretty (and good)...
Sorry. .. in C++ mode ;)
s/\/\/(.*)$/\/\*$1\*\//g;
:D
You can't use the whole array as a pointer - a pointer can point at only one memory location. You want to do something like this i believe :
#include <stdio.h>
void myfunc(int *myp);
int...
>well, this has been asked but i'm very curious...
>what are you programming right now?
Interestingly enough, I started that thread last time... i cannot, however, remember my user name from...
England - sorry to disappoint ;)
I think Linux is certainly the way forward, but how many times have people ignored the way forward in favour of the easier route?
I use Win2k at home and Winnt at work, dual boot with Slackware...
Ok... i think i follow ya... :)
What you want to be doing is passing a pointer to the function which needs the object (pointers are just references, right, so if you need to reference the object...
Use the code tags (the # button above the bit where you type your post in) 'cause your code is pretty difficult to read otherwise...
Almosthere
Ok... let me just get this straight before I reply fully... you want to create an object (of a class type, if you like) and be able to access that from within other classes. Does that mean you want...
From what you've said it sounds like you're creating the instance in one source file and trying to access its member functions in another source file - which i think may be stretching the scope of...