General C++ Programming - October 2011 (Page 33)

by Srija
Reading Files
 
Hi Everybody......... I am facing a problem with file handling... I have created a text document m...
[1 reply] : Try while (myfile.getline (buffer,100)) { cout << buffer <<... (by sohguanh)
by peha
Email simulation using queues
 
Here is the assignment I get: ***** Write an email simulator that processes mail at an average of ...
[4 replies] Last: The loops are not completely wrong, but they must be revamped so tha... (by coder777)
by ne555
using class (like with namespace)
 
I've got something like class foo{ public: typedef float value_type; typedef std::valarray<valu...
[no replies]
Trouble in ifstream reading structures
 
Hi everyone! I have the code below which works fairly awesomely until I try and save an array of ...
[6 replies] Last: Hey! I figured out how to make it work! Yay: #include <stdli... (by benchsketch)
Function calling with multiple parameters
 
Trying trying to figure out how I would call this bmi function under the MAIN. //BMI Calculato...
[2 replies] Last: That helps! Thank you! (by Ashish Mishra)
Regex match at least one non-alpha char
 
I want to match "A1" or "A&B" but not "A". In other words, I want to match a contiguous range of cha...
[7 replies] Last: Thanks Duoas, that helps a lot! I was trying too hard to logically AND... (by Brian H)
Statistics Question
 
I'm writing a header file specialized for working with statistics. I'm a little rusty with my statis...
[2 replies] Last: Okay, sorry. I was in a rush, got school. I'll edit the first post wit... (by Nerdy314159265)
by barbis
Typedef where?
 
Hello! I am trying to convert my vc6 code to vc++ 2010. In http://msdn.microsoft.com/en-us/libr...
[8 replies] Last: Please try the SDK shipped together with GMS v2.0.2. It's for msvc90 (... (by inter1965)
Date format conversion
 
I need help with my assignment. This program is suppose to take in the date mm dd yyyy and convert...
[6 replies] Last: Its working on my computer =/ (by pbdemon101)
Need help for this task !
 
My Beginning C++ teacher gave me this homework and I have no idea on how to solve it. Please somebod...
[no replies]
String exception
 
Hi guys! I am trying to make a game, but if the user inputs a string, i want to throw an exception...
[2 replies] Last: If a user inputs a string like A or B or CC or..... The result should ... (by Donanza)
Sorting a file with names II
 
Im continuing on this for a lack of space. #include <iostream> #include <cstring> #include <...
[3 replies] Last: You could post everything from this post as a reply in your first post... (by ModShop)
by majc
Error: must be initialized in constructor base/member initializer list
 
I did this code: .h file: private: hkpRigidBodyCinfo& m_bodyInfo; hkpCharacterRigidBod...
[no replies]
Dire need of assistance
 
Okay, my teacher assigned my class to create a C++ program that reads in a postfix expression, creat...
[1 reply] : Just an update, I think the problem is just adding another value to th... (by EonsNearby)
stringstream arrays problem
 
#include <sstream> #include <iostream> using namespace std; int main(){char a ="Hello",b =" World"...
[6 replies] Last: to me the code there is completely too complex for what it is trying t... (by Azagaros)
Please help me out.
 
I have an error on the following code. struct A { int *aA; }; int main() { ... ...
[4 replies] Last: Sure. The allocations are fine, it's the assignment that's wrong. Here... (by closed account zb0S216C)
LED
 
I want to construct a program using c++, where i should write every single latin letter in a particu...
[4 replies] Last: It's the kind of hw Svetla herself hasn't solved yet :s (by SecretMaster)
What is the problem of my program?
 
a basic problem which extract each word of a sentence and print it out. #include <iostream> #in...
[4 replies] Last: thanks! (by northfly)
by isnork
Static and mutable data type.
 
Hi, I was wondering, can a class attribute be static and mutable? For example, typedef t...
[4 replies] Last: Thanks Galik! (by isnork)
clearing stringstream
 
In the project i am working on I have 8 different files that i need to read in a process. The files...
[2 replies] Last: i have tried that also and it does not work. omg lol nvm. I moved it ... (by tykkimies)
October 2011 Pages: 1... 313233343536
  Archived months: [sep2011] [nov2011]

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