- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
6 Posted Topics
Hi guys I just joined this community and I'm looking forward to being a part of it. This is my first programmer forum that I've joined and I think I joined because I want to become a better programmer. I'm in my second year at Kent State studying Computer Science, … | |
Hi, I'm doing a project where we make our own string class and I'm having trouble with the substring function. This is what I have so far. [CODE]string string::substr(size_type idx, int length) { // can use the += char somewhere string *someString; char *ch = _data; for(idx = 0; idx … | |
Hi I'm doing a project for school and I'm stuck on this particular function, whenever it runs the test I get this error: [CODE]malloc(): memory corruption (fast): 0x0981f018 ***[/CODE] here is what i have so far: [CODE] string& string::operator+=(char ch) { _size += 1; if(_capacity <= _size){ (*this).increase_capacity(1); } _data[_size … | |
Hi everybody I am working on a String project for my class and I'm stuck on this swap function. This is what my professor has in his "tests" : [CODE]void test_swap_first_shorter() { // Setup fixture string foo("foo"); string barbar("barbar"); // Test foo.swap(barbar); // Verify assert(foo == "barbar"); assert(barbar == "foo"); … | |
I would love to work on a fun baseball game, something like MLB Power Pros or something like it and I would like to find a Linux baseball game, not the stats manager or text based ones. I'm just wondering why do you think there is no baseball game for … | |
Hi everybody I am asking for help with school in a different way. I am doing a survey on open source and it's based on high school and college students, I wanted it to be more general( maybe next time) but I don't have enough time. So if you could … |
The End.