Beginners - June 2012 (Page 13)

Error in a vector program
 
I'm trying to run this simple program in "Visual C++ 2008 Express Edition": #include <iostream...
[1 reply] : It has something to with prerecompiled headers and stdafx.h. What happ... (by Peter87)
by Tesuch
Best way to handle big array declarations/output
 
Hey, I've been a fan of this site for a while, and up until this point I've been able to find answer...
[3 replies] Last: Hi Tesuch, I can see that your program is really a C program that use... (by TheIdeasMan)
Ugh... what am I doing WRONG! (1,2,3)
 
Hey. I'm a nerdy bilingual girl xD I've been getting into C++ and have made something I think is re...
[42 replies] Last: Okay thanks *Hugs you and smile* You were very informitive (by SamanthaSpeaks)
Updating Variables from a switch
 
Hi there! In school, we have to make this kind of simulation of an ATM using C++. Its almost done...
[3 replies] Last: Yeah, this block is definitely unneccessary: if (choice == 1) { ... (by korshyadoo)
filestream help
 
Is there a way to create different files in a loop? ex. a1.txt ,a2.txt ,a3.txt .
[3 replies] Last: http://cplusplus.com/reference/clibrary/cstdlib/itoa/ This function ... (by ne555)
c++ code help (noob)
 
hi guys im new to programming but i would like to know if you guys can help me with some code. im tr...
[3 replies] Last: With namespace std, if you are just using cout & cin you can have ... (by TheIdeasMan)
Simple Code
 
The Below Coded Doesn't work #include<iostream.h> #include<conio.h> Class Ex { public: i...
[11 replies] Last: It would be better to have a switch satement rather than a great big i... (by TheIdeasMan)
by kbc08
A couple errors in printmonth program c++
 
I'm having some trouble figuring out how to fix my errors. Here is my program being used to print ...
[4 replies] Last: Hi kbc08, This first point is a technical style one: using namespa... (by TheIdeasMan)
Troubleshooting with getline statement
 
Hello all, I've been writing a program that asks the user to input information into a text file a...
[3 replies] Last: Thanks a bunch! I can' believe that I overlooked that. (by PeterCaya)
C file handling query
 
write a program in C to implement the following : 1. Application read data from the text file na...
[1 reply] : Now I realise that this probably a homework assignment - as such I (no... (by TheIdeasMan)
Homework
 
This home work assignment is kicking my butt. I have to create a program that converts words into ph...
[1 reply] : OK, I have a number of questions here. Have you tried to debug your c... (by TheIdeasMan)
Seperate Compilation of Template in Dev C++
 
Dear All, Let's say I have the following two functions in main.cpp. template<class T> T addit...
[5 replies] Last: Hello coder777 and all, I just tried it out, it seems that putting t... (by boscomanilow128)
includes word
 
I'm writing a code, and I'm want to have different out comes depending on wether a string includes a...
[3 replies] Last: I wonder if what you need is a switch statement? This will allow diff... (by TheIdeasMan)
C/C++ behind the scenes and it's interaction with machine itself
 
Hello there. I'm new on this forum, however I've used it as reference in past in my travels in vast ...
[9 replies] Last: Thank you ResidentBiscuit and JLBorges for your guidance.. Helped... (by Cpp Wreck)
Linux running an executable in folder
 
How do you, run an executable from the the terminal once you located it inside the right folder?
[2 replies] Last: Did you mark it as executable? If so, just type this: ./FILENAME (Th... (by Mathhead200)
"Card" is not a type
 
I am trying to reference a Card struct in a function, but it is telling me it doesn't exist. Could s...
[8 replies] Last: After ages of searching I think I found the error. I had previously de... (by garanon)
vector
 
Hello every body can any one explain to me what is vector(in prife)? have anice day
[1 reply] : http://cplusplus.com/reference/stl/vector/ http://en.wikipedia.org/wik... (by Mathhead200)
"int a = 0.05" but "a - 0.05 = 7.45058e-008"
 
#include <iostream> #include <math.h> using namespace std; float dolamt; int main() { cou...
[8 replies] Last: Let's take 1/3 as an example. This is ~ 0.33333333 in decimal. If w... (by Stewbond)
I know nothing, HELP :)
 
Hello, I am just getting into Computer Science, and my school uses C++ as their language. I have no ...
[9 replies] Last: I recently got my AA in CS and I'm continuing for a BS. It help if you... (by Mathhead200)
by abaz01
sequence question
 
hi im trying to write a program in the following sequence: 1+(1/4)+....+(1/n^2) but my program do...
[1 reply] : You probably don't want a while-loop and a for-loop for this program. ... (by Mathhead200)
June 2012 Pages: 1... 1112131415... 51
  Archived months: [may2012] [jul2012]

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