General C++ Programming - April 2013 (Page 17)

by seehat
Loop Help !
 
#include "stdafx.h" #include <math.h> #include<stdio.h> /*My Program Will Take Two Inputs At a Time And Calculate The Length Of side And Will Add it up To...
[2 replies] Last: #include "stdafx.h" #include <math.h> #include<stdio.h> /*My Program... (by seehat)
small question vector <list>
 
Hello, this is just small question. Thanks! How can push data into the vector <list<Edge>> adjList? adjList .push_back (e);//gives error. struct Ed...
[6 replies] Last: yes, put just a small part here. Thanks. It worked after I resized adj... (by SoftDisk)
[Sonic The Pokemon] Fan Game
 
Sonic The Pokemon A game me and my friends created with C++ and we would like to get your feed back on the game. Its still in beta and many extras will be added...
[3 replies] Last: Then it really isn't on topic here where we're dealing with programmin... (by cire)
by Yom
Black Jack game
 
Hello, I need some help. I am in a C++ class and we need to build a blackjack game. The professor provided some code for us to fill in the blanks. I just can...
[no replies]
getting a type from an object
 
AFAIR, it is not possible to get a type from an object, only from a type. Even with auto, you can only instantiate another type of the same type. Is this stil...
[2 replies] Last: Ahhh, forgot about that keyword. Will still need a fake function to g... (by AdrianH)
formatting with a buffer sstream <map>
 
I wrote a program, and am now brainfarting with just a small issue with formatting the output (Program works and runs 100% fine).... Can someone please PM me or...
[no replies]
by CroCo
Why This code doesn't work?
 
I'm getting this error .../Game/point.h:11: error: unknown type name 'Vector' Point AddVector(Vector v); ^ What am I missing? Main.cpp...
[3 replies] Last: @Yanson, thank you so much. I missed this part and it worked now. (by CroCo)
Having some trouble with a program any help would be appreciated
 
I am having trouble getting the scoreAverage part of my program to work the directions are Option 4 should call a function so that for each record in the vec...
[2 replies] Last: Maybe I should add the rest of my code so it can be run properly becau... (by tcshowmore)
help :(
 
1) Telephone biller 2) Function, array, pointer, text file 3) c++
[2 replies] Last: ok how to delete this post ? (by busur70)
Project C++
 
Title : TELEPHONE BILLER Programming requirement : use functions, arrays, Pointers and text file.
[2 replies] Last: just output .. i dont know how arrange coding .. i not understand (by busur70)
can not understand Sizeof result with a struct var
 
typedef struct Element Element; struct Element { char x; double * y; }; int main() { Element a; printf("%d\n",sizeof(Element )); retur...
[7 replies] Last: could also simply crash ( on certain non-Intel platforms ) #include... (by Cubbi)
Trying to create an inventory system
 
I need to create an inventory system that can add delete and edit. For one player there can be as as many characters as the player wishes to create so for an ex...
[3 replies] Last: #include <string> void ChangeAttribute(Character& Player) { char... (by pogrady)
Find the appropriate 3D library
 
Hi, I'm planning to make a C++ project using a 3D library to visualise space and planets, maybe using raytracing. I wanted to know which library is the most ...
[1 reply] : You don't want to use raytracing. This is a very expense rendering sy... (by pogrady)
by ekor
Average
 
What is the class average? Mr. White has prepared a multiple choice exam system. He uses an optical reader machine to get the answers from answer sheets to a...
[1 reply] : Class average = student scores added together, Divided by number of st... (by Pebble)
Can someone please explain?
 
In this Code: #include <iostream> using namespace std; class Data { private: int y; static int x; public: void SetData(int value) {y = value; return...
[9 replies] Last: Oh awesome :D thanks (by Anmol444)
Wireless technology
 
I know this might sound silly, but i want to move something from my PC or laptop. For example moving the car, switching off lights and stuff like that. All ha...
[no replies]
by SkyJie
Urgent...some1 help me pls
 
Why i cant not loop back to get(ctyy) and my amount above 10000000 than total will show x.xxe+00x any1 hlp? #include<iostream> #include<conio.h> using...
[3 replies] Last: Not sure how to solve that problem. I guess you could input the number... (by Yanson)
Finite State Machine
 
Okay, I am making a finite state machine for a lab. I have here a 2 files with the code for the FSM. I know it isn't finished yet, I know what needs to be put ...
[1 reply] : ChangeState is inaccessible because it isn't inherited - the access mo... (by MrHutch)
help wanted
 
Hello, I need to make a program that will calculate minimal polynomial of the nxn matrix. I really stuck on this so any help would be good. Thanks
[1 reply] : post your non-working code . (by writetonsharma)
Need help with struct of vectors
 
I'm sorry not quite sure how this site works yet so please don't scold me to bad on my post. I am writing a program that will get students names and score avera...
[8 replies] Last: Thanks guys!! The average part is still not working properly because i... (by tcshowmore)
April 2013 Pages: 1... 1516171819... 53
  Archived months: [mar2013] [may2013]

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