|
-
February 26th, 2004, 01:34 PM
#16
Thanks to Paul McKenzie and everyone
I got it work now,and i found out why is my program had error run time.I asked my professor today abour run time error,but she was kind of explaining out of my question.Note that she never explain us about this in class.. ..Well, i guess i need to learn how to debug with Dev C++ and VC C++ by myself...If anyone know where can i find tutorial online that will really helpfull...thanks alot ...and have a good weekend
-
February 26th, 2004, 01:56 PM
#17
BTW, on kas' first post, you can have as much whitespace between the :: operator and its two operands as you want. You can have none, one on each side, one on one side, have the :: on its own line, C++ doesn't care.
And to get the forum to display my_string::print properly you need to check the "Disable smilies" box below the input area.
All the buzzt
CornedBee
-
February 27th, 2004, 06:09 PM
#18
Originally posted by tinhnho
Well, i guess i need to learn how to debug with Dev C++ and VC C++ by myself...If anyone know where can i find tutorial online that will really helpfull...thanks alot ...and have a good weekend
"debug tutorial" <---in your search engine, a lot of links for you then.
Look out these, not knows if you liked them,
I 100% new to programming and all of stuff like this, they boring, right ? I think that so.
http://www.cs.iit.edu/~resource/supp...html#questions
http://www.cygnus.com/gdb/
http://libcwd.sourceforge.net/tutorial/tut1.html
-
February 27th, 2004, 06:14 PM
#19
Sierous, my teacher told me that, debug is not difficulty at all, first (he told me) I shoudl study ASM (assembler) to know machine language stuff a bit, debuggin also kind of art but not someting spicial much, you can leant from internet (a lot a lot, very a lot) or serch for free books on net.
Helped ? Satisfied ?
-
February 27th, 2004, 06:47 PM
#20
Originally posted by CornedBee
BTW, on kas' first post, you can have as much whitespace between the :: operator and its two operands as you want. You can have none, one on each side, one on one side, have the :: on its own line, C++ doesn't care.
I thought that was the case after I posted that but I figured I'd leave it just incase. Meh :(
-
February 28th, 2004, 02:38 PM
#21
Bad strrev()
Code:
void mystring::strrev()
{
char c;
size_t half=len/2, i=0;
for( ; i<half; ++i)
{
c=s[i];
s[i]=s[len-i-1];
s[len-i-1]=c;
}
}
-
February 28th, 2004, 04:53 PM
#22
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|