General C++ Programming - December 2018 (Page 8)

Where to get exercises.
 
Hello, where can I get exercises or ideas what desktop program can I do? I do not know what I can do...
[1 reply] : Type "programming contest" into your favourite search engine. Many ha... (by salem c)
TCP server and process client request
 
New to the forum, I run it with this code executable, localhost and a port number on one terminal....
[7 replies] Last: Your mis-placed ; means you have this // read a message from the cli... (by salem c)
by WurmD
Why no overload std::max_element(vector)
 
Hi, two questions: 1) Is there a "good" reason why there isn't alread an overload for std::max_el...
[6 replies] Last: Thank you! (by mbozzi)
how write to a file?
 
see these code that i use for write on file: cout << "void "<< tokens .Description << " " << tokens...
[3 replies] Last: i was doing too much 'open()' and 'close()'.. line by line. maybe thes... (by Cambalinho)
C++ programming
 
Write a program that takes as input an arithmetic expression and should do the following: 1. Check ...
[4 replies] Last: > Yes, I do have my code! Really? For sure? Because it looks an awful... (by salem c)
Upper/lower case
 
How can I make only my first letter upper case and all of the other letters lower case for the first...
[1 reply] : Duplicate post: http://www.cplusplus.com/forum/beginner/247114/ (by closed account E0p9LyTq)
C++ Assignment (Mean, Median, Mode)
 
I need help with this assignment. Given the following input file: (USE THIS FILE) 4 9 7 6 7 6 ...
[4 replies] Last: Thank you! That helped out a lot. (by Aaron0418)
by Hammy
Separate String into different Variables
 
So currently I am trying to separate a string that a user provides to reserve a seat on an airplane,...
[4 replies] Last: You got it! Thank you so much! (by Hammy)
C++ Homework
 
The question asks to allow the user to input a certain number then count the number of guesses it wo...
[4 replies] Last: Thank you so much johnniewalker97. It worked! (by mouzaan)
Linked Lists
 
I can't figure out what I am doing wrong I'm following an example but I keep getting errors the ...
[7 replies] Last: Do you have multiple inclusion guards in your header files? (by MikeyBoy)
Inserting into a linked list segmentation fault 11
 
im trying to insert an initializer_list into a list at a certain position but I get a segmentation f...
[1 reply] : Line 149 this->cur = cur->next; cur is a null pointer. Dereferenc... (by Repeater)
Towers of Hanoi Code explanation
 
I have to use a recursive function to solve towers of Hanoi Problem. I found this code online, it w...
[2 replies] Last: You can try adding instructions to let it display what it's doing whil... (by Enoizat)
About class's(OOP): i need some information. And Multidimensional Vectors (1,2)
 
we have 1 class variable. like we know the class have methods... and some of that methods can be ano...
[36 replies] Last: thank you so much for all (by Cambalinho)
Inserting a value into a linked list using iterator position
 
Im trying to insert a new element into a Linked list but instead of inserting the value my program r...
[2 replies] Last: Insert appears to work correctly when I try it: int main() { Lis... (by JLBorges)
Program to output amplitude values of a Sine wave, but not getting expected result
 
Hello, first post been doing some programming as part of my university course and decided to make a ...
[14 replies] Last: Hello Ganado, Thank you very much for helping. (by Vostok17)
QUERY
 
Create a call by referencefunction program that takes user ID (in integer) and password ...
[2 replies] Last: To give you an idea, #include <iostream> struct User { int userID;... (by chicofeo)
Subclass Object in Baseclass/Superclass
 
What I am trying to do is: Base.h #include "Sub.h" class Base { Sub subobject int x; } Sub.h ...
[3 replies] Last: Hi, The reason there is a problem in the OP, is because of circular i... (by TheIdeasMan)
Array Homework help!
 
Hey there guys! I need help with my arrays homework. So I have to write c++ program where it needs ...
[2 replies] Last: for function that computes average: double AverageFinder(int arr , in... (by Hammy)
by KadenV
C++ Homework
 
I am trying to make a program to determine if a credit card is valid or not. I have got the program ...
[1 reply] : > sum += int(getDigit(cardNumber ) * 2); You seem to be passing '0' ... (by salem c)
Use OpenACC to parallelize your matrix multiplication C code to run on a GPU
 
I have to modify the code on https://www.programiz.com/cpp-programming/examples/matrix-multiplicatio...
[1 reply] : http://lmgtfy.com/?q=openacc+matrix+multiplication (by salem c)
December 2018 Pages: 1... 678910
  Archived months: [nov2018] [jan2019]

This is an archived page. To post a new message, go to the current page.