Beginners (Page 87)

File IO read lines.
I am accessing this file and reading 4 lines of mixed integers and strings. When I output the buff...
[2 replies] Last: Thanks im glad you caught that. I was up all night working on this and... (by JonsOnline)
Comma in a cin command
#include<iostream> using namespace std; int main() { int a,b; cout<<"Key in the value of...
[3 replies] Last: So initially, a and b are uninitialized (so they can contain just ... (by long double main)
Change color of specific characters in colsole
i have a map for a game that is displayed in the console. now what i would want to do is be able to ...
[2 replies] Last: Thanks that is really helpful. (by Antone333)
Hello, my name is Danilo, i know i know... its not Sam, James or something like that but it's only n...
[no replies]
by Blank
Converting currency
as the title says, my program converts u.s currency to a foreign countries currency. for some re...
[2 replies] Last: thank you!! (by Blank)
by stijn
OS: mac osx 10.9 xcode 4.6.3 i don't understand why i need to flush my console output, cout.flush...
[5 replies] Last: It should flush stream before terminating program. Maybe console win... (by MiiNiPaa)
by iwko
Project Euler #2
I'm still getting message "wrong result". #include <iostream> using namespace std; ...
[2 replies] Last: First iteration: n1 = 1, n2 = 1, n1 = 1, n0 = 1 1 is odd Second itera... (by keskiverto)
binary to decimal
hi friends!. I am beginer c++ programmer and i have problem with converting binary to decimal. plea...
[6 replies] Last: oh i forget it ! i'm tired too ! ;) (by unicornian)
Guess the number game
Hey, i need help with my homework. The assignment is to create a game which generates a number betwe...
[3 replies] Last: Two things First off Don't make code using variables whose names are ... (by frozened)
Roguelike wont draw character movement in array
if you compile this program and test out the arrow keys it appears like nothing is happening. but pa...
[6 replies] Last: You are not drawing anything in your loop either. So you will not see ... (by MiiNiPaa)
I need Help Please!!!
Hello everyone,i have just recently started studying c++, i was trying to create a simple banking pr...
[2 replies] Last: thank you for the hints,i will try to work on it and give you some fee... (by SteepDepth)
C++ open source project to learn from
Hi. I've been learning C++ at my own pace, and now I feel that I'd like to look at other people's c...
[2 replies] Last: Thanks! (by Northern)
trouble overloading operator * with a friend function for a class object and a double on xcode
Hi, I am going through the book C++ Primer, I am currently doing the programming exercises of cha...
[12 replies] Last: You are right, even though in this case the error message was misleadi... (by ines6375)
Scope issue with vector of pointers (std)
I'm sure this question has been addressed already - I just can't find it anywhere (in a form I can u...
[4 replies] Last: They're similar... but your vector is not a pointer. It just contain... (by Disch)
Linking library for every project
Hello, how can I set up libraries to be linked with all projects present and future? I am using cod...
[3 replies] Last: Anyone? (by chamburger)
Wwhere can i convert a word in to a cout word. for example the word "ROUGE!" can be translate or co...
[2 replies] Last: Seems similar to this thread: (by long double main)
by Auroch
Switch statement
Hello! I am trying put a string to the file "test.dat" using "switch". File exist and empty. Program...
[5 replies] Last: @Chervil. I wrote But it is necessary to realize algorithm of the pro... (by Auroch)
Help for vowels!
/*The program prompts the user to enter a sentence, count the number of vowels, display the ...
[3 replies] Last: Here is the correct program, I've bolded what I've changed into your o... (by DareNow)
by MJP12
Two-dimensional Array. Inputting the arrays into the code
I am trying to create a program that allows the user to input 6 quiz grades for x number of student...
[1 reply] : An average would be the total points achieved by all students on a qui... (by wildblue)
by Typ
Rolling a Dice and counting Results
Hey everybody, I just a wrote a procedural C++ Program which "rolls a dice" and counts the amount...
[3 replies] Last: Wow that was FAST :) Thank you very much ! And yeah, using srand() ... (by Typ)
Pages: 1... 8586878889... 91
  Archived months: [may2014]

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