General C++ Programming - September 2012 (Page 4)

Testing out my Reverse Polish stack...
 
Hi all. Just trying to get through this addition portion before moving on with the rest. Can't seem ...
[1 reply] : #include <iostream> using namespace std; class polishnode { publi... (by TheJJJunk)
Calling parent function from child class
 
Hello, I have a class called 'VideoPlayer', in which I create an object of another class called '...
[4 replies] Last: You are my hero. Works like a charm! Thanks a lot. (by harryvermeulen)
Sum Of Number
 
// Includes #include "stdafx.h" #include <iostream> #include <conio.h> #include <stdio.h> using na...
[3 replies] Last: Or you can just do sum = n * (n + 1) / 2; (by closed account o1vk4iN6)
HELP, For Loop
 
How would you do a for loop for the eyes in this code ________________________________ #include "D...
[no replies]
distance traveled
 
// Includes #include "stdafx.h" #include <iostream> #include <conio.h> using namespace std; ...
[2 replies] Last: interesting coding List... (by Arturoem)
how to use <fstream>
 
Hi, I am using <fstream> in my code and using it to accept string inputs from a text file. My cod...
[1 reply] : infile >> instruction; reads a word from a file (a sequence of non-... (by Cubbi)
My latest creation
 
Hey c++ forums, I have been recently working on an toolkit which may or may not come in handy depe...
[4 replies] Last: You've posted your code in a public forum, and you're asking people ... (by closed account 3hM2Nwbp)
by Gomboo
It;s my homework and i need help
 
This is my homework and i need help pls write this =============================================...
[1 reply] : Step 1: Create your student structure, then report back. (by clanmjc)
by QIZI94
Problem with sockets
 
Hi guys, I am trying a TCP/IP protocol and I have this errors in all methods, what i try: 1>soc...
[3 replies] Last: I added #pragma comment(lib,"Ws2_32.lib") to my code and it's works... (by QIZI94)
by coobs
calculating halves (.5)
 
Hi, Working on a program where I need to calculate halves... example: A parent says they will stay ...
[1 reply] : division operator / with floats or doubles (by soranz)
Online shopping
 
This is a part of my project. And I don't know why the "name" and the "namefind" don't match if I ru...
[3 replies] Last: Sure, if it's not too long. Don't forget code tags thankx XD (by soranz)
i m new to C++ programming. i just want to print the prime numbers on screen.
 
number is given by the user. error show when i compile the code "18 syntax error before `<<' token ...
[3 replies] Last: i did some modification in the code but still have some problem plz gu... (by tajamul)
by lala
problem with assigment.
 
hi..im newbie here.im still confused on how to start to write the programming.anyone here can guide ...
[1 reply] : the programming What program? (by kbw)
Rational Numbers Class
 
I need to create a RationalNumber class to implement the storage and manipulation of rational numbe...
[3 replies] Last: as well as my .cc file.... #include "Rational.h" RationalNumber::Rat... (by tjmohney)
Help with my basic programming homework
 
assignment: A college coffee shop allows students to charge coffee drinks and then bills them at t...
[3 replies] Last: In line 71 you forgot an if (has to be else if too). The sourcecod... (by AleaIactaEst)
passing parameters from one executable program to another
 
Hello, I have to write two program on a dictionary and another the definition. the dictionary wi...
[6 replies] Last: Yeah, I really need to stop posting when I drink. If I find time later... (by Computergeek01)
Searching a string is broken?
 
Hello, I'm building a driver that communicate with machines using a socket. I get the data from tho...
[1 reply] : Can you post the implementation of the find method? To me it looks lik... (by AleaIactaEst)
Serial Port Manager Class
 
Hi, I'm trying to implement a serialport manager class as part of a very large project. The idea is ...
[2 replies] Last: I figure out that the best way to do this is to windows.h to pass a HA... (by rubxcubedude)
Sin Cos Tan table chart
 
hi guys i need help with this program. i need to produce a table chart of sin cos and tan from angl...
[4 replies] Last: thanks! it worked now (by fiotengko)
Need to know what is problem type ?
 
I want to find an algorithm for this problem which i dont know but i cant even figure out which type...
[1 reply] : I think you can use the minimax algorithm to solve this. (by Peter87)
September 2012 Pages: 123456... 32
  Archived months: [aug2012] [oct2012]

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