Beginners - November 2009 (Page 23)

Not getting any output.
 
this is my homework, but a hint in the right direction would be very helpful. this program is supposed to take a set of numbers and output the oddcount, sum,...
[3 replies] Last: If you need bigger numbers, you can use long int instead of int . ... (by firedraco)
by VMM9
Minesweeper game - HOMEWORK!
 
I need help with minesweeper game - thanks!
[6 replies] Last: HB88: He never said that we are forbidden to ask for little help XD I... (by VMM9)
C++, member function.
 
is there a way to declare a data in member function? i am making a print function to print the data that i keyed in. but compiler error.... Here's my code......
[9 replies] Last: Remove the tilde from your destructor definition and you'll have it. ... (by Bazzy)
by mo327
Unresolved External Symbol
 
Hello, I have been trying to compile and run a relatively simple program using Microsoft Visual Studio 2008. However the following error message pops up. What s...
[2 replies] Last: The errors I can see are: class Vertex { public: color c; // where... (by Bazzy)
Finding a cycle in a graph
 
I'm given a graph, where the points are connected by edges given by numbers like: 1 3 2 19 8 12 etc. The method prescribed to find the graph is to set ...
[2 replies] Last: There is a problem. In fact I've tried this problem a number of ways a... (by barneyTdino)
All possible "if" statements displayed when only one is desired
 
Hello Everyone, This is my first post here. Really digging what I've seen so far in the CPlusPlus.com forums, in terms of the apparent helpfulness of the com...
[4 replies] Last: Whoa, I got totally off base. It runs perfectly now...thanks a ton!!! (by rythmicillusion)
by ztein
program skips through all of the array inputs
 
Writing a program that reads up to 10 donation values into an array of double and must terminate input on non-numeric input. It should also report the average o...
[6 replies] Last: Got it. Thanks. (by ztein)
by ztein
i/o file not being read completely to console's results
 
The "scores.txt" contains 12 items in the file, that should sum up to 204.5 and have average of 17.0417 The program doesn't appear to be reading the last val...
[2 replies] Last: Oh right. Thanks. (by ztein)
access error!
 
hey...this is my code. when i compile, there are no errors but when i run my program, there is this access error that comes up and doesn't let me run my program...
[4 replies] Last: thanks so much for the link...i browsed through and it seems very help... (by preetii90)
fread and fwrite.. extra data being written to file
 
hi all, I've been trying to write a simple C program to use fread and fwrite to read some data from a file and write it into another file. It works, though i...
[3 replies] Last: The fread () function returns the number of items it read. You should... (by Duthomhas)
C2039 'setprecision' not a member of std
 
I am a beginning programmer. I am doing a program for class and keep getting error codes C2039, C2873, and C3861 all having to do with setprecision. I am using ...
[7 replies] Last: Thanks for your help everyone. I finally got the problem solved. (by reginat1)
Hi People, I would request a few suggestions
 
I'm sorry my english is bad, and I'm using google translate. I'm a beginer C++ programmer. Suggestions on my request, I would like to develop multi-platfo...
[2 replies] Last: Thanks for reply @Duoas, I think learning Qt as the GUI. How abo... (by MikailCOLAK)
by skater
Pancakes Glutton
 
// Pancakes Glutton /* Write a program that asks the user to enter the number of pancakes eaten for breakfast by 10 different people (Person 1, Person 2, ....
[4 replies] Last: tnx for all the info guys .. will try to use struct now , and YES it i... (by skater)
My Code is too long.
 
I am using xcode, and am writing a proGRam to allow for hotseat chess, and xcode now says that my code has exceeded the character limit. Is there a way to ge...
[1 reply] : See if you left an unclosed string. The file would have to be giganti... (by helios)
How can make class Digram for this!!!
 
The prominent bank in the city, BANK xxxx, intends to install a new automated teller machine (ATM) to allow bank customers to perform basic financial transactio...
[2 replies] Last: You could also, ya know, do it yourself? (by firedraco)
by cbeppe
C++ Line Counter
 
Hello and welcome to my first post!! :) I have just started C++ programming and my first project is a program that will read a text file, print it in the con...
[9 replies] Last: Thanks so much for your help. It works perfectly now, pulling out the ... (by cbeppe)
Convert float to distance
 
Hi all! here is my code(converting float to distance). i try to use operator to solving that. But it cannot work. So please tell me where is wrong! #include<io...
[3 replies] Last: Thank you Kempofighter! (by chinzoo)
goto statements
 
i have a question about goto statements. i have a program with a loop with multiple if statements inside. i got rid of the loop and started it with - begin main...
[4 replies] Last: ya i got rid of them in the code. my compiler was giving me errors and... (by shadowvillian)
Enhanced Magic Number
 
Hello, I have this Problem Enhance the Magic Number program by telling us if we missed the number the following: Very Near, Near, Far, Very Far. Wha...
[12 replies] Last: Perhaps in a Utopian world they are. In the real world, there are a g... (by chrisname)
by bugs
How to use typedef struct tagName
 
Is there any special meaning of "tag" below? typedef struct tagMSG { HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; POINT pt; } ...
[1 reply] : In C, a struct identifier has its own namespace, separate from the r... (by Duthomhas)
November 2009 Pages: 1... 2122232425
  Archived months: [oct2009] [dec2009]

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