Beginners - September 2016 (Page 28)

permutation & combination: code crashes with large numbers
 
This code works for small number combinations but crashes when I tried larger numbers, what can I do to solve the problem? #include <cstdio> #include <...
[no replies]
"duplicate symbols for architecture x86_64"
 
I've been googling this compiling error for hours now, trying every little thing I've come across—and so far nothing's working. My header file //quad...
[9 replies] Last: Foo.h #ifndef FOO_H #define FOO_H // definition of custom type "Foo... (by keskiverto)
To Sort or not to Sort
 
Write your question here. I am trying to write a program to answer a question of mine. But I don’t know where to start. I feel that if I defined each card as...
[no replies]
(HW) Using array for a maze to get an object through to winning area
 
So I am trying to complete an assignment where we must move an object through a maze of 0's and 1's where the 0 is open to movement, 1's are blocked blocks, and...
[no replies]
How to?
 
Okay so I'm writing a code for school again and my teacher said,"The ASCII code for π is 227." Well apparently on the mac it isn't OR I'm once again not doing...
[9 replies] Last: I thought about it but she's a 'know it all' type... The ones that act... (by closed account ENhkSL3A)
by fr52
Advancing the counter in an "if" structure
 
Good morning. I'd ask for some hints about the following homework code, which is about printing limited tickets (5 for first class and 5 for second) for a plane...
[2 replies] Last: Many thanks. I just posted part of the code without the function used ... (by fr52)
cin and string
 
Write your question here. i want to calculate the volume of cylinder....... it shows these error i don't know how to resolve this C:\Users\maria\Desktop\ci...
[6 replies] Last: yes got it.. (by maria111)
by Beez
Multiple file programs, not defining functions correctly.
 
Hey all, I've been slacking on my c++ for the last year and a half, and I just cannot seem to instantiating or setting up my header file correctly. I keep getti...
[4 replies] Last: Yeah, that's right. It's the difference between declaring a method,... (by MikeyBoy)
triangle determine
 
can u help me this problem : Input : 4 3 5 output: right triangle input : 4 4 5 output: isoscles triangle input: 4 4 4 output: equilateral tri...
[11 replies] Last: http://cplusplus.happycodings.com/mathematics/code1.html (by AterVulpes)
C++ programming question: utf-8 encoding/output&input as text file
 
I'm using Dev C++ 5.11 as the following link of picture: http://imgur.com/cSNPlZP I wonder how can I input 1.txt and convert to 2.txt then input 2.txt and co...
[1 reply] : So you try to convert an utf-8 text to hex and back. What did you try... (by coder777)
use of undeclared identifier 'charsymbol'
 
I'm getting the errors learning.cxx:20:9: error: use of undeclared identifier 'char symbol' #include <cfloat> #include <iostream> using namespace st...
[4 replies] Last: Thanks :) (by closed account ENhkSL3A)
Having trouble with switch statement
 
Hello everyone. Like the title says, I'm having trouble making my switch statement give me the desired results. #include <iostream> using namespace std; voi...
[4 replies] Last: long is OK for bigger integers. I actually misread it as float when I ... (by closed account 48T7M4Gy)
by GogNut
Hey! Do anyone have some fun projects?
 
Well i am 100% beginner. So do anyone have some projects i can work on? For a perspective this is what i've read: http://www.cplusplus.com/doc/tutorial/introdu...
[4 replies] Last: Study the following concepts and topics 1. Control / Conditional Struc... (by mpark4656)
Getting Stuck on an assignment please help?!
 
Hi all i'm so utterly lost on this assignment, I haven't had any luck finding a tutor, Please help. My instructor hasn't been very helpful. Here's the assignm...
[12 replies] Last: Enter Start Fahrenheit : 45 Enter Stop Fahrenheit : 67 Enter Step : 2... (by closed account 48T7M4Gy)
Auto update date
 
I'm writing a program just for fun. My program will ask the user the date he would like to finish reading the book and calculate how many chapter or pages he wi...
[2 replies] Last: That's awesome. Thanks for your input. (by aerichsen)
Trying to use 2 combo boxes
 
I have to create a program which uses two combo boxes. I have tried multiple times/multiple different ways to create both combo boxes, but the GUI freezes up th...
[1 reply] : Wow....I am really sorry haha. Too much studying today.....mods please... (by hornet7288)
Code not giving me the output I need
 
EDIT: solved
[5 replies] Last: bump (by iwasherenotyou)
Recursive Grammer
 
.
[6 replies] Last: Are there any guides/tutroials for recursive grammar I can study? I ca... (by Dinomite07)
Help with average
 
How can I fix this code // 1. Create a program that will seek input from the user until // the user enters a number less than 10. // After the user enters th...
[7 replies] Last: I apologize for my post; in my haste I did not realize that you wanted... (by Handy Andy)
Help with Tree/Objects
 
Hello, I need to fetch all the elements of the tree. Tree is such that 0 1 2 3 4 5 6 and so o...
[no replies]
September 2016 Pages: 1... 2627282930... 34
  Archived months: [aug2016] [oct2016]

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