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

Confused. Please help
 
I'm working on this project for my C++ class. When I run the program, all I get is File did not open! Program terminating! Here is my code. Can somebody take a ...
[3 replies] Last: They should be different files (by mik2718)
adding polynomials using linklist
 
I have a bug with the following program. While it is compiling there is no problem. But it is not running... Please help.. #include<iostream> using namesp...
[1 reply] : This code will crash at lines ptrp->next=ptrn; in add function. you... (by BHUPENDER KUMAR)
Alright guys I need MAJOR help..!!!!!!!!!!!
 
I have looked at classes and kinda get some what of it well and I have looked at the class tutorial but still confused but its the linear linked list that I am ...
[10 replies] Last: Right. It's really difficult to help when people just post a problem ... (by Disch)
HELP!!!!!!!!!!!!!!!!!
 
people I'm reposting my previous topic because I really need your help.!!!!!!! I have an assignment to read numbers from the text file and assign them into a l...
[11 replies] Last: Many thanks to everyone!!!! It seems like it finally runs! Will think... (by Karajic)
help!
 
im starting to learn c++ and im looking at arrays and structures i wrote this code earlier but i seem to be getting lots of errors when I try to compile (im usi...
[1 reply] : scoreboard gamers = { { "juanbenavid", 68 , 10 ,} }; This, ... (by ultifinitus)
Template parameters
 
Hello. I have an urgent problem. I wrote a procedure but it doesn't work. I can't find the problem. :( So please help me. The code is posted below: void kis...
[4 replies] Last: I am ready. void kiszomszedsagiLista(vector<pair<int, int> >& eL, i... (by Kalozka)
Moving & Storing Items
 
Say u have gumballs (all different colors), storing them into a stack. I was wondering what would be the best way to "eat" a gumball, move all blocking gumballs...
[2 replies] Last: How would u implement a gumball stack that consists of a color and a c... (by itsjuzme)
Login Que
 
Hey, I'm having trouble with an online game. Users are complaining that the server gets too full, too quickly causing them to log out, and log back in multip...
[no replies]
2D vector iterators
 
Let's say I have a 2D vector of strings. I'm trying to implement an iterator that moves through the rows of the table. When I'm in each row, what's the format...
[3 replies] Last: it depends in what order you wish to access the elements, but you need... (by quirkyusername)
Help me!
 
i need to make a graph in c++ please help me! its O'k if the program is simple
[1 reply] : By "graph", do you mean the data visualization technique (eg. a plot) ... (by Gaminic)
Job Opportunity
 
Hi my name is Alan Mars; I am a technical recruiter with Apex Systems Inc., one of the leading technical recruiters in the nation.One of our clients who just st...
[no replies]
by Srija
Data Structures
 
hi everybody.......... I want to learn Data Structures Basics and wonna program with that. Can anybody me from where to go which gives programming features al...
[2 replies] Last: Thank you for the response and advice. (by Srija)
While Loop problem?
 
Basically, if I run the program below, the output line is blank..I honestly have no idea what to do, and I need this done. I don't want anyone to do it with me ...
[5 replies] Last: If you really need to use a while loop for the program... You should ... (by mrkhn)
Files
 
i have 2 questions 1. So how do i include a xxx.tlb file to my project and use its functions, enums etc in it? 2. Is there any way to read a file which al...
[2 replies] Last: it was an attempt so i guess i cant :) how about a reading a locked t... (by StoneHeart)
by codem
What's wrong with my Knight's Tour program?
 
Here's my code #include <iostream> #include <cstdlib> #include <cstdio> #include <fstream> using namespace std; int board ; int count = 1; vo...
[2 replies] Last: Hi codem, this is a very interesting problem. Like Disch said, it's ju... (by namcs)
Simple Calculator Program
 
Hello Cplusplus, I have been working on a simple calculator program. I have the essential components put together and have created a function to perform various...
[6 replies] Last: Thanks for the suggestion Dinesh, I have no desire to incorporate grap... (by Jgrant1987)
Sorting an array of Structures
 
I was wondering what would be the syntax of sorting an array of structures that have names and score? Would it be similar to a selection sort? This is what ...
[no replies]
DLL programming
 
Hi! Iam dinesh and I want to learn DLL programming .So,please refer me any site and sample code.
[no replies]
Allocating memory of a structure
 
Hello i am trying to allocate memory for a structure is this correct Structure struct Student { char * name; // pointer to dynamically array for the ...
[12 replies] Last: I'll remember that. Thanks for the explaination. (by Computergeek01)
defining new operator
 
Hi, i'm trying to define a new operator ** but the compiler g++ gives error: expected initializer before ‘*’ token. I use the following code : te...
[1 reply] : You can't define new operators. You can only implement existing ones.... (by Disch)
October 2011 Pages: 1... 2324252627... 36
  Archived months: [sep2011] [nov2011]

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