Beginners - July 2017 (Page 7)

by ebii
Print adress iinsted of values
 
any can see the mistake i done? why its printing the adress and not values? i try to done double poi...
[4 replies] Last: Thanks my friend its helpd me alot. do you know where i can find alot ... (by ebii)
Exception Catching
 
I'm trying to do a try catch in line 21, so if the user types something other than 1, 2, or 3 it wil...
[3 replies] Last: Also, you will need to include the <stdexcept> library for std::out... (by boost lexical cast)
by Dmtg93
Baby names assignment using structs strings and files (1,2,3,4)
 
Hi all. My teacher is having us do this final project before we do the final exam assignment and que...
[61 replies] Last: FINAL 'HINT': Check revisions and updates. I have no idea what is mea... (by closed account 48T7M4Gy)
by Mite
Variable in curl
 
Hi everyone.I am using curl in c++.This thing works for ail but if i want a program that takes input...
[3 replies] Last: i used this but it doesnot execute the curl command... (by Mite)
vector class help
 
I'm trying to change my basic array to a vector. (in main.cpp) My vector is in line 10. After I chan...
[7 replies] Last: Tried your other suggestion, and that fixed it. Thank you so much for ... (by Griffinflame21)
map /set iterator not incrementable
 
hello, i have this code. when i run it i get a runtime error: map /set iterator not incrementable...
[3 replies] Last: thanks Peter, here is the input file : 4 21 28 17 14 10 27 10 16 23 ... (by masterinex)
is it necessary to learn assembly language ?
 
is it necessary to learn assembly language , If I want to have better understanding of c++?? I h...
[3 replies] Last: It is not necessary at all. Its a good idea to know what it can DO, ... (by jonnin)
by darje
Composition
 
any clus why its not working (the colmpiler pointing me at ostream problem) #include<iostream> ...
[4 replies] Last: i saw alot of quastion with composition with double pointers . so i wa... (by darje)
Why can I swap string with double parameters?
 
Hello, I don't really understand why code below is working. What I don't understand is why can I sw...
[7 replies] Last: The function that is called for swapping two std::string objects is ... (by JLBorges)
tail recursion - power function
 
I try to write power function using tail recursion but I don't get the right answer what is wrong? ...
[6 replies] Last: You don't actually need the counter variable at all. Instead you could... (by Peter87)
by ebii
Writing to File + some Matrix issue
 
iam having a bit diffcult time why i cant write to text file object lets say i cant add some set m...
[2 replies] Last: In your first post, at line 20 you haven't defined a << operator for M... (by dhayden)
count and list a divisible number in array
 
I posted this in another section but no one replied so I am hoping someone can help me on this secti...
[1 reply] : Reply here: http://www.cplusplus.com/forum/general/219102/#msg1009943 (by Chervil)
Array. How to find the location of a searched number?
 
I have to modify my countNums where after it searches for the number, it lists the row and column th...
[5 replies] Last: Thanks Thomas. It was such a simple solution. Thank you. (by piratekingluffy)
Pass by reference (&) super confusing!
 
The correct answer is actually 2 0 0. I understand why 2 is the answer but i dont understand the 0 ...
[3 replies] Last: what's the different between pass by reference and pass by value. "... (by Chervil)
functions pass by reference and pass by value
 
The correct answer is actually 2 0 0. I understand why 2 is the answer but i dont understand the 0...
[1 reply] : duplicate post. use other one. (by jonnin)
How much of the static .lib is embedded in the .exe?
 
When the actual linking of a static library takes place, how many of the functions become embedded i...
[1 reply] : see for yourself. http://www.cplusplus.com/forum/general/114172/ (by ne555)
functions pass by reference and pass by value
 
I dont understand why it is couting 1 6 3 and not 3 6 3. can someone please explain it? I cant seem ...
[2 replies] Last: @thomas1965 thanks for the explanation. it makes a bit more sense now... (by ahswong)
functions in inherited classes
 
hello everybody i'm trying to create a little text game (actually just parts of it). now i'm st...
[1 reply] : [quote=Stauricus]but i can't find where to put this function and how t... (by boost lexical cast)
by sharbu
Find the missing letter in the palindrome
 
A string which is a palindrome but has one letter missing will be passed as input. The program must ...
[6 replies] Last: Well I was going from the first example, saying: output must be a, w... (by lastchance)
need help
 
A university wants to develop an application that will manage its student’s records. Application w...
[3 replies] Last: well yo can still use struct Student { private : float gpa } ... (by Flaze07)
July 2017 Pages: 1... 56789... 12
  Archived months: [jun2017] [aug2017]

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