
please wait
by XXpoomaanXX
NEED HELP WITH IMPORTANT PROJECT PLEASE
|
Hello, I was to make a post office management system for my school project and it is working perfectly, but now i want to decorate it and add some borders to th... |
Jun 26, 2017 at 11:23am
[11 replies] Last: @whitenite1. I tried that and it did not work. As I said I found tha... (by Handy Andy)
|
by sharbu
Count the number of duplicate elements in an array-C
|
Accept an Array of size N and print the total number of duplicate elements (The elements which occur two or more times). Input Format: The first line contains... |
Jun 26, 2017 at 10:49am
[2 replies] Last: Figured it out :) #include<stdio.h> #include <stdlib.h> int main()... (by sharbu)
|
by sharbu
convert a bool return value into YES or NO
|
The following program finds whether the given two strings are isomorphic or not. This code returns 1 or 0 but i want to return "Yes" and "No" as output. // C... |
Jun 26, 2017 at 9:03am
[6 replies] Last: I'll try again. Aim is to make it work for any container, not just str... (by lastchance)
|
by elohssa
Rules around RVO
|
Hi Just to confirm: struct Block { struct DataWriter { DataWriter(Block* owner) : mOwner(owner) {} DataWriter(DataWriter&& other) : mOwner(other.mOwne... |
Jun 26, 2017 at 8:28am
[5 replies] Last: Got it thanks. "even on an lvalue" Makes sense, that's a good one to... (by elohssa)
|
temperature conversion loop |
I do not know how to start this program. I have to do a while loop and convert temperatures. I also need to prime the loop. #include <iostream> using name... |
Jun 26, 2017 at 6:13am
[6 replies] Last: I typed it out. You must be fairly tired seeing that you started in... (by closed account 48T7M4Gy)
|
by sharbu
strlen function in C
|
Iam doing skillrack challenges for more than a year now my question is when i execute the following program iam getting 6 and 5, instead of 5 5 for the input: b... |
Jun 25, 2017 at 7:37pm
[4 replies] Last: zero it? for(x = maxlen; str != ' '; x--); and I think you want str[... (by jonnin)
|
by H00G0
Conversion error on simple pointer program.
|
Hello! I'm currently working on a simple program on pointers and encountered an issue. The instruction for the program reads: /*Write a program that dynami... |
Jun 25, 2017 at 6:57pm
[4 replies] Last: What's wrong with using cout? And instead of getch() why not just use... (by H00G0)
|
by rajhansk
How does map iterator work?
|
I have seen a standard example of iterator on this website, when I compiled this program the output was in alphabetical order. I tried the same program with ... |
Jun 25, 2017 at 3:43pm
[2 replies] Last: Thanks (by rajhansk)
|
by somefight
while if problem ..
|
hi, i am a new beginner,i don know what wrong in my code?actually i want print out a=5, b=5, c=5.but still cant work. #include <iostream> using namespace st... |
Jun 25, 2017 at 12:41pm
[5 replies] Last: thanks for help!! (by somefight)
|
Using function pointers on class member functions |
Hello, I am trying to do the following: - Have a chooser function which returns a function pointer - Then based on this pointer I run the corresponding f... |
Jun 25, 2017 at 5:57am
[3 replies] Last: thank you! this was extremely helpful I am a bit new to programming ... (by erixliechtenstein)
|
by sharbu
for loop: iterate between specified numbers
|
The loop must initialize on a specified number and iterate between the given intervals. Eg: distributing chocolates to children. input: n=10 c=15 q=6 output: l... |
Jun 25, 2017 at 4:04am
[8 replies] Last: #include <iostream> int main () { int n = 10; // number of child... (by closed account 48T7M4Gy)
|
by ayoesquire
Ray mapping inn C++
|
Hello guys, Please I can anyone give me suggestion on good e-books or video tutorials, etc where I can learn Ray mapping in C++? I need to learn it for my acad... |
Jun 24, 2017 at 8:15pm
[6 replies] Last: Why, thank you. (by ayoesquire)
|
by sharbu
Extracting and adding integers in a string.
|
The program must extract the integers between two string characters and return the sum of them. EX: iam12aninquis875ite1learn100er. output: 988 explanation: ... |
Jun 24, 2017 at 3:37pm
[6 replies] Last: #include <iostream> #include <sstream> #include <string> #include <cc... (by lastchance)
|
by CosminPerRam
Program stuck but processing
|
Hello fellas again, im trying to do an square root calculator as practice, and i have done it but when i enter my number it will stuck and if i look into task m... |
Jun 24, 2017 at 11:13am
[10 replies] Last: I figured out the problem, the program was doing an infinite loop beca... (by CosminPerRam)
|
While Looping |
I have been trying to figure out what is wrong with this code but I cannot. I am new to C++, so maybe that's the reason. I am not here for an answer, just give ... |
Jun 24, 2017 at 11:02am
[8 replies] Last: Thank You, everyone!! I appreciate the help!!. (by MichaelBhattacharya)
|
Need help making additions in c++11 (1,2) |
I need help trying to adjust my program to look like the sales report. Any suggestions on how to approach this. Prompt: Use a single-subscripted array to so... |
Jun 24, 2017 at 10:46am
[23 replies] Last: Hello jlin55 So put int range ={0} in SalesReport class? Yes. And... (by Handy Andy)
|
by Icyblizz
Linked list recursion exercise
|
Exercise : Write a recursive algorithm to remove elements from a linked list. Write a recursive algorithm to add elements into a linked list. Try writing the s... |
Jun 23, 2017 at 8:22pm
[2 replies] Last: @ne555 Seemed like a good way to practice my dynamic allocation, gues... (by Icyblizz)
|
by Armannn
shared_ptr
|
Hello! I am currently practicing shared_ptr's, but for some reason my code always gives me a Run Time Error at one particular line ("cout << crt << "Class -> "... |
Jun 23, 2017 at 3:22pm
[2 replies] Last: You need to include string.h as you use C string calls. Constructs li... (by kbw)
|
by Meden
Making a palindrome (1,2)
|
Palindrome = number or word that has the same beginning characters as ending characters. Examples: "rotator" "racecar" "123321" Ultimately I want to iterate o... |
Jun 23, 2017 at 2:38pm
[30 replies] Last: #include <iostream> #include <sstream> #include <algorithm> #include ... (by closed account 48T7M4Gy)
|
by Funkman
error: Id returned 1 exit status
|
I have to make a program that codes it's own queue(cola) class for plane(avion) type objects, but when compiling I receive this message without information of w... |
Jun 23, 2017 at 12:41pm
[9 replies] Last: Thanks for the gotcha info, mbozzi. (by Ganado)
|