- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 6
- Posts with Downvotes
- 2
- Downvoting Members
- 5
[CODE] Str Str:: operator+(const Str & append) const { unsigned i,j; for(i=0,j=0 ; i<append.used; i++ ,j++) temp[i]=append.data[j]; for(j=0 ; i<used; i++, j++) temp[i]=data[j]; temp[i]='\0'; } [/CODE] used and append.used are the length of strigs. and data is pointer to array. Hi I am trying to concatenate two strings in the … |
|
Hi When you ask for a person to write what code he/she has written and then ask questions based on his/her code other people can simply copy and paste his code. That is called COPYRIGHT. so you should person to delete his/her code , I asked for you to delete … |
|
Hi I would like to delete my "getchar putchar post" because I really wanna do that .How can I do that? thanks. |
|
I would like to write a program with getchar and putchar that read my input and prints one word per line and ignores all semicolon, comma , dot , newline, tab and space. Here is my input: "The Parsnip The parnip, children, I repeat, Is simply an anemic beet. Some … |
|
Here is my code, I would like to check my input for errors in the first and lastname parts. it means that these two parts should contin just upper and lower case letter and hyphens(cin must be used as well). [CODE] #include <iostream> #include <string> #include<cstdlib> using namespace std; struct … |
|
Could you please help why my program goes through do while loop just once, although the condition is true. //Program is getting numbers from user and realize whether they are correct numbers for triangle side or not and if tey find out the area// [CODE] #include<stdio.h> #include<math.h> double TraingleArea(); int … |