
please wait
by gdz98
array displayed through recursive function and loop
|
Hi guys, I m going through chapther 15 of jumping into C++, and the 2nd exercise says : "Write a recursive function that takes an array and display the element... |
May 30, 2018 at 7:26pm
[5 replies] Last: @gdz98 1. Use dummy data and solve a simple version of the problem. Y... (by icy1)
|
by zapshe
What Kind Of Coding Is This?
|
Hi, I saw this video and was wondering what kind of coding was used. I assumed it was C++ based when I saw the syntax. https://www.youtube.com/watch?v=EzedMd... |
May 30, 2018 at 7:38am
[6 replies] Last: ethanscott , it's better to start a new thread for this. (by kbw)
|
by dedgrr0l
Function that jumbles string
|
I have to write a function that takes a string as an input and displays a jumbled version of that string. I've asked user input for the string already in the ma... |
May 30, 2018 at 6:13am
[3 replies] Last: Pass the string by value to the function (the function gets a copy of ... (by JLBorges)
|
by gdz98
Deleting elements from a linked list
|
Hi guys I m practicing with this problem : "Write a program to remove an element from a linked list; the remove function should take just the element to be r... |
May 29, 2018 at 7:49pm
[16 replies] Last: ok guys thanks everybody for your time and help.... now I ve finally m... (by gdz98)
|
by jony11
Function prototype
|
write the program with fuction prototype,calling and definition.Fuction should return sum and quantity of those array element that are less than X.FUcktion mucs... |
May 29, 2018 at 12:26pm
[6 replies] Last: #include<iostream> using namespace std; void myFunction(int A , int,... (by Manga)
|
by adam2016
most essential algorithms?
|
Hello guys so a question,what algorithms do you think are the most useful to know off the top of your head,I know many if not most algorithms have already been ... |
May 29, 2018 at 1:11am
[5 replies] Last: well, yes :) one way that you would write new, interesting code that ... (by jonnin)
|
by adam2016
Allocating memory
|
hey guys,I am reading an article which I will post below, https://www.codeproject.com/Articles/4795/C-Standard-Allocator-An-Introduction-and-Implement it ... |
May 28, 2018 at 9:04pm
[3 replies] Last: [quote=adam2016]Why can't you pass sizeof(A) to new in real C++? I di... (by tpb)
|
by aseagle
Need help making an image the background for the window created by my c++ program
|
I am very new to C++. This is my code thus far, it's messy because I have tried so many things I have found online to try and make an image, which is titled glo... |
May 28, 2018 at 7:27pm
[3 replies] Last: @FurryGuy it does compile. As for why, it's because I am trying differ... (by aseagle)
|
by masoudab
Need help for my homework
|
by input x & n : +(x/1!)-(x^2/2!)+(x^3/3!)- ... (x^n/n!) = ? I do it without 'n' but I don't know how limit above series. #include <iostream> usi... |
May 28, 2018 at 3:38pm
[5 replies] Last: It's more influenced by how I would evaluate polynomials, @tpb. Usuall... (by lastchance)
|
by grjr02
Ifstream, Functions, Arrays
|
Hello. Im trying have a program read values from an outside file and put those values into an array using a second function. I'm not sure the right method to ca... |
May 28, 2018 at 12:42pm
[3 replies] Last: Hello grjr02, After working with your program there are a couple of t... (by Handy Andy)
|
by bestblueever
Input a string and change lower case vowels to upper case
|
I need to change the vowels to uppercase. But dont know how to do it with only vowels.. Example Input: Hello World Example Output: HEllO WOrld #include <io... |
May 28, 2018 at 4:30am
[1 reply] : #include <iostream> #include <string> #include <cctype> bool is_vowe... (by JLBorges)
|
by adam2016
program exits after fgets()?
|
Hi guys my program seems to exit pretty much terminates after I enter the username I type in Adam,the program stalls for a while then just terminates, any ... |
May 27, 2018 at 9:20pm
[6 replies] Last: I had my doubts it would work as str in myString class is a char * wh... (by Peter87)
|
by Azetron
Help
|
Hi. I need help with a doubly linked list. I want to make a list with 10 nodes and the first node to be linked with the nodes 2,3 and 4. And after i made the l... |
May 27, 2018 at 7:33pm
[1 reply] : "doubly linked list" means that a node in such list knows both the pre... (by keskiverto)
|
by DeathShaman1
Magic Square Help
|
The goal of my assignment is to make a 'Magic Square' with sixteen user input integers. the actual prompt is, "Magic squares. An n x n matrix that is filled ... |
May 27, 2018 at 7:03pm
[2 replies] Last: Thank you tpb for the assist. (by DeathShaman1)
|
by celmlauzis
Unexpected exit from do-while loop
|
Can someone explain me why i have unexpected exit form function arraySort() at the end of 1 loop? Visual studio debuger wont show any errors My task i... |
May 27, 2018 at 4:51pm
[2 replies] Last: Found my problem :) while (counter != 0); //if counter = 1 exit mus... (by celmlauzis)
|
by elvizzz22
Bubble sort to stack
|
I need to change my bubble sort (void stekas) to something called stack. Thing is that in file there are numbers and I need to sort them to rising order. I did ... |
May 27, 2018 at 1:00pm
[3 replies] Last: Like this: #include <iostream> #include <string> #include <stack> #i... (by Thomas1965)
|
by iRatedRetro
Array minimum
|
I need to exclude the minimum of the 4 test scores that are inputted so that the output average is without it. #include <iostream> using namespace std;... |
May 27, 2018 at 12:19pm
[6 replies] Last: Hello iRatedRetro, Just to help you along we know that the code for i... (by Handy Andy)
|
by Ganado
Overload resolution - class member vs non-member
|
From a conversation in a different thread with adam2016, I realized I don't understand why standard is choosing one seemingly ambiguous overload over another. I... |
May 27, 2018 at 11:47am
[5 replies] Last: thanks Jl :) (by adam2016)
|
by toby1a05
The wonder of memory limitation
|
i tried to use malloc to allocate memory to int array but the array seems never be fulled, it is so werid! I just allocated 1 sizeof(int) to the array,should th... |
May 27, 2018 at 9:57am
[1 reply] : You are accessing memory that is outside the memory block that you hav... (by keskiverto)
|
by maryt
C-Circular List - push-delete-traversal
|
Below , there is a function for inserting data into a node of a circular list. Can u please help me create a delete function for the circular list by providing ... |
May 27, 2018 at 12:14am
[1 reply] : static void push(node *head, int v) { node *temp = (node*)malloc... (by nuderobmonkey)
|