Beginners - December 2009 (Page 8)

someone please edit my program
 
i am planning to make a game called spot the not. the problem is i don't know how to have a timer a...
[14 replies] Last: .... where did I put that shotgun.... lol :P (by Mythios)
by rhcr56
manipulating CSV files in C++
 
I am trying to write a program that will take a CSV file in excel and output a certain number of lin...
[3 replies] Last: I tried a few different things with .csv files in C and C++ - See if t... (by Mythios)
Returning an array
 
Guess this question's been asked a billion times, but since this forum has a strange search engine I...
[10 replies] Last: That wasn't your original question. Your question was and I quote: ... (by closed account S6k9GNh0)
initializing a global const array of objects with file data
 
Im creating a c++ console RPG and would like to have a global constant array of objects that stores ...
[5 replies] Last: There's a possible buffer overflow on line 26. There's no way of knowi... (by helios)
how to make a basic calculator
 
I know you guys are gonna laugh but this is all I could come up with. it succeeded but doesn't work ...
[4 replies] Last: Here is something I just wrote up. Basicly type a number, press enter,... (by closed account y8h7M4Gy)
Enumeraters?
 
In a C++ book I'm reading it has an example where an enumeration is used to return an error report o...
[3 replies] Last: Thanks both of you, I understand now. (by Warrior2089)
by patman
Why do i have this output?
 
Hi! i write the following code and as an output i have "no" "yes".I wonder why i don't have "ye...
[5 replies] Last: ahhh ok, i reread the original post ,,, you are right, the x=5 threw m... (by BettyBoopTS)
struct in another .cpp file
 
So, I have a big list of struct objects that I don't want to put in main.cpp but I want to be able t...
[6 replies] Last: I forget to put ';' after my classes/structs every so often too...<_<; (by firedraco)
illegal indirection with pointers to structure
 
Hey, The following program must ask user to enter number of contributors, then using the dynamic ...
[2 replies] Last: Alright, thanks. (by neshtak)
quickest way to initiialize a int array to 0?
 
Hi, have class A with int array ; in const of A, try to initialize array as all 0, as A() ...
[10 replies] Last: thank you all for the input. I got more than what I want :). really ap... (by chrisben)
++ symbols
 
What does ++ signify? Would 24++ be 25 or 26?
[9 replies] Last: thanks for the explanations, it cleared things up for me, i stand corr... (by BettyBoopTS)
Output Error!
 
PLEASE HELP!!! This is the method I had written for a game data program I'm working on. OpponentN...
[6 replies] Last: for execution I don't think this would make any difference I'd guesst... (by helios)
Problem converting a string to an int with stringstream
 
I am having trouble converting a string to an integer with istreamstream. I've researched it, tried ...
[4 replies] Last: It's an Xcode issue: http://stackoverflow.com/questions/1377038/string... (by Bazzy)
by ad1234
Handling .csv to array
 
What I need to do is read in the following (from .csv), calculate something [float estimate] using t...
[5 replies] Last: Is this something that has to be done in C++? For example, if you are... (by moorecm)
function corrections and linking guidance
 
this program is currently part of my assignment. # include <stdio.h> # include <stdlib.h> i...
[1 reply] : You are missing a break; in case 1. (by jsmith)
Whats wrong with my standard deviation code?
 
#include <iostream> #include <fstream> #include <cmath> using namespace std; int main() ...
[2 replies] Last: Then there's the fact that your current equation is sqrt((( count * p... (by wasabi)
setw
 
I'm confused on this. if string kitty = "Flat Cat" cout << setw(10) << kitty << endl; How shou...
[2 replies] Last: as described above the format is right justified unless a minus symbol... (by gcampton)
Why does passing by reference work?
 
In a C++ book I'm reading it is teaching how passing variables into a function by reference will cha...
[2 replies] Last: That was actually really nice advice. After doing more research I've f... (by Warrior2089)
What program.
 
What program do you use to run C++?
[2 replies] Last: Thanks. (by closed account y8h7M4Gy)
Code Check Please. Syntax Errors
 
I'm completely new to programming of any sort, and am halfway through my second day of trying to lea...
[6 replies] Last: Hrm... I just tried to increment a floating point and I don't get an e... (by Disch)
December 2009 Pages: 1... 678910... 23
  Archived months: [nov2009] [jan2010]

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