Beginners - July 2011 (Page 45)

Beginning to learn C++ need help coding
 
I would like to know the definitions of cout and cin and what they do and mean and also just how to code things and make them understandable for me to use in my...
[5 replies] Last: Alright thanks a ton, ya I was looking at books online for C++, I prob... (by millerme)
using % in c++
 
hi.. i was making a program that inputs 3 integers and makes the user select a certain operator.. then after that i need it to determine if the total is an even...
[2 replies] Last: ah.. i see.. tnx for the help.. the int did work.. :) (by ayish100)
if else statements
 
can u please help me with these.. my code runs..unfortunately theres still something wrong.. can u please help me solve this? been doing these for the past few ...
[9 replies] Last: tnx for the heLps.. very apPreciated..:) (by ayish100)
by asrat
c++ book with answer book
 
Hi, C++ primer is good book for beginner and it has answer book named c++ primer ANswer book. Any other good book for beginner which has official answer b...
[8 replies] Last: doing the exercises in programming books is (almost) a complete waste... (by closed account z05DSL3A)
by vlad61
"=="
 
Hello im trying to do a simple factorial loop here. and im wondering why does i==something not work as a proper condition? Or am i doing something wrong...
[17 replies] Last: 4! is 24 ^^ (by anonymous23323124)
Programming definitions
 
Hey everyone! I have two questions really, I was wondering if you can help. They're a bit funny, I don't think you can really google them: Firstly, I've j...
[4 replies] Last: Well, the thing is that you need to learn the words/phrases (and their... (by coder777)
Creation of Multiple Objects
 
I'm a casual programmer and I'm trying to broaden my knowledge of C++. I am fascinated by Object Orientated Programming and I am trying out a small project o...
[3 replies] Last: In that case, you would create a pointer array (read: a ptr_vector) of... (by Athar)
problem in making sudoku game
 
i am on my way to make a sudoku game....and i want the user to enter the number wherever he wants without me asking where to enter....how can i do that?
[3 replies] Last: I would recommend you to go wıth the console at this point. what you ... (by muratagenc)
by acorn
error flash
 
Im using vc express im getting some kind of warning something may be unsafe but it disappears when my program starts so I cant read it. how do you see it if it ...
[10 replies] Last: the unsafe warnings are the same which i stated above. put this "_CRT... (by writetonsharma)
Sudden New-Project Problem
 
I haven't used this particular PC with Visual Studio 2010 for several weeks, and my "Source Files" folder inside of the Solution Explorer is no longer producing...
[1 reply] : I haven't used VS much, but I think, in the worst case, you can copy a... (by muratagenc)
by wtf
Safeguarding scanf() reads as with cin >>. Is this possible?
 
int x; backhere:cin >> x; if (cin.fail()) { cin.clear(); cin.ignore(9999, '\n'); goto backhere; } Will catch bad input error...
[8 replies] Last: thanks alrededor I will look into it. Today i've been reading up... (by wtf)
by acorn
getting irritated with function pointers
 
I understand basic c style function pointers like below. #include <iostream> #include <limits> using namespace std; float multiply(float x, float y...
[4 replies] Last: more then 6 different trys now to remember syntax w/o peeking. lol. ... (by acorn)
by acorn
what to read or where to go next
 
As of late Im beginning to feel lost in the language. Ive gone over enough where I find myself skimming over large amounts of material I already know in books, ...
[4 replies] Last: When skimming over material you think you know, don't see if you under... (by Intrexa)
by adn258
Being A Cheapskate With Code Is That Ok For Awhile?
 
So I recently got some wonderful assistance with using the RegSetEx( RegOpenEx etc. functions used for windows for controlling and changes values in t...
[4 replies] Last: To save time learning the undoubtedly horrible (assuming based on my e... (by kev82)
Reset char variable
 
I have code that loops upon itself until the user inputs the correctly. Initially, the user input is captured in a char variable like this: char response ...
[2 replies] Last: Sorry, my bad. My problem is variable scope one. I just stepped thro... (by joatmon)
by stuted
[Acquire help] Case errors
 
Hi, first of all as a gentleman i would like to introduce my self a bit. People who are in a hurry may skip these lines. So i'm a regular student who wants to ...
[6 replies] Last: No need to apologise, I'm a newbie myself. I post here twice or 3 time... (by eidge)
by Skizzy
Beginner Problems. C++ Assignment
 
Im learning C++. And I am doing a problem in the book im reading to learn it ( introduction to Programming with C++) Im currently learning to use while loop...
[6 replies] Last: Hey that worked ^_^ Ok, sorry, ill use the thing from now on im sor... (by Skizzy)
How to convert a string type variable into an integer?
 
Hi everybody! Does anybody know any function that converts a string type variable to an integer type.For eaxample: string year="2011"; int number=function(...
[5 replies] Last: Or it can be used used like this : string year="2011"; int y=atoi(year... (by alendrex)
by wasabi
SFML down
 
This isn't exactly the right place to do this, but I can't think of anywhere else to do it. Am I the only one that has noticed the SFML (Simple and Fast Multime...
[4 replies] Last: Funny, now its working for me as well. I've been trying for days... th... (by wasabi)
by adn258
Registry Function What Am I doing Wrong?
 
So I'm trying for practice to use a registry function to change the REG_SZ wallpaper key to a string that points to an image on my desktop. I read Microsoft's ...
[7 replies] Last: On line 21, you are making a string of chars, when you should be maki... (by adn258)
July 2011 Pages: 1... 4344454647... 54
  Archived months: [jun2011] [aug2011]

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