Beginners (Page 100)

Help with 2 array function
 
Hi all, Would you please help me with this code. Just mention this code is not still complete and I ...
[4 replies] Last: You say that the code is not complete and that you will add more. How... (by keskiverto)
by Mido14
Array of Objects
 
How to pass and return an array of objects?!
[1 reply] : http://www.cplusplus.com/doc/tutorial/arrays/ (by keskiverto)
template could not be deduced
 
I am writing a program where I read text file and input the lines into arrays. After that I have to ...
[5 replies] Last: Oh I re-edited the post Thing is you shouldn't change the return type... (by andy1992)
Tic tac toe outputting weird characters
 
I'm the millionth person to do this, but I'm making a tic tac toe game (currently unfinished) and ha...
[3 replies] Last: I've run into another problem. My class Boardstatus is not behaving co... (by UnclePutin)
Linked list within a class
 
Is this a possibility? I want a class that was certain values and a linked list in that class. The ...
[3 replies] Last: You'll need a class with the data you wanna list then the class List..... (by dualdark)
Hangman Project
 
Hello! I am pretty new with the C++ language and programming all together and I am having difficult...
[1 reply] : Found the fix myself.... After taking a break and coming back to it ha... (by vcaropr1)
Why an lvalue is considered an expression ?
 
I'm using the book Programming -- Principles and Practice Using C++ by Bjarne Stroustrup and I'm h...
[6 replies] Last: An assigment returns a reference to the object that is being assigned ... (by Peter87)
Copying an array and then reversing the numbers
 
Good morning everyone. I am working on a program that will let the user input 10 numbers into an arr...
[2 replies] Last: Thanks coder777!! I did not know I was that close to having it done! (by guglaak)
What is the code for the following?
 
1. Create three source files (asgn6.h, casgn6.cpp and asgn6Driver.cpp), an object file (asgn6.o) a...
[6 replies] Last: Thanks (by suko123)
Taking in a series of orders with a loop, and then outputting the final order total
 
Hi, I just made an account here after searching on the web for a bit for an answer. I have a c++ ...
[3 replies] Last: Nearly. just replace your line 3 with my line 8. i.e. don't use the va... (by mutexe)
Problem. Bubble sort in a linked list.
 
I have this code, and crash when i try to sort void ListaServicios::OrdenarBurbuja(){ cur...
[1 reply] : Where are curr and first declared and defined? You could be dereferen... (by AndyMc)
Quiz Averages
 
I am having trouble in including the class average and the individual averages. This is what I have ...
[2 replies] Last: Remove: double average = (quiz1+quiz2+quiz3+quiz4)/4; and befor... (by AndyMc)
Unintialized local variable? what
 
It says the variable in my class member FindTotal is unitialized local variable #include <i...
[2 replies] Last: Initialise tots to zero before using it: int FindTotal() { int ... (by AndyMc)
No errors, but no output, why?
 
I have this code that runs smoothly ( no errors) but there is no output. Every time I run it. It say...
[3 replies] Last: What happened to the code? (by Zhuge)
Get the vector element index
 
Hello, i'm trying to get a vector element index in a vector of string, but i get weird results. Cou...
[6 replies] Last: Find my error: i was using a wrong vector with similar name. Shame o... (by Amiplus)
Why won't my program display the contents in the array properly?
 
I've made a program that will ask the user to input information about their account savings. But i'm...
[1 reply] : You do ignore() each first character, don't you? (by keskiverto)
by girl
Formatting output
 
Hey, I want to output numbers llike this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 etc I write such code: ...
[4 replies] Last: Yeah, it works. Thanks guys :) (by girl)
by Akigou
For Loops(Random variables)
 
I made a for loop and I was hoping that it'd make the D variable I put in the paranthesis for ( ) a ...
[3 replies] Last: That's because your loop adds all numbers from 1- 1000 to dataused . ... (by YokoTsuno)
infile/outfile
 
anyone know why my file just terminates. #include <iostream> #include <fstream> #include <ioman...
[10 replies] Last: im glad i got it to run im behind 1 lab so i did this one because were... (by poseidn)
Finding number of substrings in string
 
I'm trying to understand the basic logic of this loop, my book (jumping into c++) just got into meth...
[3 replies] Last: You are correct, but the code isn't stepping past "cat", it's only st... (by d1ff1cul1010)
Pages: 1... 9899100101102... 112
  Archived months: [oct2014]

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