Beginners (Page 52)

Best way to store a deck of cards? (Array, Vector or something else?)
 
I decided to make a Black Jack program to relearn programming/c++. I've gotten as far as making t...
[6 replies] Last: Thanks for your help guys! My deck is now residing inside a struct! (by HiCalSoft)
Error in Cout statement
 
I'm getting an error in my second cout line and cant figure our what I'm doing wrong. I thought I d...
[3 replies] Last: Line 16: That's not the correct syntax for a switch statement. No... (by AbstractionAnon)
download/use random.h
 
Hi, I need different random number generators and some functions to generate random distributio...
[2 replies] Last: Thanks for the answer and the comment. (by Genitruc)
by xello
too many initializers in character array
 
I've googled 'too many initializers' and the only problem people seem to have with this is where the...
[3 replies] Last: Thanks for the quick response! both solutions work. (by xello)
Clarification about this
 
Say if i have a function like: void SceneNode::attachChild(Ptr child) {      child->mPa...
[3 replies] Last: I do not see recursion in your code, and it looks like sensible code: ... (by MiiNiPaa)
Little practice work from class, Confused
 
You have been hired by Home Loans Made Easy Bank, which services Mecklenburg and Cabarrus counties. ...
[7 replies] Last: The ceil works but I just dont understand what it does to the thing. ... (by AbstractionAnon)
How to implement Tidy HTML?
 
Hi, since yesterday I have been searching the web on how to get the "tidy html for C++" package runn...
[2 replies] Last: Awesome, I guess it's working now :) :) Thanks a lot! The first time I... (by Laurentius89)
Substitute an alphabetical char with another
 
I have to modify a string by replacing the alphabetical letter by a given integer of letters. For ex...
[no replies]
by jdmic
Dereferencing string pointers
 
First post !!! Hi, I'm new to c++ but not in the programming world so I put my question in the...
[9 replies] Last: ( p - lpData ) * sizeof(*lpData) When substracting last+1 and firs... (by jdmic)
craps game please help me
 
****
[13 replies] Last: The instructions are your program! Just take each part of the instruct... (by PCrumley48)
argument type reference vs pointer
 
Hi again, I'm a little confused about the following: I have an event (Qt Signal/Slot concept) th...
[2 replies] Last: Ok, sounds logical.. thanks (by Binary91)
Calling constructor of parent class by calling constructor
 
Hi, I've got a question about constructors and calling their parent constructors by the way: Exampl...
[3 replies] Last: Oh, thank you guys, I think I misunderstood something in my book... S... (by Binary91)
by Ikana
set precision struggles.
 
I seem to be having some issues using set precision, fixed and a few other manipulators to fix my ou...
[1 reply] : What exactly your problem is? std::cout << std::fixed << std::setprec... (by MiiNiPaa)
CryptUnprotectData keep failing with error n 13
 
i've this function: std::string Database::Decrypt(std::string line) { DATA_BLOB ClearText; Ze...
[7 replies] Last: Well, the decryption fails if a single byte is wrong. So I'm surprised... (by coder777)
What am i doing wrong?
 
I'm supposed to write a program that inputs various student id numbers from a file, then takes the a...
[7 replies] Last: Because you are still reading them from binary file. (by MiiNiPaa)
C printf
 
I am having an issue understanding why the %x is not working in this code. Since int_ptr is a pointe...
[8 replies] Last: just checked dos c++ lang. %p is in there too for pointers. (by closed account 1CfG1hU5)
Getting Scanf
 
Please help, im trying to get the answer and when the answer is true, it will print, otherwise false...
[4 replies] Last: note: #include <conio.h> won't run on cpp.sh web site. (by closed account 1CfG1hU5)
7 / 11 dice game. while loops and with points and stuff
 
Write your question here. So i have this project where in we are to make a 7/11 dice game. Somehow, ...
[no replies]
Output last name of first name
 
I have to create a program where I ask the user for a full name, then find the last name and print i...
[10 replies] Last: another error: Debug assertion failed! program: c:\ file destination ... (by alex067)
hourglass made out of "*" with an odd number inputs
 
I'm trying to write a code for an an asterisk hourglass, the constraints are that the user enters th...
[no replies]
Pages: 1... 5051525354... 121
  Archived months: [aug2014]

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