Beginners - March 2014 (Page 60)

Ifsting problem
 
I need help about database, my problem is I need a code on how can I pop out my output on Microsft E...
[no replies]
Random Numbers help
 
I am currently writing a slot game program. I have most of it worked out but I cant seem to generate...
[1 reply] : #include <iostream> #include <random> #include <ctime> constexpr std... (by JLBorges)
Struggling with Reading File Input
 
Hello, I am working on a school project that requires me to read basketball statistics from a file ...
[no replies]
by wolfv
Write to a stringstream and then read from it
 
Is there a way to write to a stringstream and then read from it (including a space charater or empty...
[3 replies] Last: jlb: line 18 repositions the get pointer so it can read the character ... (by wolfv)
key reading
 
i would like it to read if any key is being pressed for the time its pressed #include <iostrea...
[1 reply] : I'm a bit confused on the iostream and std then you use printf. :P any... (by giblit)
Quick question
 
Hey I have a my programming lab question here and I just don't know what's wrong. This is the que...
[2 replies] Last: Ahhhhh! Yes it was my lack of curly brackets on the the else statement... (by eladage)
by kim12
Need help with C++ assignment!
 
Can someone please help me? I can't figure out how to code this assignment I have. The assignment is...
[4 replies] Last: How would I go about coding something that overlaps like for example,... (by cire)
How to put a counter..
 
So for this code I have a menu and I need to put counters for Falafel, Soda, and extras with their t...
[no replies]
srand compiler error
 
Hello all, I am trying to make a player vs computer tic tac toe game, and it runs a couple turns and...
[1 reply] : http://www.cplusplus.com/forum/general/112111/ //makes the seed tim... (by ne555)
Need help please
 
if i entered 10 characters and i want the program to cout a certain character in the string and besi...
[3 replies] Last: EssGeEich (2118)@ the code didn't give me the desired result. i don'... (by hossamshreef)
by merta
Matrix
 
a program that will input an n-by-n matrix A by rows from the keyboard in the following way. Each li...
[11 replies] Last: The problem is solved whit this code: int row = 0, col = 1; cons... (by merta)
C++ forbids declaration of ‘setPosition’ with no type
 
Hi all. Trying to work through exercises in "An Introduction to design Patterns in C++ with QT". ...
[3 replies] Last: Do you know why it needs a return type? The language requires it. A... (by cire)
member functions passing variables
 
Hello all, writing code for a game, and am trying to ask the user if they want to play vs another pl...
[2 replies] Last: you are amazing, thanks!! (by pilotnate)
String search program
 
Hey all, I'm working on this homework assignment and I'm really having trouble. I'm supposed to co...
[7 replies] Last: Problem is probably that if word is in line multiple times, it will be... (by MiiNiPaa)
need help with shipping cost program
 
I am doing a C++ program for class it has to list shipper, receiver, add insurance and shipping cost...
[1 reply] : Why are the receiver and sender's names doubles? Shouldn't they be str... (by giblit)
by angelk
C++ Game managerial/strategic shift
 
I develop a managerial game/turn-based strategy, with the use of AI (Artificial Intelligence). Can y...
[no replies]
What does this code entail?
 
Hey guys, This book I'm following gives questions but no answers which is strange but this is one o...
[4 replies] Last: also you don't need to output the pointers address like that. cout... (by giblit)
Simple way to convert exe to apk.
 
Hello, idiot question over here : Is there a simple way to convert a C++ console executable to a apk...
[1 reply] : For direct conversion, I don't think so and do not think it will be ef... (by Aceix)
How to take care of these repetitions elegantly?
 
The following gives what I want, but I want to remove the repetitions: #include <iostream> #inc...
[3 replies] Last: If there would be several more entities like Menu: Visitor + CRTP http... (by JLBorges)
by enemy
Global variable-heap???
 
Hello! Please, if we have a global variable, declared on the very beginning of the program, variabl...
[1 reply] : See this: http://stackoverflow.com/questions/1169858/global-memory-man... (by long double main)
March 2014 Pages: 1... 5859606162... 79
  Archived months: [feb2014] [apr2014]

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