Beginners - June 2016 (Page 10)

output stream exercise
 
Write your question here. #include "../std_lib_facilities.h" void outotoputto (double a, do...
[6 replies] Last: 23 27 17 \\which aren't neither octal nor hexadecimal so what are and... (by Thomas1965)
Problem with Tic Tac Toe Toggle
 
Hello everyone, I am trying to construct a really basic Tic Tac Toe game. There is something wrong ...
[1 reply] : if(player = 'X') this is assignment not equality. It should look... (by Yanson)
by cibide
calculator malfunction
 
Hi guys! I am reading "programming: principles and practice using c++" and I was following the exerc...
[4 replies] Last: thx a lot for the advice and for the sincere opinion! (by cibide)
how to make the output not repeated
 
i want to cout the elements on the array subjs which are repeated more than (n)this code has someth...
[1 reply] : start at index of first name loop: select name at index check if n... (by closed account 48T7M4Gy)
How to call next line of code after function?
 
I'm practicing by making this text rpg and I am having a hard time with the attack function that I c...
[3 replies] Last: It is good practice to separate things into functions and classes. Thi... (by xismn)
Person Data and Customer Classes
 
Hey Everyone!! My assignment is to Design a Class named PersonData with the following members -- ...
[2 replies] Last: Why are you including the cpp files ? Remove all the #include "ClassN... (by a k n)
C++ Base
 
Hello i learned C++ Basic in ThenewBoston Page Now what i go learn ? i need to go more advanced and...
[3 replies] Last: Hi, [quote=armando2] i want go with real proggraming like games or ot... (by shadder)
array issue from openfile
 
Hi everyone. I writing a program that opens the file "plants.txt" ( see below) and then reads "plant...
[1 reply] : Hi, while(theFile >> name >> price) // opens the file This code do... (by shadder)
Confused with this bool concept.
 
Write your question here. bool isNumber = true; for (int i = 0; i < tmp.length(); i++) { if...
[6 replies] Last: != is better translated to English as "is not equal to". -Albatross... (by Albatross)
Missing bracket?
 
Compiler says that I'm missing a bracket somewhere after switch and I cannot identify it for the lif...
[16 replies] Last: [quote=jesuisloup]I don't always remember of all the ways I can do thi... (by closed account E0p9LyTq)
help please in the problem
 
i have (array = sam,john)( array = alex,yusha,cesar,mark ) and so on according to user input no spec...
[10 replies] Last: Excellent. (by closed account 48T7M4Gy)
skipping the '\n' in the array when reading an getline input
 
in my program i have a txt file that has the next line character at the beginning of each line and m...
[7 replies] Last: #include <iostream> #include <fstream> #include <string> int main ()... (by closed account 48T7M4Gy)
Using Google Maps API in C++
 
Is it possible to run Google Maps API in C++? I would like to use the functions that are within Goog...
[2 replies] Last: It is possible. You certainly need a library (web browser engine): ht... (by coder777)
Code is closing out after entering month.
 
So when i run my code it is closing down the program without running it after i enter the month. I h...
[16 replies] Last: #include<iostream> #include<iomanip> #include<string> int main() { ... (by JLBorges)
by FBHSIE
Can someone check if my corrected results would have given me the correct answer?
 
Alright, I did an assignment recently. This was my original output. //Ashton Dreiling //Mont...
[2 replies] Last: I figured i could. I just get nervous sometimes and second guess my "c... (by FBHSIE)
Error in my code (1,2)
 
I am having some errors come up in my code. It is saying that my time is ambiguous. Is my code fine ...
[27 replies] Last: All the best dylan. I think we're done here. Bye, bye. PS Thanks TIM (by closed account 48T7M4Gy)
Linked List and Null
 
To cut to the chase, I'm studying Chapter 17 of Stroustrup's PPP, and he gives the following code, w...
[8 replies] Last: Well, the good news is I get it now. I drew and re-drew then drew out ... (by Yawzheek)
Simple Object With Errors from Outside Files
 
I've put together a little program that uses a "Date" object to store and print a date in various ...
[1 reply] : class Date { // ... } ; // *** terminate the definition of the c... (by JLBorges)
Making a simple addition calculator with a char array--how do I make the leading '0's blank?
 
Hi everyone, I'm in an introductory C++ course and we're learning how to add arrays together. For ho...
[1 reply] : void print_number( const char digits ) { if( digits != nullptr ... (by JLBorges)
Question about class and inheritance
 
Hi, I'm looking for a way to use inheritance to avoid writing the same function twice. I have ...
[2 replies] Last: Thank you! (by carlwryker)
June 2016 Pages: 1... 89101112... 25
  Archived months: [may2016] [jul2016]

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