Beginners (Page 70)

Arrays, vectors and lists, need a walk through pleaseeeee
Write a C++ console program to do the following: 1. Define an array of ints with the ten elements {...
[2 replies] Last: i need help developing, i m working on item 2 and 3, i am new to this ... (by Lasoquet)
IF statement - Error: expression must have integral or unscoped enum type
What am I doing wrong here? #include <iostream> using namespace std; int main() { for (...
[4 replies] Last: Very cool, I didn't know long long was a thing! I am really new to th... (by bulba5aur)
Expression must be a modifiable lvalue
I keep getting this error. Can someone please tell me what im doing wrong. Thanks! I am trying to fi...
[6 replies] Last: if you paste a copy of your txt file. i will try to replicate your pro... (by rafae11)
Initialization of a static 2D member vector
Hi everybody. I know the size of my vector but I am failing initializing it the correct way. It so...
[4 replies] Last: Thank you, that is quite nice feature! (by omikron)
by amizam
problem in getting a correct name, the score is correct but it didnt match with the name..
#include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std...
[1 reply] : foo.cpp:66:38: warning: unused parameter ‘subscript’ [-Wunused-pa... (by ne555)
returning class instance from a function
Is there any way to return a class instance from a function? class CLASS{...} CLASS func(...
[15 replies] Last: Actually now that i think about it, is there any way to create an inst... (by Funkist)
Number conversion switch/end loop issues
I have two issues I cannot quite figure out in my program. The first has to do with the default case...
[2 replies] Last: Well. . . how do you account for roman numerals like IX? The I needs ... (by PCrumley48)
help with login system
hi, i made a login system where i can change my info. but when i change the info i can 't use the n...
[no replies]
by canx
iso forbids comparison between pointer and function
I've searched and found several threads on this topic but none have seemed to solve my problem :/ ...
[2 replies] Last: Awesome, Thank you so much! (by canx)
Sum of fractions
This is a programme for adding up fractions. I am required to use a dynamic array to store the frac...
[1 reply] : Works fine for me with GNU GCC compiler and codeblocks. (by Funkist)
Program Completed, How To Run It?
I created a C++ program using the IDE codeblocks for the console on Windows 7. Is there a way to run...
[13 replies] Last: After that , in you project folder there should be a bin folder , with... (by Funkist)
Running into a small problem trying to validate user input
Hello all. I have put together a program that will calculate gross pay for an hourly or a salaried e...
[4 replies] Last: employee.hours; is an integer which means it can't correctly hold the ... (by Yanson)
Help with Transcendental Function Implementation Problem!! Code is written just need more input
I have been working on a c++ project for my computer science class, and this is my first class. I ha...
[2 replies] Last: Anyone? (by BoomWrx)
by kdg926
Tic tac toe game issues
Good morning. I am writing a simple game of tic tac toe but I need some help getting the code below ...
[no replies]
by Torm04
Coin toss C++
Hello, I am stuck on an assignment once again.. Really all I am confused about is.. I need to make ...
[2 replies] Last: This helped out a lot thank you so much. -Torm04 (by Torm04)
by goldyn
String keeps returning 0 for letters found
Hey there just learning some string and it keeps returning 0 for the letters found, any idea what I'...
[2 replies] Last: wow, duh. Thanks. Sometimes you just need another persons eyes to tell... (by goldyn)
Calling a struct from a struct
how can I call the struct inside a struct in this program? struct FoodStorage { string ...
[1 reply] : If I change some of that: struct Date{ int Year; int Month; int D... (by keskiverto)
by bmm130
How to pass a char array in a function(s)?
Hello All, I need help with function paramenters. How to I get my board to update after a user enter...
[3 replies] Last: @anup30: That is a terrible example. The array c is a local automatic... (by keskiverto)
error LNK2005: Structure already defined
I tried to hold off and not rely on outside sources, but after looking over this program for an hour...
[3 replies] Last: Thank both of you, I've never heard of gaurds before. Also nice c... (by skippy3)
Pointing issue.
I'm just getting into pointers and I'm having trouble understanding what the hell is going wrong in ...
[2 replies] Last: I fixed the problem. // Enters the getInput function getInput(&arr... (by seriphim)
Pages: 1... 6869707172... 110
  Archived months: [oct2014]

Cannot post in this page. To post a new message, go to the first page.