Beginners - November 2015 (Page 18)

void function "expected initializer before void"
 
I'm making a program for class and I keep getting this annoying error. I literally have no idea why ...
[7 replies] Last: OK OK OK WOW... I made quite a few mistakes...but hey it works now tha... (by CrypticA1)
INCREMENT and DECREMENT
 
CHEESE AND RICE, my brain is exploding, i get the math and stuff, but i cant just get the format of ...
[no replies]
Help Passing input file into arrays (1,2,3,4,5)
 
Hey guys so I am having a lot of trouble passing arrays into functions from my input.txt file. I've ...
[81 replies] Last: lol ... ill do that. i have this whole week off for break. its snowing... (by Phil092)
Just a quick question
 
I created this code according to what the question asked me to do. But I am confused on the last par...
[2 replies] Last: so do you think this code will be fine then?? #include <iostream> #in... (by Serge1005)
How do I deal with floats in my int based text menu
 
I'm writing a menu that will present you with 5 choices over and over again until you enter 5 as you...
[3 replies] Last: Thank you all for the input, much appreciated (by hoobledooble)
by Marth
char[] to int? oh yes. yes. indeed. absolutely.
 
i has char array. char array has date indexed. Date is variable, depending on user input. so ...
[2 replies] Last: How DARE you answer my question. reported. (by Marth)
syntax error but i have no idea why?
 
I have a do while loop with a switch statement nested in it but for some reason the squiggly bracket...
[2 replies] Last: Try adding a semicolon (a null statement) before the closing brace of ... (by Chervil)
by Aksa
Please help me with this if / else if.
 
It always uses the else statement as true! I am beginner, just started today! Can someone explain? ...
[2 replies] Last: Use std::string to hold sequences of characters; it makes life a lot... (by JLBorges)
by HomerQ
HELP!!
 
Hello. I am new to C++ and i am stuck on a problem. The program I have continues to loop over an...
[2 replies] Last: Most likely the file was not opened successfully. After the open() sta... (by Chervil)
array within array
 
Hello all, I have an array in C++. I want to change some of its elements to another array.In other ...
[5 replies] Last: IIRC, it should compile cleanly with these options: -std=c++0x -Wall ... (by JLBorges)
array wont output lowest number correctly
 
so im doing a bit of homework that i thought was pretty easy. but for some reason when i run the cod...
[7 replies] Last: well mine functions, but that is certainly cleaner and a smarter appro... (by kerreck)
Special Number Triangle
 
I know how to write a program that displays the following: 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6...
[3 replies] Last: Instead of j++ you would use j--, then fill in the starting and stoppi... (by tallyman)
26-Seater Aircraft Reservation System
 
Guys, please help me with this. I don't know what to do. Problem: Seat Reservation System You ar...
[3 replies] Last: Even using multiple dimensions seems like overkill. I would leave the ... (by booradley60)
Multi-dimensional Arrays and cout
 
create myarray random them and i got : 1 2 3 4 5 6 7 8 9 meh ... then i cout myarray and th...
[9 replies] Last: The idea of deleting something from an array doesn't really work like ... (by Chervil)
Cant get my program to print my Arrays
 
Hey thank you if you can help me. I cant seem to get my arrays to print or do anything. I'm trying t...
[15 replies] Last: Okay. I got something similar when I moved for (int i = 0; i < ISIZE;... (by tallyman)
Connect 4 Full Board Check
 
Im currently programming a connect 4 game that runs player vs player. My question is: How can I chec...
[2 replies] Last: That is exactly what I did and it worked, thank you. (by carlious)
Cant print array
 
I have written this code to do bubble sort and selection sort. for right now I cant get my selection...
[1 reply] : http://www.cplusplus.com/forum/beginner/179190/ Please just use one to... (by tallyman)
uniform cost search algorithm
 
Hey, I'm writing a UCS algorithm and came across an invalid heap error. I have overloaded <= and < ...
[no replies]
by Winsu
Friendship
 
I have a question, A function declared as a friend of a derived class has acces to the data memb...
[3 replies] Last: yeah, exactly. But B doesn't have access to it either so it would be p... (by Gamer2015)
by iR3MiX
Array-Temperature Calculations
 
I'm sure someone has seen this exact problem before but I never found a solution.. so I built my own...
[18 replies] Last: Wouldn't I need brackets around: if (numElements < 1){ return numElem... (by MikeyBoy)
November 2015 Pages: 1... 1617181920... 53
  Archived months: [oct2015] [dec2015]

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