General C++ Programming - June 2011 (Page 24)

Flowchart ASAP help needed.
 
i need asap help. if you would like to help me. let me know. I need to illustrate flowcharts of these exercises. http://imgur.com/rICKK http://imgur.com/a/i...
[5 replies] Last: But Dia is free!: http://dia-installer.de/ (by cnoeval)
text file
 
int SearchRecord(int i) { int iname=0; system("cls"); cout<<"\t\t**************Search Customer Record***************\n\n"<<endl; if(i<=0) { cou...
[1 reply] : What do you need help with? Wazzak (by closed account zb0S216C)
Role of Functions
 
What is the role of functions in C++?How can I be master in this field. Any one who can help me?
[1 reply] : http://cplusplus.com/doc/tutorial/functions/ http://cplusplus.com/doc... (by Disch)
Question about files I/O
 
Hello all, I am new in this forum and I need some help. I need to make a program, when anything written in the screen is automaticlly written into a file....
[5 replies] Last: I saw it but it didn't help me either. I will just copy the input char... (by ronyish)
Math Error e+006
 
Hey guys....This is my first post on this forum so forgive any mistakes I may make. Anyway....I have been writing a basic program and I have everything done. Bu...
[4 replies] Last: Thanks buffbill.....That took care of it. (by clemley6415)
Array from Class
 
Hi, I'm having trouble with using class objects and converting them into an array... I'm a little new to C++ so please explain to me why I should change somethi...
[1 reply] : An array is a fixed sequence of things. You almost certainly don't wa... (by kbw)
Pointer to Pointer member function call
 
I am creating a simulation involving a queuing system. The queue consists of a pointer-pointer vector of ClassA in ClassB, this handles all the data changes, ...
[1 reply] : quePtrPtr is declared as a vector, not a pointer to a pointer (it only... (by shacktar)
by rwan
Using new for pointer to object
 
Hi all, I would like to dynamically allocate space for an class instance and have its constructor called. However, it seems I am unable to get this right....
[4 replies] Last: Hi Disch and all, Thank you all for your help! Sorry for not posti... (by rwan)
rtti problem
 
class GeometricPlace {...}; class CircleArc : public GeometricPlace { vec2 center; double radius; double from; double length; } class LineSegment : public Geom...
[8 replies] Last: Yeah that makes more sense actually XD (by Disch)
Looking for another way.
 
I am looking for a better way of doing the same thing as the code below does. Note: I am using Visual Studio 2010 but I would like to keep the code standard c+...
[2 replies] Last: I'll check it out. If anyone else has an idea please post. (by BReynolds)
The curses window.
 
Hi, Im wondering if anyone can shed some light on the curses window please. I have made a program that works fine on terminal but I need to make use of the ...
[3 replies] Last: The curses library divides the screen up into "windows", or sections... (by Duthomhas)
Problem with returning an ostream by Reference vs Value
 
Hello, I have this function declaration friend std::ostream & operator<<( std::ostream & os, const Time & object ); that helps me display objects using << ...
[4 replies] Last: Information about an open file has never been copyable. That is becaus... (by Duthomhas)
Need help with Pledge Algorithm (maze solving)
 
I'm trying to make some robots which can solve mazes with loops and want to do it using Pledge Algorithm: The Pledge algorithm is more sophisticated than w...
[4 replies] Last: turn == 8 means that he should have untwisted himself. Or am I wron... (by Zaibusa)
declaring problems
 
I have 2 variables c and 103.5 so now I want to assign 103.5 to c so when people write c It out puts as 103.5? Please help
[14 replies] Last: Erm, why use scanf() in C++? You're using cout, so I would recommend t... (by Zhuge)
pass array of structs to a Bubble Sort
 
Hello Everyone. I am struggling with passing an array of structs to a bubble sort. I want to sort on num in the struct but I am getting errors. I think I am ...
[2 replies] Last: Thanks hamsterman, it works perfectly. I have attached the full worki... (by alphaboy)
Assistance Required In Visual Basic 2010
 
I need help with TreeView 's in Visual Basic 2010 Express. Thing is, I don't know how to detect which node was double-clicked. I'm completely new to VB, by the...
[2 replies] Last: Nice one, Shacktar. (by closed account zb0S216C)
Prototype errors
 
I am having difficulty getting my overtime pay program to compile and run properly. Any advice would be greatly appreciate. Here is the existing code I have so ...
[3 replies] Last: [co de] "Please use code tags" [/co de] void DisplayEmployInform... (by ne555)
by Yeppie
I don't understand what's wrong.
 
#include <iostream> #include <cstdlib> #include <string.h> #include <list> using namespace std; class Item { private: int weight; string name; ...
[4 replies] Last: your use: void flyttaFram(SkapaVapen *Pistol); Try to declarete ... (by Aikon)
Another misc question.
 
What code is needed to force the console to change font type? I'm planning to use one of the 3 standard fonts on windows vista and windows 7. Its something...
[19 replies] Last: The problem with SFML support probably isn't your IDE, it's your compi... (by Computergeek01)
writing to a logfile but there is nothing....
 
In my project, i generate a logfile (text file) to write the intermediate results. i use statement as a global declaration of an object of ofstream. ofstrea...
[2 replies] Last: When you said you want "...a file which should be available for all cl... (by Computergeek01)
June 2011 Pages: 1... 2223242526... 28
  Archived months: [may2011] [jul2011]

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