Beginners - December 2012 (Page 22)

cin.getline and cin behave strangely. Problem with buffer?
 
Hello, i am messing around with operations on strings using pointers (i am not sure about translatio...
[4 replies] Last: Chervil, i send thanks to you and bless your family :) It should be li... (by janekkubek)
After String Concatenation first word is not displayed
 
Below is the code given i have made this program to concatenate two strings concatenation but after...
[1 reply] : Indiscriminate use of cin.ignore(). The problem is that you ignore a ... (by cire)
Heh, weird bug
 
Hi people, I've got code that does something kind of random, I was playing with pointers and was rea...
[5 replies] Last: You don't need an output file. You have two options. In the console wh... (by Volatile Pulse)
PASSING 2D ARRAY
 
program just stops working when i execute it i need to pass an array of size , if i decrease the ...
[3 replies] Last: There is no immediate error with the code you presented (aside from th... (by Volatile Pulse)
Resistor Project. Help on reading in Enum Types
 
I'm gradually starting to understand how to start building a program to calculate the value of a 4 b...
[1 reply] : Here's one way. #include <iostream> #include <string> int main() { ... (by cire)
Quasi connect 4 help
 
Hi there. Totally new to this forum, and am sort of picking up programming again after not doing it ...
[4 replies] Last: Yeah I think you're right on the real board size. It makes more sense ... (by NiMRODPi)
Switch from console to window.
 
Hi all, Over the last five years I have developed a console application in C++. It is basically a...
[2 replies] Last: Wow, great reply thanks. I'm going to check out Code::Blocks now. I mi... (by GoldenBoy)
floating point issues
 
can anyone plz give me a link to a tutorial for understanding floating point issues and reasons behi...
[1 reply] : http://www.cs.utah.edu/~zachary/isp/applets/FP/FP.html http://docs.ora... (by JLBorges)
Temperature Converter
 
Hello guys, a little while back maybe a few weeks or so I made a Temp. converter program and would j...
[6 replies] Last: [quote=guatemala007]I don't understand what you mean by brace style is... (by cire)
Help with some code
 
Ok, so I am making a simple betting game here is the code #include <iostream> #include <cstdlib...
[2 replies] Last: Thank you very much! that solved my problem (by Sharpie)
Why is this random integer repeating?
 
This is my program: void roll_strength() { srand(time(0)); strength = rand(...
[2 replies] Last: Thank you! (by dingo25)
by pooshi
Shared Memory
 
Hello all, I have a question about shared memory and I was looking for further understanding. I ...
[2 replies] Last: Or you could use the _T or TEXT macro to have it define the correct ty... (by cire)
HELP ME!! PLEASE!
 
Help! I have a problem in running a program! It compiles but it doesn't work (The black one doesn't ...
[5 replies] Last: I was using dev c++, but I was having problems. Now I am using code::... (by Sharpie)
by dim4s
manipulation string
 
sorry i need help to finnish my project in C++ (i use the library "include <iostream>"). 1. how...
[1 reply] : Looking into the basics of stringstreams should give you the answer pr... (by Hippogriff)
How to make a random integer?
 
I want the program to generate a random integer between one and twenty, but I don't know how someone...
[5 replies] Last: Thanks! (by dingo25)
why?
 
hello, I am having problem with my Borland C++. the problem is, if i'll run my script for 2 X w...
[no replies]
< overloading issues
 
Can't seem to get my program to work class Outer { class Inner { bool operator<(c...
[2 replies] Last: So why the nested class declarations? And why the address in the if s... (by TheIdeasMan)
by Jofasa
Why wont my function work here?
 
#include <iostream> #include <istream> #include <fstream> #include <string> using namespace std;...
[10 replies] Last: Thanks again for your input, you have been a great help. (by Jofasa)
Quick Question about Classes (1,2)
 
I am learning classes this week and I have an assignment to use a class labeled date to have a user ...
[21 replies] Last: OK, I am pleased to see that you have figured out the functions so tha... (by TheIdeasMan)
Problem With Two Dimensional Arrays
 
I'm writing a program for school that has the user input the cost of a plane ticket, and the program...
[8 replies] Last: I have solved it, and it works using the operator =. It had something ... (by Xethaios)
December 2012 Pages: 1... 2021222324... 65
  Archived months: [nov2012] [jan2013]

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