General C++ Programming - December 2014 (Page 28)

Implement program for evaluating infix expressions
 
If I could get any help, I would appreciate it. Also, can't use namespace std for this. #include<iostream> #include<stack> #include<fstream> #include<...
[8 replies] Last: Which errors? We cannot read your mind and say what wrong. I see prob... (by MiiNiPaa)
Arrays
 
I am writing a program for a class in which i need to to read and display quiz scores from a textfile. The text file has score records for students and is org...
[1 reply] : The compiler is confused by the same name being defined as different t... (by wildblue)
Simple game in c++
 
Hi, I have a problem - when I want to move, after compilation and start-up programe tells that it can't be done (wrong move). I have no idea where I made a mist...
[no replies]
compiling vs2003 project in vs2010, errors: c2440, c2439
 
This question might have been asked and answered but my question is a little bit different. I am converting our HLA RTI project which was developed in VS2003 to...
[6 replies] Last: Other were intellisense errors :) (by anzar04)
Rotate Image
 
Hello, I was given a problem and I can't tell if I'm on the right track. I'm stuck at the rotate part. Can someone help? Create a script that lets you rotate...
[2 replies] Last: I'm sorry, I completely forgot it was html. My mind is getting mixed u... (by jimjimbo3)
by c noob
Have trouble with this program
 
Undo Stack Using Circular Buffer Write a main program that pushes numbers on the stack, pushing more numbers than the stack capacity. Test all the methods of t...
[1 reply] : can you use code tags in the future please? i can hardly read that. a... (by mutexe)
Help With Coding
 
Hi, I am in a beginner class learning C++ and we have a project where we are taking dives from an Olympic ruling and making a code to display the total scores a...
[11 replies] Last: OP, in terms of your final_result array, this is what you're doing: ... (by mutexe)
Need help with Struct tm passing!
 
Hi there, I'm trying to pass a Struct tm as a variable in a function to another class, to get it to print the time. This is my current code for each of t...
[4 replies] Last: Thanks for the reply, however it didn't work! :( Just came up with the... (by JammyGeeza)
Dynamic Arrays
 
-deleted-
[6 replies] Last: consider pass by reference (by csstudent123)
need help in code
 
need help please need to print out "hello world" reflected >>>>>>>dlrow olled using for loop
[1 reply] : for(int i = 0; i < 1; ++i) printf("dlrow olled\n"); http://www... (by Lachlan Easton)
about constructors
 
Hello all , and thank you for answering my question in advance My question : if i create a constructors , can i say that i should not use setters ? since ...
[2 replies] Last: > if i create a constructors , can i say that i should not use setters... (by JLBorges)
Help Me please :( My Program Stack Not Running
 
Please Some Body can you help, fix my coding, because cant running, this my code #‎include‬ <iostream> #include <stdlib.h> ‪#‎define‬ MAX 10...
[1 reply] : Here's a good place to start http://www.cplusplus.com/forum/beginner/1... (by Lachlan Easton)
prompts a User for all elements of a 3x3 matrix
 
prompts a User for all elements of a 3x3 matrix. Your program should then print the matrix as well as the transpose of the matrix
[1 reply] : Have you tried turning it off and on again? (by Lachlan Easton)
by poteto
Code profiling opinions?
 
Well, I'm not experienced at looking at code profiling statistics, so I'm not really sure what is considered good or bad in profiling... I am using SDL2 & Bo...
[2 replies] Last: http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html#SEC5 Here, the ... (by JLBorges)
Character Arrays
 
To my understanding- a string is nothing more than an allocated space of an array of characters. char A = "Hello, World!"; char A = "Hello, World!"; Al...
[1 reply] : What compiler are you using? You're right in your assumption, you shou... (by Lachlan Easton)
cout "//OBJECTS
 
//Critter Caretaker //Simulates caring for a virtual pet #include <iostream> using namespace std; class Critter { public: Critter(int hunger = 0, i...
[3 replies] Last: Have you tried deleting the intellisense database file? (by LB)
by jsurf
Adding Functions in C++ ?
 
// Need help revising and/or adding functions to print order summary, // including the products, the quantities, tax and the total price for each produc...
[1 reply] : You have a lot of repeating code. Code that stays the same should not ... (by Arkl1ne5)
error: expected unqualified-id
 
I can't figure out this error. Can someone help, please? #include <iostream> using namespace std; bool isPrime(int number); { primeNumber = isPrime(n...
[2 replies] Last: You have no main() to encompass your code, and your function impleme... (by Arkl1ne5)
C++ Problem
 
This is the problem: Write a program that randomly fills in 0s and 1s into a 4x4 matrix, prints the matrix, and finds the row and column that have the most 1s....
[1 reply] : 1. learn random number program 2. learn how to send and receive arrays... (by anup30)
by mia123
store a game
 
Hi I am writting a tic tac toe game and want to know how I can store the last 10 games played. I will appreciate any help
[13 replies] Last: what would be be program to update this file: 0 W 1 D 2 L 3 D 4 D 5 ... (by anup30)
December 2014 Pages: 1... 262728293031
  Archived months: [nov2014] [jan2015]

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