[try Beta version]
Not logged in

Beginners - November 2020 (Page 4)

Random String Selection From Library
 
I would like to use "cout" to display a randomly selected string from a library. For my specific pro...
Nov 23, 2020 at 9:50am
[2 replies] Last: auto rand {std::mt19937 {std::random_device {}()}}; auto randNo {std... (by seeplus)
Recursively replace chars in a string
 
This function recursively replaces every instance of the char "-" in the string "-h-e-l-l-o-", with ...
Nov 23, 2020 at 9:46am
[3 replies] Last: Unless this is an exercise using recursion, this is an extremely ineff... (by seeplus)
Quick question about difference between vectors and lists
 
Hi there Just a quick question. I have been messing around with vectors and lists over the past few...
Nov 23, 2020 at 9:30am
[19 replies] Last: Have you looked at deque? http://www.cplusplus.com/reference/deque/deq... (by seeplus)
C++ program based on how many stars i give?
 
Hello i currently have a program that makes a downward star pyramid and based on the user input make...
Nov 23, 2020 at 9:27am
[2 replies] Last: also change your prompt. Your output is what would be expected from th... (by seeplus)
Help, want to build an email client and server
 
Hello everyone, I want to implement a simple mail client and server, So that I could receive email'...
Nov 23, 2020 at 8:00am
[2 replies] Last: thanks! (by ronenp88)
trouble removing element of index
 
This program asked me to be able to add, remove, and display elements of an array. I am having troub...
Nov 22, 2020 at 5:42pm
[4 replies] Last: There is also an issue with add_codes() if it is called more than once... (by seeplus)
by mpg
Encoding c++ of the DHM algorithm
 
I should do a "free" encoding of the DHM algorithm. Input: Y, p, a, b Output: shared key k I have t...
Nov 22, 2020 at 3:39pm
[6 replies] Last: This can be tweaked, its a quick starting point, or you can google for... (by jonnin)
functions and email
 
Q: highlight (or determine)the email address from the string using function. ex: input(from the con...
Nov 22, 2020 at 11:24am
[5 replies] Last: Also: #include <string> #include <algorithm> #include <iostream> #i... (by seeplus)
Can not get file to open!
 
I am tasked with creating a program that collects data from a text file concerning postage stamps an...
Nov 22, 2020 at 11:05am
[16 replies] Last: Suggest you change Explorer settings so that it doesn't 'hide' extensi... (by seeplus)
I have an error on totalWeight, but I'm not sure what it is.
 
Hi, I'm working on an assignment and I have been able to complete most of it. The only problem I am ...
Nov 22, 2020 at 11:02am
[4 replies] Last: Note that double maxWeight(double steaks , int numSteaks) { int... (by seeplus)
help with Game
 
Hello guys, I need a help im doing text adventure and i need create inventory by using vectors.I n...
Nov 22, 2020 at 2:52am
[1 reply] : class Item; // Forward declaration #include <vector> class Inventor... (by againtry)
by iiii
player
 
Hie. I am beginner learner of c++. This code executes the game minewsweeper, but i should make from...
Nov 21, 2020 at 7:43pm
[2 replies] Last: i should make from it the two player game Easiest way is to run it on... (by againtry)
by lychee
User Input for {x,y}
 
I want to change Item array[ ]={{x,y}} How do I make Item arr[ ] into a user input? int W; //...
Nov 21, 2020 at 5:54pm
[4 replies] Last: Hello lychee, After rereading everything I think I understand better.... (by Handy Andy)
Writing functions that require a single parameter
 
Hello, I am not sure if I am even starting this correctly? If anyone could point me in the right dir...
Nov 21, 2020 at 5:48pm
[8 replies] Last: Thank you all so much, Emailed my teacher 2 days ago... (by Austink95)
Help me with this task, please!
 
Insert in front of each exclamation mark in the specified line coma. How can I write a command to ...
Nov 21, 2020 at 5:27pm
[10 replies] Last: Thanks for the advice) (by chebyrek)
Convolution and Wav files
 
Hello guys, I have a big project and a part of it is to convolute two wav files. The problem is tha...
Nov 21, 2020 at 5:15pm
[3 replies] Last: Another .wav file library: CWave - A Simple C++ Class to Manipulate WA... (by deleted account xyzzy)
Unable to state function definition in c++ header file.
 
Write your question here. I am conversant with specifying function declaration (of functions defined...
Nov 21, 2020 at 4:03pm
[9 replies] Last: @Ganado am redefining my problem: If keep the main() in GraphTest.cpp... (by ajiten73)
by Mif
Modify line in text file without using input line # in "C"
 
Is there a way to modify a line without requesting the user to input the line number, meaning withou...
Nov 21, 2020 at 1:44pm
[8 replies] Last: may also write/read in binary mode. > I don't wanna do this on the cu... (by ne555)
C++ synax
 
I am no expert in C++ and need some help figuring out the expression attached. Am I correct to stat...
Nov 21, 2020 at 4:17am
[3 replies] Last: C++ allows 'template' classes which are built during compile time base... (by jonnin)
ADT and Linked List implementation using C++
 
Can someone give a hand with this one? I already done the framework on this but I don't know where t...
Nov 20, 2020 at 5:40pm
[1 reply] : What kind of help do you want? If want us to do your homework for you... (by doug4)
November 2020 Pages: 123456... 14
  Archived months: [oct2020] [dec2020]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.