Beginners - September 2017 (Page 20)

help!!!
 
Hi guys,I'm new in forum.I have a problem.When i write anyone type of function in my IDE(Monodevelop...
[6 replies] Last: thank you guys! I'm begginer yet. (by gekakav)
GCD program written But some error
 
Ques : 4. WAP to find the GCD (Greatest Common Divisor) of two positive numbers using Euclid's Algor...
[3 replies] Last: #include <stdio.h> int main() { int a, b, num1, num2, temp, gc... (by tusharsoni05)
by zxkun
storing array
 
#include <iostream> #include <string> #include <iomanip> using namespace std; struct Calculation ...
[5 replies] Last: Hello zxkun, All variables in the struck are initialized, so when Ca... (by Handy Andy)
Stream line reading in incorrectly
 
I'm trying to read in information to various variables. Some of them have spaces so I have to use ge...
[4 replies] Last: Hello TeebqneX, An update to my bad mistake. when I said to use std:... (by Handy Andy)
by agusx
Problem with struct
 
Can anyone tell me why this code produces an error, please? #include "iostream" #include "str...
[2 replies] Last: Thanks, I am sorry, the next time i will tell more about the error. (by agusx)
Easy to use GUI with graphical capabilities
 
Hi, I'm relatively new to C++ but learn best when I get stuck in beyond my depth, I'm looking to cr...
[4 replies] Last: Been trying QT with its IDE for a bit but it doesn't like ANYTHING I'm... (by bakerw71)
Reading and writing to txt file from different cpp files.
 
I've created a cpp and header file called staff. Staff inputs closing and opening hours of a train s...
[8 replies] Last: Yes it is did not want to add them into a single question. Though that... (by GhettoBurger)
storing struct as an array of bytes?
 
Hi I'm trying to understand some code that I saw for the Arduino here: https://playground.arduino...
[5 replies] Last: thanks both, much appreciated (by rozick1)
Cannot read from a text file!
 
I've posted my code before but i'm still having problems. Well first the program does not read from ...
[2 replies] Last: Sorry i'm new to c++. Would it be possible for you to correct my code ... (by ArchRon1n)
Simple If statement Issue
 
Hi there, I am having some trouble understanding why my program is not working here. I am trying to ...
[8 replies] Last: #include <iostream> using namespace std; int main() { int cool ... (by closed account 48T7M4Gy)
by Hanske
While loop with conditions
 
Hello, I've already did a couple searches on the forum but wasn't able to find a particular solut...
[5 replies] Last: Yep! Exactly. Thanks for the help! (by Hanske)
by Reekoh
Help. Abort() has been called
 
Write your question here. Hi. I need pointers on what could be wrong with my damage calculations. ev...
[1 reply] : = is used for assigning values. If you want to compare equality you sh... (by Peter87)
by zxkun
prototype in my function is not declared
 
#include<iostream> #include<string> #include <iomanip> using namespace std; int menu(int cho...
[6 replies] Last: #include <iostream> // #include <string> // ??? // #include <iomanip>... (by closed account 48T7M4Gy)
Hash String During Compilation Time
 
I copy a code from stack over flow. its purpose is hash a string during compilation time. on v...
[3 replies] Last: Many Thanks! (by Wu zhen hai)
Bool function to check if two arrays are identical
 
hello, I need to write a bool function that checks if two 1D arrays of equal length are identical. I...
[5 replies] Last: #include <algorithm> // http://en.cppreference.com/w/cpp/algorithm/e... (by JLBorges)
by Alu
Converting strings in a String Array into lowercase
 
Is there a way to convert strings inside an array into lowercase? So say I have an array like: ...
[1 reply] : When you aren't using straight C++ it is a good idea to also indicate ... (by Duthomhas)
Calculate position and angle
 
Hello everybody, I am self-teaching myself game physics and currently I am reading a book called "Ma...
[10 replies] Last: Thank you Jonnin :) (by MultiMedia)
recursive boost exception using io_service
 
I was expecting the code below to continue throwing an exception, since a call to the ios object is...
[no replies]
I/O with files
 
Hello, geeks! I'm having a code that saves data of an object into a file looks like this... //Th...
[4 replies] Last: Player.cpp #include <fstream> #include <iostream> #include <stdexcep... (by Enoizat)
Help my code stops at the end!
 
total rainfall Average Monthly Rain: The average monthly rain is total rain of 12 months then divi...
[11 replies] Last: http://www.cplusplus.com/forum/general/220758/ (by closed account 48T7M4Gy)
September 2017 Pages: 1... 18192021
  Archived months: [aug2017]

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