20 years, 8 months ago
Highlights
Well, I want to do it this way:CODE:#include <string>#include <stddef.h>#include <iostream>using namespace std;int main(int argc, char* argv[]){char str[] = "H…
20 years, 8 months ago
20 years, 8 months ago
Hey, I want to write a program that uses character arrays and string to reverse a given string. 1) How can I create a string on the fly. I mean how can reserve memory for m…
20 years, 8 months ago
Hi all, I have a problem. The code: MyString str3 = str2; causes an error when the application closes, namely when str2 is destructed and I try to free the memory. I've tracked…
20 years, 8 months ago
Hey, I would a program look like, that prints out the name passed in the command line? I already have two chars. One for "hello" and one for "world". So when I do this,…
20 years, 8 months ago
Latest Activity
See all in DiscussionsWell, I want to do it this way:CODE:#include <string>#include <stddef.h>#include <iostream>using namespace std;int main(int argc, char* argv[]){char str[] = "Hello"; …
20 years, 8 months ago
Thanks guys, great help!!!!
20 years, 8 months ago
Hey, I want to write a program that uses character arrays and string to reverse a given string. 1) How …
20 years, 8 months ago