
please wait
by imanoob217
file extension for c++
|
im losing my mind over this :x i use vista, what would the file extension be for the following? // my first program in C++ #include <iostream> usi... |
Oct 15, 2009 at 9:53pm
[4 replies] Last: thank you (by imanoob217)
|
by Slapshot004
using <ctrl>-Z to end
|
hi, im trying to write a program to take in a bunch of information and then convert it accordingly. My only real problem is that we are asked to end the progra... |
Oct 15, 2009 at 8:26pm
[3 replies] Last: See the example at the bottom of the article. (by helios)
|
by vexstorm
problem with +overloading
|
so.. i have a 3 files.. fractalDriver.cpp complexType.cpp complexType.h i am getting a crazy error that i have no idea what it is.. but i know where it i... |
Oct 15, 2009 at 7:39pm
[2 replies] Last: wow. that would completely make sense lol... thanks -_-... *sigh* (by vexstorm)
|
by gdsimz
multiplying a decimal to get whole number not working
|
Hi all, I am writing a function to return the number of coins needed to return to user based on the cashing_amount value. The below function works fine unle... |
Oct 15, 2009 at 6:56pm
[1 reply] : Read: http://docs.sun.com/source/806-3568/ncg_goldberg.html Floatin... (by firedraco)
|
by John Galt
My compiler doesn't like my return function?
|
Hey all. :) I'm incredibly new to C++ (well, programming in general) and I'm getting an error message I can't figure out. It's saying "program 2 item.cpp(38... |
Oct 15, 2009 at 6:20pm
[6 replies] Last: Yes, absolutely. (by John Galt)
|
by wachtn
Feedback please
|
This programs checks a files for duplicate lines and creates a new file that is duplicate free. Would you please review it and give me some feed back on how it ... |
Oct 15, 2009 at 3:21pm
[7 replies] Last: I get it. Thanks! (by wachtn)
|
by froggy1976
sequential files
|
The program should: Accept a series of names and addresses from the console. The user's input should be written to a text file in the CSV format described ... |
Oct 15, 2009 at 3:15pm
[1 reply] : string *theField = split(firstLine, ','); split() returns a strin... (by firedraco)
|
by cbouwkamp
Array of Objects
|
Okay I have an assignment I am having trouble with. I have to create an array of objects will use a virtual function. The way the assignment is supposed to be l... |
Oct 15, 2009 at 3:09pm
[18 replies] Last: Huh, strange. At least you got it working though. ^_^ (by firedraco)
|
by gdsimz
need assistance with do while validation..
|
Hi all, Trying to determine why if user types a letter for double data type variable do-while validation gets screwy and an endless loop occurs using the fol... |
Oct 15, 2009 at 12:38pm
[3 replies] Last: Because when you attempt to read an int and it fails because the input... (by jsmith)
|
by robezy
Trouble with filestream and stringstream..
|
Can anyone tell me why the last number of input read from file is printed three times in the below program. Thanks.. #include <ctime> #include <iostre... |
Oct 15, 2009 at 11:33am
[8 replies] Last: The problem is yours fails if there's more stuff in the stream, but no... (by kbw)
|
by JamesB
memcpy elements of an array
|
Dear All, I started trying to learn C++ about a week ago, so please bear with me here. I'm trying to build a function that will insert one element before an... |
Oct 15, 2009 at 10:33am
[5 replies] Last: Ah, gotcha. It seems memmove is the function for me. This works as i... (by JamesB)
|
by hopesfall
Looping a switch statement
|
How can I make the default statement in a switch, loop back to the first case and reprint the cases if the user failed to press a valid option? |
Oct 15, 2009 at 3:13am
[4 replies] Last: http://www.cplusplus.com/forum/articles/6046/ Good ways to get input ... (by bluezor)
|
by nautica17
Compute Pi using arrays (code finished, but not working right)
|
I posted a thread related to this earlier but after redoing the code over and over I decided to start a fresh one. So here is what I have: #include <io... |
Oct 15, 2009 at 2:19am
[3 replies] Last: It worked!! Thank-you so much!!! :D :D :) I've been working on this a ... (by nautica17)
|
by DrChill
Math with chars
|
Whenever I try to print this I get: a n, a dash mark and two tildas stacked on top of each other it should print the number of letters it takes to get to a s... |
Oct 15, 2009 at 1:03am
[1 reply] : Convert to int or any type other than char right before outputting (<<... (by helios)
|
by dominic3176
A factorial program that isn't returning the factorial
|
Hi there! This is my first posting. I'm new to C++ as well. I've included the code I've written for a simple factorial program. The program should only accept ... |
Oct 15, 2009 at 12:34am
[3 replies] Last: So it was a stupid, switcharoo mistake. Thanks for the keen eyes! I ap... (by dominic3176)
|
Can't run program (1,2) |
Hi, I'm a beginner having problems with writing my hello world program. I am using the tutorial on this site, because it seems easy to understand. Allthough ... |
Oct 14, 2009 at 9:03pm
[24 replies] Last: Worked after entering the ignore() command.. Find the lanquage rather ... (by ferrariandersen)
|
by Beaner
txt file spacing problems
|
I finished my program and I am required to put it into a txt file. My program comes out nicely when I run it, but when I send it to the txt file the spacing ... |
Oct 14, 2009 at 7:33pm
[1 reply] : when you view the text file, are you using a proportional font or a fi... (by jsmith)
|
by joshky
Roman Numerals
|
I am working on an arabic to roman numeral converter. The following code works, if the user doesn't enter any zeroes and only 1 or less digits are greater than... |
Oct 14, 2009 at 7:28pm
[4 replies] Last: actually I had a lot of errors where I copied and pasted the different... (by joshky)
|
by bananaHUNT
Reading .txt file
|
I want to read a .txt file with multiple lines, like this example and output them in the program (format: Name/Amount of numbers/Numbers): Don 2 2 1 J... |
Oct 14, 2009 at 7:12pm
[11 replies] Last: Ah now I understand, thank you so much guys ! (by bananaHUNT)
|
by zmarcoz
How to use VS2008 express and DirectX to draw a circle?
|
Just want to do some very simple graphics. Like a circle or a square. Any website teaches us how to do that? Thanks |
Oct 14, 2009 at 6:35pm
[8 replies] Last: The DirectX samples are provided as part of the DirectX SDK and can be... (by jRaskell)
|