General C++ Programming (Page 8)

by Beezy
Help with Simple Looping Program
 
Ask the user how many data numbers to input, (c&d on input failure). For each input of a data number...
[4 replies] Last: Ohhhh OK got it! Thank you so much for the help and explanation!!! (by Beezy)
How to organize these things ?
 
Currently I have such modules: "types_enum.h" "constructors_enum.h" "common.h" "common.cpp" ... Tak...
[2 replies] Last: Who are interested might wanna look at my solution: common.h: ... /... (by Krogoth)
Coding help
 
Background info is a bit lengthy to understand the context of code. This is an equation to a Bi-li...
[4 replies] Last: Your class should be contain (1) the data section relevant to the obje... (by TheKingOfTyrants)
Why does this give me an infinite loop?
 
This code is to read a file line by line. But it never stops running unless I leave the exit methods...
[2 replies] Last: Thanks for that, I've fixed the infinite loop. So it's not necessary t... (by cppnoob25)
Question regarding assembly
 
So here I am trying to get iPXE to compile on Windows using MingW-64, things were going very well bu...
[no replies]
Beginning C++
 
I would like to learn c++ but I'm confused by the c++ standards i.e c++11 and c++14. I would like t...
[3 replies] Last: Thanks guys. Am using windows so you've definitely been helpful. I thi... (by Andykibz)
by leetgb
Resistor Struct C++ programming
 
newbuie
[7 replies] Last: I would suggest the C++11 random library (http://www.cplusplus.com/ref... (by shadowmouse)
Confusion with Pointers and References
 
I'm working on some WinSock code and I'm having some trouble with some of the syntax. First off we ...
[1 reply] : The second parameter is a reference which in the definition is a poin... (by Disch)
Help with my code
 
Hi guys I've been working on this for a while now and I cannot find any help on this There is 3 d...
[1 reply] : Hi guys I've been working on this for a while now and I cannot find a... (by kbw)
by jwch
how to do this is C++?
 
Each valid number which is input by the player will be analysed and a hint will be given (except for...
[1 reply] : Sounds like your homework. Show us your attempt at it... (by cnoeval)
How to control and synchronize concurrent code execution
 
Hi. Suppose I have two programs where some sections of the code of one program file depend on the...
[6 replies] Last: nice info to know (by csstudent123)
About template programming !
 
First to say, I am making a game. I need all objects to have intrusive lists with 1 global process, ...
[1 reply] : I heard, template programming is cool, so I wanna use it, but I am no... (by Disch)
by olette
Restricting string length and issues with string not being outputted
 
#include <iostream> #include <string> #include <iomanip> using namespace std; class Car { public:...
[1 reply] : Every input I enter keeps giving me the invalid option when the numbe... (by Disch)
Question in initializing a constructor
 
When I initialize my constructor like this : Person::Person(std::string newName, int newAge)...
[2 replies] Last: Wow, I can't believe I missed that ! I looked right over it. Thanks fo... (by brittManka)
Class Object Declaration
 
Can anyone tell what is wrong with the code I wrote. I am trying to create an object with the class ...
[2 replies] Last: Oh ok. Gotcha :) Thanks a lot. (by smayandaruka)
by olette
Looking for a bit of help
 
So my lab tells me to creating reportingMark A string named reportingMark to contain two to four ch...
[3 replies] Last: Yeah I'm not sure. I'm trying equality in the while and it still just ... (by olette)
always static const if variable doesn't change?
 
Hey, Let's assume i have a member Array of vectors, e.g. enemy pawn positions for a game. So the...
[4 replies] Last: Yes. You can take the address of a static. You can't take the addres... (by kbw)
by Lancer
String object
 
1. The following I want to use to input the file names in a CLR Windows Form program. Input is a Str...
[1 reply] : Any reason you don't want to use the File I/O capabilities provided by... (by booradley60)
Merge Sort problem
 
void merge_sort(int *A, int p, int r) { if(p<r) { int q; q=(p+r)/2; ...
[no replies]
by Debn
I need help with my game
 
Hello to everyone! Right now I am writing a game the is like a randomly generated number is showed ...
[no replies]
Pages: 1... 678910... 30
  Archived months: [may2015]

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