
please wait
Problem with my programming book |
Hello, I'm studying C++ with the book : programming priciples and practice using C++, my problem is that the exercises requires to use tools not shown yet by th... |
Oct 18, 2014 at 10:23pm
[7 replies] Last: This is the easiest book for beginners: https://drive.google.com/file/... (by anup30)
|
by dipak99
store low hex and high hex in char array
|
Hi, I have a data. i want to make 1000 packet of it, every packet has an id. Packet id is in hex and in two parts, hex_high & hex_low and need to store at fixed... |
Oct 18, 2014 at 9:27pm
[11 replies] Last: ab = 1010 1011 = - 85 //↑sign bit cd = 1100 1101 = - 51 //↑... (by MiiNiPaa)
|
by cuni10
Problem with pointer array
|
I am writing two classes named 'Set' and 'Element' and I want to write a method that makes Set store an object of Element. Here is my code: main.cpp #... |
Oct 18, 2014 at 9:24pm
[2 replies] Last: Thank you very much! I spent many days trying to figure this out. (by cuni10)
|
by patriic48
Need to stop the loop at a certain point
|
I have an Array where 10 people eats pancakes. I want to stop the input when the last person have eaten but it needs Another input to stop the loop and I cant f... |
Oct 18, 2014 at 8:57pm
[3 replies] Last: Try moving the cin >> input on line 18 to the first line inside the ... (by Alrededor)
|
by akai09
please help with yes or no program
|
hey guys i need help with my code. i need help with yes or no question. here is my code. what i need help is only 'y' or 'n' should work. when i enter 'y' than... |
Oct 18, 2014 at 8:08pm
[2 replies] Last: #include <iostream> using namespace std; int main() { int curren... (by akai09)
|
by Angeljruiz
Not reading 0x20!
|
Hello all I'm reading a binary file and some of the value are incorrect. Please help! Here's the relevant code #include <iostream> #include <fstream>... |
Oct 18, 2014 at 6:48pm
[2 replies] Last: Ahh thank you! It's working fine now. It's small quirks like that, tha... (by Angeljruiz)
|
by xxgixxx
c++ rando number generator help
|
Write your question here. hello , i am a beginner to c++ and new to this forum and i need help with this code. i am trying to make a random number generator wit... |
Oct 18, 2014 at 5:58pm
[2 replies] Last: thank you @shadowCODE it worked perfectly . it would be good if i coul... (by xxgixxx)
|
by St4be
Functions inside while loop; random outputs?
|
Hi. I have this project for school. I thought I had the idea of functions understood but the responses I'm getting from the console seem completely random. It's... |
Oct 18, 2014 at 5:47pm
[5 replies] Last: Ok, I got it done. Thanks alot guys for your help. I will probably be ... (by St4be)
|
by lmm131
Binary i/o vs Stream i/o
|
What is the difference between binary i/o and stream i/o? |
Oct 18, 2014 at 5:17pm
[1 reply] : Within the context of C++ (and C, for that matter), binary I/O is a us... (by Cubbi)
|
by coltehrman
My BlackJack Program
|
Hello everyone! Check out my cool little blackjack game I programmed myself :) Please comment your feedback and changes I should make... Thank you! P.S. Anyone ... |
Oct 18, 2014 at 5:16pm
[2 replies] Last: Any idea how I can implement a double down feature? (by coltehrman)
|
by Deathsbreed
Does where I put the * symbol matter?
|
While watching C++ tutorials I've noticed that when using pointers or references the same people will use multiple different manners of declaring pointers/refer... |
Oct 18, 2014 at 3:38pm
[11 replies] Last: I too consider int * x, y; problem a C language flaw. Even more, i ... (by MiiNiPaa)
|
by Ganado
Conditional member initialization
|
Is there a way to still effectively use the member initialization list when there's if-statements inside your constructor? I am doubtful but thought I'd ask any... |
Oct 18, 2014 at 3:05pm
[3 replies] Last: you can use the ternary operator like so class Thing { public: ... (by jaded7)
|
by pattquinn
Multiple conditions in while loop for char variable.
|
I have a while loop whose purpose is to check if the variable letter is equal to some letters, such as in, #include <iostream> #include <iomanip> using namsp... |
Oct 18, 2014 at 3:04pm
[4 replies] Last: This might help clear things up for you. http://stackoverflow.com/que... (by mobotus)
|
by jakvrh1
Could I improve this code?
|
Could I improve this code with references or pointers? Is it even possible to use reference or pointer in this case? int humanTurn(const char table , cha... |
Oct 18, 2014 at 2:47pm
[8 replies] Last: With all the talk about which passing method is faster and whatnot, it... (by Esslercuffi)
|
by HelenI
Round Up..Help me!!
|
Hey guys... I'm trying to solve an exercise that i have to round up a number and give the error too. I'm allowed to round up the decimal digit or the hundred... |
Oct 18, 2014 at 2:44pm
[1 reply] : http://www.cplusplus.com/forum/beginner/3600/ (by shadowCODE)
|
by mvavrock
First Tic Tac Toe
|
I am attempting to write a Tic Tac Toe program and this is my starting code. Any pointer on how to get this going? I can not get the function getGameState to w... |
Oct 18, 2014 at 2:05pm
[9 replies] Last: Any time you find yourself writing similar code over and and over, ste... (by dhayden)
|
by shindosu
Wind Speed Flight Simulator Assignment Help.
|
Hi guys, a beginner here. I'm supposed to make a program by midnight and I am stuck on this one part. Basically, I need to, "Generate a table that contains... |
Oct 18, 2014 at 1:20pm
[12 replies] Last: Yup, that actually worked! I had to turn in my assignment with the ti... (by shindosu)
|
by banksters
Dynamically sized array of struct
|
Hi there, I am VERY new to C++ and had a question on how to make an array of structures where the size is determined by user input. I've been reading around an... |
Oct 18, 2014 at 6:14am
[5 replies] Last: And it works! Thank you so much. (by banksters)
|
by baoduyhp
Data with Class
|
After "test.add1();" in main, the value of a is 4, but I hope it to be 5 by using class Interger. Please help me ! class Interger{ private: int data... |
Oct 18, 2014 at 5:58am
[2 replies] Last: In case it still isn't clear... In main you make an int called a . Y... (by Ganado)
|
by banithel
help with if statement/loop
|
I am doing this RNG code for a project, I have it almost all the way finished, but am having an issue with one last thing. I need to know how to put the fo... |
Oct 18, 2014 at 5:38am
[4 replies] Last: You are correct. Anyway, here's a link to something that does in fact... (by Renthalkx97)
|