General C++ Programming - October 2015 (Page 12)

by rayb20
"Error 1 error C2228: left of '.size' must have class/struct/union"
 
Doing a sorting algorithm project and I am currently running into an error that I cannot fix. I hav...
[7 replies] Last: ah, simple mistake, got it, Thank you ericool (by rayb20)
Printing Employee Details Having Maximum Salary
 
#include<iostream> using namespace std; /*Employee class declaration*/ class Employee { int i...
[no replies]
I need help with my C++ Program loop.
 
So I have this assignment and I am totally lost. I have coded just about everything. What the progra...
[4 replies] Last: The numbers the user will enter will be 0-51. Unfortunately, the only ... (by CEmert10)
Do while not working inside switch statement
 
NEED SAMPLE PROGRAM
[1 reply] : ¿why did you open a brace after case 'f': ? > resolve the logical ... (by ne555)
how can i check if one number is smaller than other table ?
 
I have to insert a number a that appears how many bread we have . after we want the diameter of the ...
[1 reply] : http://www.cplusplus.com/forum/beginner/176482/ (by closed account 48T7M4Gy)
by n1k170
two-dimensional array. Index
 
Hello, please if possible to help me with an assignment for school ... Program which is defined two...
[1 reply] : What you're asking now is not for help, but for us to do the assignmen... (by TarikNeaj)
Stack class constructor
 
StackX: :StackX () { pArr = new double ; maxSize = 10; top = -1; } May I know one disadvant...
[4 replies] Last: Oh okay thankyou! (by char123)
Can't get class to print or run at all!
 
It's supposed to ask the user for input and the switch decides what it does but when I compile and r...
[10 replies] Last: One advice, you shouldn't put too many things on main(). you can creat... (by zhengakers)
Need help (Counting Instances of letters )
 
I have a problem, We are not allowed to use ARRAYS: Heres a sample output: How many iterations do y...
[14 replies] Last: @servers09 string letter=""; is the string variable that's going to... (by whitenite1)
When will a thread terminate?
 
In C++ 11, we can do a simple multi-thread program like: #include <iostream> #include <thread> ...
[3 replies] Last: Because in order for the program to end, you'd have to destroy the st... (by LB)
Problems with XOR Encryption
 
I've been messing around with XOR encryption, one-time pads etc. and it's working fine with reading ...
[2 replies] Last: I've re-coded the encryption program from scratch and it works perfect... (by integralfx)
by yj1214
change condition in if statement
 
bool x = false; if(!x){ x = true; }else{ printf("Hello!"); } Shouldn't this program pr...
[3 replies] Last: yeah (by zhengakers)
by Ozzy69
Help me with ShellExecute
 
Hello, i want make login and password in facebook with a program in c++. Help me!!! Look my code: ...
[1 reply] : It can't be done like this. I don't believe there are any browsers tha... (by helios)
by Ozzy69
Help me with a string
 
Hello, help with errer of the code: #include <iostream> #include <stdlib.h> #include <stdio....
[6 replies] Last: thanks!!!! (by Ozzy69)
by ct180
Constructor Error
 
I'm having a bit of trouble getting this constructor to cooperate. The constructor is supposed to cr...
[11 replies] Last: Wow! Thank you guys so much! Everything works smooth now! :D I can't t... (by ct180)
queue
 
Please someone it's very urgent! Can you tell me how to reverse a queue? I mean I have two queues an...
[4 replies] Last: thanks :) I have figured out another way too . It's by using recursio... (by The suffocated)
Degrees rather than radians
 
Hello C++ forums! This is my first post. I am currently programming a flight simulator for a scho...
[8 replies] Last: @Lavaguava TheIdeasMan is generaly the best way since trigonometry cal... (by Ericool)
by Trix
string problem
 
hello im writing a function to change nouns to plurals every condition is working great except wor...
[2 replies] Last: Have you considered interpreter design pattern. What if you decide to ... (by Ericool)
Help me choose the best container
 
I have about 10 billion records (x86-64). Size of every record is 16 bytes. Every hour I have to ad...
[2 replies] Last: other suggestion : Did you calculate the memory it will requires ? I g... (by Ericool)
Can't run debugger saying, "Unable to start program..."
 
I am using Visual Studio Professional 2013 and it won't let me run the debugger after building it su...
[2 replies] Last: did you implement the method in the cpp ? (by Ericool)
October 2015 Pages: 1... 1011121314... 27
  Archived months: [sep2015] [nov2015]

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