Beginners (Page 88)

Reading data from text file
 
Hello friends, I am working on my class project, In which I have to read a text file with character...
[1 reply] : #include <iostream> #include <fstream> #include <cctype> int main() ... (by JLBorges)
by Bopaki
Overloading operator= in a class
 
Write your question here. I am trying to write a test program to overload the operator= in a class ...
[3 replies] Last: I eventually managed to write the test program to overload the operato... (by Bopaki)
by rantiv
vectors
 
The program will prompt the user for a value and will try to find it in the populated vector in the ...
[1 reply] : Where is your findName function defined? (by integralfx)
Struct and Arrays, menu driven
 
I'm working with structs and arrays, and I was wondering how I could get the function "makeselection...
[1 reply] : In line no. 7, you hav given menulist an int type of variable. int ... (by MaBunny)
by rantiv
Whats wrong?
 
Keep asking the user for characters until the user enters #. The characters may be stored in a vecto...
[1 reply] : #include <iostream> #include <string> #include <algorithm> int main(... (by JLBorges)
Help! my program skipped the cin.
 
The compiler asked for first answer of student but skipped the others in the first for loop. #i...
[2 replies] Last: Thank you, sMav! It work! <3 (by aesopq122333)
Why other compliers not showing precise output?
 
Why when I use our DEV C++ on home, it shows the real output like the total deduction, total netpay,...
[no replies]
SOS not getting proper output
 
I have an assignment that takes an input of weather data and processes to give an output in the form...
[no replies]
Why is getchar ( ) not working?
 
Since i want to type in with Enter, i initially wrote down my code with getchar ( ), however it didn...
[no replies]
Pointers
 
Is someone willing to explain how pointers work to me and why would I prefer to use them? Here is...
[1 reply] : http://www.learncpp.com/cpp-tutorial/67-introduction-to-pointers/ (by FurryGuy)
Need Help with Inheritance(BankAccount/CheckingAccount) School Assignment Code Problem
 
Hi, I was having problems with the following school assignment: "Define the class bankAccount to ...
[no replies]
How do I code jumping, platforms, and player movement across the screen? (2D)
 
Write your question here. How do I code jumping, platforms, and player movement across the screen...
[1 reply] : I will assume you are new, which is fine! I recommend checking out laz... (by Hambone)
Strange error
 
I am using turbo c++ Program works fine if I use trace into (F7) but the same program when compiled...
[no replies]
Is this program not supposed to output 5 x 5 4 3 2 1 when i type in 5 (or whatever number it is)
 
It outputs an infinite number of numbers. How should i do it? #include <stdio.h> int main(voi...
[3 replies] Last: That's a great explanation! Thanks a lot! (by Gondvanaz)
by tyooo
User Input Date, Debug Output Day name
 
I need to make this program work so that I can input the date, month, day, and year. Then I need the...
[no replies]
HELPPPPPPP
 
so this code is supposed to take an input file with data and keep one line of the data is all 12 mon...
[1 reply] : can't seem to make my code work properly. Don't s'pose you'd be int... (by Chervil)
Assistance needed in implementation of a deep copy constructor.
 
Hello, We were instructed to do in our programming assignment to implement the copy constructor bel...
[4 replies] Last: Recursion occurs when a function calls itself directly or indirectly. ... (by WhatHaveIChoosen22)
by Lospwr
My Code isn't compiling, can anyone help me figure out where i went wrong
 
#include <iostream> #include <cstdlib> #include <fstream> using namespace std; int main( ) ...
[1 reply] : you cannot do inFile2 >> fClientName; you can use the >> operat... (by rafae11)
Task
 
Help for task. Two players are playing the game "Risk". This game is played on the pattern of citi...
[1 reply] : Please I need help this is hard task can someone help me please ? :) :... (by Krenkov)
What is the difference between declaring function as void myfunc(int *a) and void myfunc(int a[])
 
Apparently arrays are passed to functions by address and not by value. When then is the difference b...
[7 replies] Last: The standard library passes arrays by reference, in std::begin, std::c... (by Cubbi)
Pages: 1... 8687888990
  Archived months: [feb2016]

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