Beginners (Page 22)

by bsr
"vector subscript out of range"
 
Hello, I am working on a graph algorithm but I have a problem. It seems that my problem about adding...
[11 replies] Last: Thank you very much @keskiverto (by bsr)
PPP - chapter 16 - flkt wrong screen resolution
 
I'm currently working my way through Bjarne Stroustrup's Programming, Principles and Practice and I'...
[5 replies] Last: I should mention that when I create a 1280x680 window, it indeed does ... (by grumblesnake)
Classes Communication
 
It seems like this should be basic but I am not seeing where I need to communicate the data here. Th...
[7 replies] Last: I talked to my instructor and it turns out that I was misinterpreting ... (by stoneJax)
Resizing of array - Giving Run time error at deletion of memory
 
Following is my code, #include <iostream> #include <fstream> #include <string> using nam...
[6 replies] Last: Oh, not only was I writing the wrong syntax but also my logic was wron... (by redfury)
min and max element is list (1,2)
 
Hello! How can i find minimal and maximal element in list? I think i must start with function for so...
[25 replies] Last: Yes. Both max_value() and print() are recursive.... (by JLBorges)
How can I make this shorter?( and more efficient)
 
Trying to make this more efficient if ( score < 60 ) { grade = 'F'; } if ( score >= 90...
[9 replies] Last: among all these codes lastchance's program is the fastest. and th... (by anup30)
Graph
 
Hello! Please help me. How to create a function that tells you if there is a tip in a particular g...
[2 replies] Last: I have no idea how a non-C++ symbolic algebra system relates to this. ... (by Duthomhas)
Use of enum in array of structures
 
You are required to create an array of struct type students. In which you are required to store the ...
[3 replies] Last: Yes, like I said before, you have to do the conversion to a string you... (by Ganado)
Count knot with one successor in Tree
 
Hello! Please someone to show me. How to count knot with one successor in the tree? Am i need a two ...
[1 reply] : You need to change the condition on line 5. Right now it checks that ... (by Duthomhas)
by frza45
Length command and variable not declared in scope
 
I wrote a program to test my skills in using classes and now I'm stuck. I'm basically doing input va...
[10 replies] Last: Do you really need a string? int year = 0; while ( std::cin >> year &... (by keskiverto)
C++ linked list user input out of bound validation causes program to end
 
I have a delete node based on position function and I am trying to do validation with the logic that...
[2 replies] Last: You leak memory at lines 3, 4, and 20. And if you delete anything othe... (by dhayden)
condition continuation question
 
Hi guys,can someone help me with this code? I don`t understand why,after I`ve died (If I fail to ki...
[4 replies] Last: Thank you very much Jonnin!! I can see it now! that is my problem...bl... (by NeonDolphin)
About index starting from zero
 
Is there any detailed mathematical meaning or purpose for the index of array starting from zero and ...
[7 replies] Last: Is there any detailed mathematical meaning or purpose for the index o... (by MikeStgt)
Access second to last element of Vector Array
 
Hi, so i started (Re-)learning C++ a while ago (My original knowledge was very limited anyway), and ...
[2 replies] Last: Thankyou for the reply Repeater. Sorry for my confusion over 'Vector'... (by Jimmy2174)
Constructor
 
I am starting a project that will be my first using inheritance, and I am currently on the base clas...
[7 replies] Last: Thank you! I appreciate the insight. (by stoneJax)
About Template
 
what is the scope of the keyword template? is template only affect the class or function closes...
[2 replies] Last: > what is the scope of the keyword template? > is template only affe... (by JLBorges)
by JLaw21
Classes help
 
Hello. I saw a post on the same assignment earlier, but was hoping to get help on my current code as...
[8 replies] Last: Thanks for the input. I'm not quite advanced enough to understand that... (by JLaw21)
no match for ‘operator=’
 
Hello, maybe somebody can help me, I have these errors: Individual.cc: In member function ‘void I...
[6 replies] Last: I see that I must steel persevere in my c++ Besides I put the inicial ... (by psosmol)
by suprax
In String only letters?
 
Hello everyone, i got a, maybe silly, question: how can i only read letters in? I want to sta...
[7 replies] Last: Thanks a lot! I understand everything very well. (by suprax)
by mary02
taking # as char, producing *
 
Hello. My problem is to take in a word character by character. With this, any digit (yes, taken in a...
[5 replies] Last: Can I only do that if it is less than 10? A question of mine would be,... (by jonnin)
Pages: 1... 2021222324... 27
  Archived months: [apr2019]

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