Beginners - May 2014 (Page 8)

please can any one solve this question with required code or logic??
 
Q.The 2010 Census puts populations of 26 largest US metro areas at 18897109, 12828837, 9461105, 6371773, 5965343, 5946800, 5582170, 5564635, 5268860, 4552402, 4...
[9 replies] Last: thanks to everyone for help and for your usefull tips... (by sourabh9890)
by DianaV
Naming a Variable
 
Hi I got the Jumping into C++ book and im confused as to how to name a Variable. I understand you need the type first but the example I see changes throughout ...
[6 replies] Last: Xismn - what a wonderful explanation! I totally understood it..lol as ... (by DianaV)
c++ program to reverse a word (without algorithms)
 
Write your question here. Hello everyone I have to write a program to reverse a sentence like cat tac but my program is case sensitive. Like if i enter sen...
[4 replies] Last: Thank you so much the reverse really worked!!!! (by neel3123)
program stops
 
I am in a C++ class - looking to use structs for the first time. Code compiles, runs once through the for loop, the quits after entering the second name. I ...
[4 replies] Last: To all, thanks for the help. Saw the initialization problem after you... (by kenjacks85)
by csharp
help with a function
 
I am trying to write a function to find the maximum, minimum and average of group of numbers entered by user. I did max and average I have problem with findi...
[11 replies] Last: I only added these lines: if (count == 0) { min = number; max... (by long double main)
CSTRING PROBLEM WITH SCANF_S
 
Write your question here. Why doesn't scanf_s work for strings? When I print cstr, cstr is blank. #include <cstdio> int main(void) { char cstr...
[4 replies] Last: cire, When I wrote that statement, I tried almost every combination p... (by phztfte1)
writing in text file
 
how to use fstream library to write in text file ? I tried this code but it does not show print anyting in text file #include<fstream> int main() { ...
[5 replies] Last: Even though it was solved I wanted to remark on something.... [quote=k... (by BHX)
array and recursive functios examples
 
Hey guys .. Can anyone give me an examples for recursive functions and arrays, a simple examples of an array, like sort one or do a mathematic operations on an...
[4 replies] Last: thanx for help dhayen (by m7md389)
by Try963
urgent help
 
hi every one i need your help in this problem The college of Science has just bought a new photocopier. Any person using the photocopier must enter an i...
[5 replies] Last: dhayden has a good example there. A good way to go about programs in ... (by Oh Hey Its Z)
C++ Input validation
 
So I feel really really stupid right about now. I thought I'd paid attention, taken proper notes and had a decent understanding of input validation in C++. Th...
[11 replies] Last: Thank you very much! That fixed it. I keep forgetting about cin.clear ... (by KiraNirvanna)
What is DirectX and OpenGL related to C++?
 
Like, I don't get it. What do they do to normal C++ to change it? I am confused.
[2 replies] Last: They are helper libraries. Basically make it easier to focus on the gr... (by CodeGoggles)
Creating a simple Conversion class
 
I am trying to understand how templates work, if we are talking about putting them in separated files. I would like to create class with templates, precisely I ...
[7 replies] Last: Your linker shouldn't be looking for Conversion.o anyway... I'm afraid... (by Daleth)
by beesee
User input String to Funktion f(x)
 
Hi, i am new to C++ and this Forum. I am Student at the DH-University in Mannheim Germany and for exercise purpose i am writing a program which in the end will...
[6 replies] Last: I tried a lot today with the piece of code you gave me but still dont ... (by beesee)
Libraries for C++
 
I recently learn C + +, with programming environments for C does not sign, so there is a problem with the connection library . VisualStudioExpress2010 chos...
[no replies]
How do you search for an element in a array of structures from a string?
 
I'm doing the addressbook by structures program(I'm sure many of you have seen it) and I'm stuck at the function where you search the global addressbook array f...
[4 replies] Last: Line 102, you are using a comparison operator instead of assignment (=... (by fg109)
Cant really title this :(
 
I've made a program that copies a file from one location to another. But i want when i right click on a file, an option should appear to copy file with my progr...
[6 replies] Last: Thanx softrix and computergeek01 (by Pter0dactyl)
by Nebur
Doubt about static functions in a class
 
I have a general question about static functions. I am trying to look for a criteria that determines when a function must be declared as static into the priv...
[1 reply] : static into the privates. That's what she said? (sorry...) Hmm, I w... (by fafner)
Help
 
I need to limit the mouse in a specific space.
[7 replies] Last: If you go for sfml, I'm pretty sure that there are code::blocks templa... (by fafner)
Give the error please help me?
 
#ifndef CAR_H_INCLUDED #define CAR_H_INCLUDED using namespace std; /******************Class Car*********************/ class Car { private: string...
[5 replies] Last: yes iam adding string and what ever you said but did not show me outpu... (by sarak786)
by DTrey
For Loop
 
I just want to know how to write a for loop to check each value to the 0.1 place rather than a whole number. I know for example doing (int i=0; i<5;i++) goes by...
[4 replies] Last: for ( int i = 10; i < 60; ++i ) cout << i / 10.0 << '\n'; ... (by Yay295)
May 2014 Pages: 1... 678910... 55
  Archived months: [apr2014] [jun2014]

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