Beginners - June 2011 (Page 33)

Getting the size, in memory of a vector
 
Hello, I'm trying to create a function that estimates the memory that a vector will occupy in mem...
[3 replies] Last: T = type of element contained in the vector v = the vector itself n = ... (by anonymous23323124)
How to Use Queue's Correctly
 
Hey everyone. I'm working on a project and need to use queues, specifically I need to check if a us...
[10 replies] Last: How come while ((n=='d') || (n=='D')) { if (x == a.front()) { ... (by ecstasyaeternus)
by Guluck
Create Directories in a for-loop (recursively)
 
Hi everybody, I'm creating a program with Microsoft Visual Studio 2010, it's a console program. M...
[no replies]
Need advisment concerning a 'parse' error.
 
I can't for the life of me find a reason for this error in the suspected line or any preceding it. I...
[1 reply] : Don't put the type in front of every reference to the variable. Only w... (by Zhuge)
Difference
 
I've been using C++ tutorials for about a week. I wanted to start off with something basic but helpf...
[2 replies] Last: @Capt I guess you are unknowingly including the definition of the fun... (by Adee)
tictactoe game in a class ...have some problems with my code
 
This is the .h part: #include<string> using namespace std; #ifndef GAME_H #define GAME_H stru...
[1 reply] : You need to make sure your functions are spelled properly and if you a... (by AdventWolf)
Array Issue
 
Hello all, new to the forums here, and yes I have searched around on the internet and on this forum ...
[8 replies] Last: Audie, thank you so much! that solved almost all my problems! :D (by SithDagger)
Else ifs not 'catching?'
 
I've searched all over the place, but I can't seem to figure out just what is going wrong. The 'if' ...
[5 replies] Last: Thank you all so very much, its a huge relief to know that it's a simp... (by Clueless in WA)
Reusing OFSTREAM Object
 
I get an access violation reading location error when I try to reuse an ofstream object. I made sure...
[no replies]
Array and outputting problem.
 
#include <iostream> #include <iomanip> #include <string> #include <fstream> #include <sstream> usi...
[1 reply] : You are assuming the text file that you read is 21 characters wide in ... (by webJose)
i wrote this code and it works but now i'm wondering how it works?
 
so i'm trying to find the primary numbers under 500 and this code works but I don't understand why w...
[4 replies] Last: o wow my bad, i was programming in python at the same time and got mix... (by jmbauer)
More Pow Problems
 
This doesn't make any sense to me. The pow() that is causing the problem is pow(10,45). When I take...
[6 replies] Last: +1 @ ne555 I'm surprised you were the first to mention that =P (by Disch)
Need help with this assignment.
 
Hi, I am going to make a function that searches for a word or some letters in a list of names and pr...
[2 replies] Last: #include "stdafx.h" #include <iostream> #include <string> using name... (by Ephasis)
C++ Alternative to Java net package
 
Hi, I'm a software engineer working on an iPad project that communicates to a server. I must adm...
[no replies]
.cpp and .h files
 
From what I can understand, it seems, by convention, a class would be defined in a .h file and imple...
[14 replies] Last: Thanks. It's always good to learn new C++ technicalities ;) (by anonymous23323124)
Pow function
 
cout << "\n\nWhat is the ellipticity of the objects? Enter 6, 7, 8, 9, for gravitars of ellipticity...
[2 replies] Last: The problem will be this: double E = float pow (10, - e); The compil... (by anonymous23323124)
by Taylrl
I simply want to be able to manipulate some data
 
Hello! Though I do have some previous programming experience I am very new to C++. I have been th...
[1 reply] : Excel files, as in ".xls" and ".xlsx" are NOT single files. Make a bra... (by Computergeek01)
skipping to an unknown position in a file
 
Howdy, all. I have a basic I/O question. I need to grab data for later processing from a known f...
[1 reply] : - Get Input - While Input != "ALPHA": Get More Data From File. -... (by Computergeek01)
Review: Restaurant Bill
 
Hello I am currently learning C++ programming on my own and am doing these programming questions in ...
[2 replies] Last: ohh ok I did test it, but i just wanted to know if it was how i was su... (by illlojik)
Is template deny the principles of strong type?
 
according to wiki Weak typing allows a value of one type to be treated as another, for example t...
[16 replies] Last: You all act as if this is uncommon. (It isn't, alas.) (by Duthomhas)
June 2011 Pages: 1... 3132333435... 41
  Archived months: [may2011] [jul2011]

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