
please wait
by nearc
How to delete whole linked list?
|
Can't find information, can only find how to delete at certain place. |
Jun 25, 2018 at 7:06pm
[4 replies] Last: I gave you the algorithm, is that sufficient for you? BTW: It shoul... (by jonnin)
|
by Trezkez
c - calculating file content separately
|
Well, so far I've opened a file. The file output looks like this: Credit: 300 20 100 45 Cash: 150 200 30 10 25 Everything is fine with the... |
Jun 25, 2018 at 6:49pm
[4 replies] Last: Here's a possibility in C: #include <stdio.h> #include <stdlib.h> #... (by tpb)
|
by Mahir247
"x" outputs as an integer even though it is a float!
|
Hi, so I recently started learning C++ and I first decided to make a quadratic calculator. I have seen through some of the errors and I eventually cleared them ... |
Jun 25, 2018 at 4:49pm
[1 reply] : http://www.cplusplus.com/forum/general/238780/ (by helios)
|
by fstudent
Adding a Max Bet Option for a Craps game
|
I am sure I'll save myself half a day by posting my question here. I need to add an option where if I type "max" I can bet the maximum amount. Yes I have a l... |
Jun 25, 2018 at 3:57pm
[2 replies] Last: jonnin: Thanks for the reply! For now I have used a char to check the... (by fstudent)
|
by CGunn86
Difference between these two?
|
What is the difference between these two pieces of code? Are they the same with just a different way of defining? std::unique_ptr<int> y(new int(20)); ... |
Jun 25, 2018 at 1:09pm
[2 replies] Last: That "unspecified-evaluation-order leak" in JLBorges link is mildly su... (by tpb)
|
by sc7
which datastructure to use here?
|
I recently met with a graph theory question which asks us to some operations on a graph, I can't seem to put my finger on the right datastructure to use there f... |
Jun 25, 2018 at 11:50am
[5 replies] Last: Something along these lines, perhaps: #include <map> #include <vect... (by JLBorges)
|
what laptop specification needed before i can run unreal engine4 |
hello guys, i wanna start using unreal engine to build C++ games, but i need to buy my laptop first, so please guy what are the minimum specification (RAM , CPU... |
Jun 25, 2018 at 9:46am
[2 replies] Last: ok tanks. (by jamesgodspower)
|
by subs098
Not sure why my code has no output
|
Hello, I'm trying to create a novel program to take lines from a filestream as parameters to create random objects. My code as below: #include <iostream... |
Jun 25, 2018 at 8:54am
[2 replies] Last: Oh. I corrected that and fixed the function prototype (missed out "Mo... (by subs098)
|
by Blessman11
lists and iterators - check null
|
I'm trying to use lists and iterators, I need to initialize a list and check if it has been initialised or not. #include <iostream> #include <list> #in... |
Jun 25, 2018 at 5:26am
[6 replies] Last: thank you Peter- problem solved (by Blessman11)
|
by troylow
Bubble Sort Problem
|
Hello I created a simple bubble Sort program after trying c++ I am really new to coding and I tried learning myself but Ive been facing some problems. Basicall... |
Jun 24, 2018 at 11:58pm
[10 replies] Last: Oh man looks like I have to go over the code maybe redo it abit so I c... (by troylow)
|
by Alex47
Do While Help
|
I am trying to make a simple script. The problem I am running into is where I am trying to make a code to where if a person doesn't type in an appropiate letter... |
Jun 24, 2018 at 8:23pm
[1 reply] : if(pick != number1) || (pick != number2) || (pick != number3) || (pic... (by Repeater)
|
by justStarting
problem pulling .txt data and combining multi functions
|
So I'm tasked with importing a file containing an invoice for given dates with random parts and totals. My program needs to run like a reciept for the given da... |
Jun 24, 2018 at 5:33pm
[2 replies] Last: The problem is that you open the input file in many places and it will... (by Thomas1965)
|
by dannyboyo
How to manipulate texts with C++
|
Hey everyone is there a decent way through which I can manipulate texts using C++, similar to say, using the awk command in Unix? |
Jun 24, 2018 at 3:37pm
[1 reply] : Not directly. There are regex tools, and the string find and replace... (by jonnin)
|
by omka
Tick tack toe
|
I'm making a game of tic tack toe but I'm trying to get it to check if someone has already played in the spot or not but I just can't seem to figure out a simpl... |
Jun 24, 2018 at 7:15am
[1 reply] : Why don't you check the field before you write to it? if (a == 1) { ... (by Thomas1965)
|
by mim97
Display the sum and the average of the numbers in a loop.
|
//Write a c++ program that will input double numbers for the user in a loop // until the average of the numbers is less than 10. When the loop ends // display t... |
Jun 24, 2018 at 5:57am
[7 replies] Last: He/she explicitly explicitly says "in a loop", @Abdullah Samo. Howeve... (by lastchance)
|
by tyler21210
homework help please?
|
so we are doing for loops and he wants us to make a code that shows us the biggest number and the smallest number in this using a for loop but it keeps say larg... |
Jun 24, 2018 at 5:28am
[3 replies] Last: tyler21210 here is the solution: #include <iostream> usin... (by Abdullah Samo)
|
by Ahmed Sayed
something wrong with the output
|
I'm solving a problem that make me generate a password depends on some rules, 1-the length of the password must be equal to n, 2-the password should consist... |
Jun 24, 2018 at 4:59am
[3 replies] Last: strlen() relies on the string being null-terminated and you don't expl... (by lastchance)
|
by opataris
Bool function for Prime Numbers
|
I am learning functions now, and have a task to write a function that will determine if a number is prime. There is a second function that determines the range ... |
Jun 24, 2018 at 3:25am
[7 replies] Last: Thank you so much for taking the time to help me. I appreciate it, tru... (by opataris)
|
by jerry HQ
Summing the characters in a word or sentence
|
I would like to be able to type a string and get the ascii value back of the every character and return a total of the word or sentence. for example if you were... |
Jun 24, 2018 at 1:52am
[3 replies] Last: You inverted the order of the addition assignment operator. += and =+ ... (by Lehti)
|
by vuilnisman
Unexpected array behaviour
|
I want to have a matrix filled with zeros and then be able to change specific elements of that matrix to either 1 or 2. In the code below I expect the matri... |
Jun 23, 2018 at 10:28pm
[3 replies] Last: Cheers to you both. I guess I was confused between a size 4x4 array h... (by vuilnisman)
|