Beginners (Page 11)

by Kaega2
Int Array to Function: Passing direct value??
Is there a way to pass a direct value to a function that expects an Int Array as its input? I'm ...
[13 replies] Last: #include <string> #include <iostream> #include <sstream> std::string... (by mbozzi)
Help with a Covid survey for class
Write your question here. I am writing a code for my advanced c++ class and I believe I have done ev...
[13 replies] Last: (by againtry)
a[i] = i++ undefined behavior
Greetings! Another question to the language subtleties. As I have understood until this point (...
[13 replies] Last: Thank you guys, in particular Duthomhas and TheIdeasMan. It is clearer... (by PhysicsIsFun)
functions with ifstrem
So I want to if its possible to have a function to get data from text file and store into variables ...
[2 replies] Last: hey thanks for replying and sorry for double posting, i thought the or... (by CSstudent2021)
Help with a Coffee Shop program for class!
Hello! I have torn this website apart looking for help, but nothing has. I am currently in my first ...
[4 replies] Last: Well, total sales is easy since you know the number of cups of each si... (by Furry Guy)
C++ Help with homework!
Hi! I am a beginner to C++ programming and I am completed stumped on one of my homework labs. I will...
[8 replies] Last: #include <iostream> #include <iomanip> using namespace std; int main... (by lastchance)
by Paul5
Reading text file and displaying each word with it's frequency on output
I have made this program which will give the word with it's frequency on output but I want to make ...
[3 replies] Last: Brother requirement of my program is to use 2d array Using a string... (by lastchance)
Can I ask where did I go wrong in the code? It was supposed to add the numbers infile (1,2,3,4) #...
[2 replies] Last: We need to extract (and discard) the comma characters used as the sepa... (by JLBorges)
by hasane
How to read data from website?
Currently I'm using system command to download raw paste from pastebin. However, it would be nicer ...
[8 replies] Last: hasane, I did read your question, and your addendum of "solving your p... (by Furry Guy)
functions with ifstrem
is there a way to move the ifstream out of the main function and put into a separate function? any i...
[1 reply] : Yes. But it depends on what you're trying to achieve. Can you provid... (by kbw)
by dina1
please help
Let Q(x, y) denote xy< 0 The domain of x is {1,2,3} and the domain of y is {0, -1, -2, -3}. Implem...
[11 replies] Last: Just read it as "for all" - I did! It goes admirably with C++'s range... (by lastchance)
recursive function in classic binary tree / predecessors
Im writing recursive function in classic binary tree , to write the ID of all the nodes that are p...
[4 replies] Last: Do you mean predecessors or ancestors? Predecessors are nodes whose I... (by dhayden)
Zodiac Program
[6 replies] Last: Someone reported him, so he should disappear in a bit. (by agent max)
[12 replies] Last: @jonnin, The OP created 2 threads, they have now trashed both threads... (by Furry Guy)
Instead of writing each function to respond to 't' and 'T' etc with several functions how do I use t...
[4 replies] Last: Note that in C++ toupper() should be used like this: static_cast<ch... (by seeplus)
Pages: 1... 91011
  Archived months: [oct2021]

Cannot post in this page. To post a new message, go to the first page.