Beginners (Page 59)

by koopey
adding address of previous element in linked list?
Hi there. In a list I create, I want to add a pointer to both the next element and the previous elem...
[3 replies] Last: It's fixed. Thanks guys! (by koopey)
by tafmp
unintalized local variable "exitcode" used
Can any1 explain whats wrong with GetExitCodeProcess, exitcode; #include "stdafx.h" #include ...
[2 replies] Last: Thx TarikNeaj. Tought the GetExitCodeProcess call will intalize exitco... (by tafmp)
Expression, Vector subscript out of range
Hey guys! I'm getting this error whenever I try and compile my code. It's for a school assignmen...
[3 replies] Last: And 'Debug Assertation Failed' is a runtime error not at compile tim... (by coder777)
How do i express this condition correctly Condition : i need data.size() to be either divisible by ...
[10 replies] Last: Ooh yeah now I see my ill logic, thank you very much am good now. (by andy1992)
Right now, my program compiles. The problem i have is. When i enter in the name of the team, it ju...
[2 replies] Last: You never initialize name on line 8. Neither on line 29 which can be... (by coder777)
by LocHa
Assign ofstream to ostream
I have to write a "logon" and a "logoff" function which redirect the current iostream from a functio...
[1 reply] : There is a trick: *stream s are nothing more than facades for stream ... (by MiiNiPaa)
by Nenna
If Statement not running
I've got my final due tomorrow at 7pm and I'm having a lot of trouble with some random stuff. If st...
[7 replies] Last: if I am U i will do like this, MainPick = toupper(MainPick); if(Main... (by quisite)
Writing a function with void paramter
For my assignment I have to do use a previous assignment I did and break it into the following funct...
[5 replies] Last: If it's okay, I sent you(andy1992) a PM of my program and I'm hoping y... (by joshuatz)
HW loops i need help PLEASE
so ive been looking at this i really can't solve it i need explanation i displayed it here the link...
[1 reply] : Someone posted something almost like what you wanted to do a couple da... (by fg109)
How can I compare two strings and determine if they are equal?
This is my line of code. In the "worldSeriesChampions.txt" the San Francisco Giants win twice I beli...
[4 replies] Last: In the "worldSeriesChampions.txt" the San Francisco Giants win twice ... (by fg109)
whats wrong with my code? (for loop)
#include <iostream> using namespace std; int main () { // for loop execution for( int l...
[1 reply] : "n\" (by fg109)
[2 replies] Last: Here is one way (fixing indenting mostly): Another... (by Smac89)
by bean19
How do I assign a value to this?
Hi! I'm not sure how to assign a value to the variable amOrPm (line 36). The program converts tim...
[6 replies] Last: Appreciate the help. I knew I was on the right track but I knew that I... (by bean19)
Homework help
Hi, I need help on this homework assignment I'm currently on. Design a value returning function tha...
[4 replies] Last: I can see that :) Happy Coding! (by TarikNeaj)
Could someone just give me a few examples of using typedef? My teacher uses it a lot, and I want to ...
[5 replies] Last: using storage_t = std::array<float, 100>; Save your fingers. Everyo... (by LB)
by HG319
recursive linked list function
I posted them question last week but no one answered to help me. I have this function to get an e...
[6 replies] Last: I am just trying to figure it out, would this work? I know for the par... (by HG319)
Inheritance class invoke
I used an object of class D, can I invoke function f()? or, the keyword private only allow me to in...
[2 replies] Last: Also, theres plenty of youtube videos explaining private inheritance i... (by TarikNeaj)
by vtk
why does \n vs endl work differntly with setw output
This code works perfectly but if you were to use the \n in the setw it will mess up the output forma...
[6 replies] Last: Alright thanks, and ill check that link out (by vtk)
Printing a list of values using a while loop & sentinel
I have to print values entered in by the user, using a while loop and a sentinel value of -1 to indi...
[5 replies] Last: Also, if I were you would I would set a global constant for sentinel. ... (by shamieh)
Arrays and Structs
Hello all. Building a program that function is to convert a numeric score to a letter grade. I am ge...
[5 replies] Last: oh whoopsie daysie... :D my bad. I never copy the top of the program w... (by TarikNeaj)
Pages: 1... 5758596061... 98
  Archived months: [feb2015]

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