Beginners - November 2018 (Page 15)

how to learn c plus as a beginner
 
hey my name is john i want to learn cplus but i am not able to learn becuase i can't authentic metho...
[1 reply] : See https://isocpp.org/get-started and https://isocpp.org/wiki/faq/how... (by JLBorges)
Reverse string
 
I need to reverse a string input wether it is one word or a sentence, but if it is a sentence I need...
[5 replies] Last: As you said you want to maintain the order of the words and just chang... (by divya123divya)
lines and data
 
So for my coin sorter program, I have to read lines of data from a file. Most lines have four values...
[3 replies] Last: The istringstream . Read a line from file. Then read from that line v... (by keskiverto)
Count Vowels in a String
 
The goal is to display the number of vowels in any string, the debugger runs fine but the output fai...
[2 replies] Last: Oh my god I'm so stupid copy and paste :) thanks (by DKDKDKDK22222222)
Registering Word Count with String Arrays
 
Hi! I'm having a bit of trouble with one of my coding projects for school! I need to 1. allow the u...
[2 replies] Last: This is a huge life saver! Thank you so much for your help! (by jmitchell367)
by Tduck
How to declare memory on the heap?
 
I don't know if I have misinterpreted information or something but I thought using new would allocat...
[9 replies] Last: declares pointer with no address or value It does have a definite va... (by tpb)
Someone to help me please wiht an appointment progmram.
 
Hello Everyone! I am trying to make an appointment program , and i make it 6 times, but doesn't wor...
[11 replies] Last: Hello Andy! I will take your advice. And i am starting a new rrogram r... (by Asteris)
My first DP problem
 
Hi. I solved my first dynamic problem but my answer is coming as wrong on online judge. For the test...
[4 replies] Last: You're right. I wasn't paying attention. I was adding the total value ... (by tpb)
by MrMode
Returning string value
 
Hello, I need help with this little program I am making for the excersise, I am trying to check if a...
[2 replies] Last: Thanks, it helped a alot (by MrMode)
I don't understand how to return a string from a function
 
I needed to create a program that would make the first letter of every word uppercase and I think I ...
[5 replies] Last: i take the code from vmansuria i hope he alllows me to copy #include... (by veysel)
by Kate5
Explanation
 
Can someone please explain to me what is sum=0 and product=1 in an exercise of c++
[1 reply] : sum is a "variable". It stores a value. You create a variable (in t... (by Repeater)
by veysel
dynamic array with depends on user entry value
 
hi everyone, i am new cpp forum my question is : int a; cin>>a; int array ; is this ...
[5 replies] Last: i will search the vector it will be my homework and i will do it to le... (by veysel)
Array?
 
Why is wrong with this code? a = 2*a[j+1]; Here is the question An array of int na...
[2 replies] Last: [quote=bigfern]Why is wrong with this code? Nothing. (Provided the v... (by lastchance)
read multiple values from file with fstream
 
Our C++ professor left us an assigment where we need to calculate the avearage grade of 5 students w...
[5 replies] Last: i need to open a file were the student grades are My program reads f... (by dhayden)
ofstream from string
 
Help (please)- I need 2 output files 1- Named "out.txt" to write output data (done) 2- Named ba...
[2 replies] Last: cout saveName to the console to see if it's being read correctly. If ... (by tpb)
by Tduck
What does new do with regards to circular linked lists and nodes?
 
I don't understand exactly what new does. This question was sparked after I was told using a vector...
[3 replies] Last: Are you sure you want a "circular" linked list? They aren't really tha... (by tpb)
regarding
 
I have this code that works good, but I am wondering if I can use !input.eof() function in this case...
[1 reply] : What do you expect to gain? Actually, input can fail for other reasons... (by tpb)
Need book recommendations
 
Google gave me a couple good things, the Stroustrup book I'll probably look at first. The quest...
[1 reply] : Are you a beginner programmer, or just new to C++? It's easier to fi... (by mbozzi)
Help réferences fonctionf()=x;
 
Je voudrais connaitre le cheminement point par point de ce programme,en praticulier le process int &...
[2 replies] Last: Thank you very much keskiverto (by Gerald94310)
by Drac0
Inputting File information into a array
 
i am writing a program to open 2 files that the user inputs, One will have names of shapes and the o...
[7 replies] Last: Okay so i changed my code up a bit and made it neater like you said an... (by Drac0)
November 2018 Pages: 1... 1314151617... 24
  Archived months: [oct2018] [dec2018]

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