General C++ Programming - August 2013 (Page 13)

Basic Calculator, help please!
 
Hello! I need some help on this code I currently have for my basic calculator task. Here is the code, the blanks (___) is what I have troubles on what to put...
[3 replies] Last: dude, i suggest you go get a reference. you can't learn programming ju... (by Rechard3)
adding at the beginning of linked list!
 
I've been struggling with linked list for a few days. I've tried performing a few operations. Here is my code. the add_begin() function doesn't seem to work. C...
[8 replies] Last: I believe this should suffice: void add_begin( node *&S, const int&... (by Smac89)
Help with Files in c++
 
Hello guys! I have a few questions, wish you could help me: 1. I want the user to type in the name of the file as he/she wants to save it. ofs...
[6 replies] Last: Note that the c_str() is not needed when calling fstream::open() in C... (by Austin J)
HELP! Search for a character from the phrase
 
hey, can someone make a code for this question. When the user selected this option, your program should be able to accept a character from the user and sear...
[16 replies] Last: ok guys, pardon fr the weird attitude. i'll try my best (by closed account DL35Djzh)
by klay2
Open Rougelike
 
anyone wanting to help out with an opensource textbased rougelike game then come here and join our project we are starting from scratch and working our way up s...
[2 replies] Last: pop chests and cross dress (by stp777)
Linker Error
 
I compiled the file, it showed no errors in Turbo C++. But when I run it , I get this error - "Linker Error: Unable to open file '..\SOURCE\MAIN.EXE'. I deleted...
[5 replies] Last: > it does not use any features that are part of the C++ standard but ... (by ne555)
Why doesn't my C++ code see this code?
 
I'm getting the following error message Ima2DFunctorKWIC.cpp(383) : error C3861: 'createData': identifier not found The Ima2DFunctorKWIC.cpp file contains...
[2 replies] Last: Thanks, that was it. (by gamalpha)
how can i make array of objects for this class ?
 
class A { Public: A (int); A(int,int); int get (int,int); };
[5 replies] Last: If you want to use the second constructor with two parameters then the... (by vlad from moscow)
can we make a class without any data member ? but it may have member functions !
 
can we make a class without any data member ? but it may have member functions ! in c++
[2 replies] Last: You may even to make an empty class.:) class A {}; (by vlad from moscow)
Can't get my code to compile
 
Hi there I dont suppose anyones got anytime to just to go through my code and spot any mistakes, im trying to get it to compile but its not working, the idea be...
[5 replies] Last: Yeah. Line 162: out<<" Wrong Number "<<endl;:"<<numbers_ctr<< << "Ple... (by closed account jwkNwA7f)
by simons
Fraction class implementation
 
Hi Experts, I need help on implementing some of my Fraction class functions. I am including the whole of it, I have implemented a small part of it but ne...
[no replies]
mySQL 5.6 with VC++ 2010 issues
 
I recently installed mySQL 5.6 to use with Visual C++ 2010; as I want to further my knowledge of the language and feel that I am ready to tackle databases. I...
[no replies]
Reading File & Storing In Class Objects
 
I've a text file : Random.txt which comprises of Jade 12MS234 Male 18 Rocky 12MS324 Male 18 Marx 12MS632 Male 18 Now in my program i've a class ...
[2 replies] Last: This is a class , so all of the members are private by default. You d... (by Computergeek01)
by ven132
Help on my Project!
 
Hey guys, can u give me ideas on what kind of features i should place on my "Miami Hospital/Patient Management System"? Thaaankks you guys! :)
[1 reply] : First, what this system supposed to do? Give some details. (by manojg)
by Ceset
process terminated with status 3????????
 
#include "../include/CApp.h" CApp::CApp() { Surf_Display = NULL; Running = true; } int CApp::OnExecute() { if(OnInit() == false) { ...
[6 replies] Last: thx. after your reply i made a research and found it is a linking erro... (by Ceset)
8086 emulation errors?
 
I'm trying to find errors in my 8086 CPU emulation, but I can't find any. Anyone knows what goes wrong? File with x86 opcodes and processing (excluding CPU i...
[no replies]
xmsg and xalloc compilation error
 
Hey guys, I'm using xmsg and xalloc for handling exeptions in my cpp program. When I compile the program using makefile, getting errors at places where I used x...
[no replies]
by cniper
win32 multiple winndows
 
i am trying to create a program for multiple windows. Here is my code #include<Windows.h> // Store handles to the main window and application instance glob...
[1 reply] : ok i figured it out. changed MyWndClassName in CreateWindow to "first ... (by cniper)
Multithreaded code bug
 
Anyone would know why the following code not running as expected. It is quite intermittent; sometimes you would get the message print and other times you won't....
[1 reply] : There's no guarantee that your comparison will check for every increme... (by closed account o1vk4iN6)
Data File Handling & Classes
 
I've The Following Code: #include<iostream> #include<cstdlib> #include<fstream> #include<string.h> using namespace std; class ab { public: char name ...
[2 replies] Last: To use std::getline you must #include <string> and then the second... (by cire)
August 2013 Pages: 1... 1112131415... 28
  Archived months: [jul2013] [sep2013]

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