
please wait
by alex067
Passing structure array to function
|
For my homework, I need to create a function called CopyRecords which serves to take the data from a text file and copy it into a structure. I'm just confuse... |
Oct 16, 2014 at 4:59am
[14 replies] Last: Just use some number (by LendraDwi)
|
by losonnyboy
Simple String Length Question
|
Why does it only count four characters? How do I get the length of chars in the whole string? It seems to only stop at the space. Thanks and greatly appr... |
Oct 16, 2014 at 4:38am
[10 replies] Last: #include <iostream> #include <string> using namespace std; int main(... (by closed account 48T7M4Gy)
|
by KJMcGaha
Coin Toss Code using RAND
|
I am getting an error code Error 2 error C2082: redefinition of formal parameter 'flip' when I try to build and run my program. Any advice on where I am goin... |
Oct 16, 2014 at 4:27am
[4 replies] Last: while (count <= tosses) //RUN LOOP WHILE LESS THAN TOSSES INPUTED ... (by anup30)
|
by KJMcGaha
Finding the errors in the function
|
I need to find the errors in this function: void total(int value1, value2, value3) { return value1 + value2 + value3; } I know that a void function can... |
Oct 16, 2014 at 4:04am
[1 reply] : void total(int value1, int value2, int value3) (by anup30)
|
How useful are templates in high level programming? |
In some of the homework assignments that I have been given, I never really found a use for templates since regular functions pretty much accomplish the same thi... |
Oct 16, 2014 at 3:20am
[2 replies] Last: [quote=abel muro]Can someone show me a good example that uses template... (by Cubbi)
|
by gunman353
[HELP] Reading a 1D and 2D array from a file
|
I am trying to read two different arrays from a text file, then print them using cout. The first column in the file should be passed to companyNames, and the re... |
Oct 16, 2014 at 3:13am
[4 replies] Last: and the program is much simpler.. #include <iostream> #include <fstr... (by anup30)
|
by mike3535
char function problem
|
I can't figure out what I have wrong here. It always says invalid choice. char menu () { char userChoice; cout<<"Surface Area... |
Oct 16, 2014 at 3:01am
[2 replies] Last: wow stupid mistake been trying to figure that out for hours. Thanks so... (by mike3535)
|
by andrew338112
How to get C++ to ignore slashes
|
Bear with me on this question as I am basically brand new to c++. I am trying to write a program in which the user can enter a date in the format "MM/DD/YYYY" a... |
Oct 16, 2014 at 2:47am
[1 reply] : You can simply do int day; int month; int year; { char slash; //... (by giblit)
|
by nsahawks7
Compiler and IDE for Chrome OS?
|
i received a Dell Chromebook 11 as a present from my parents since i've been begging for a laptop for the past 6 months to code on. well, my only issue is, i... |
Oct 16, 2014 at 2:05am
[2 replies] Last: @shadowCODE thanks, but all of those are either not for C++ or aren't... (by nsahawks7)
|
by trannghi7707
While loop to repeat the program
|
Hello everyone, I have this problem and I don't know how to fix it. I want my program to ask the user to run the program again. I try to use the while loop b... |
Oct 16, 2014 at 1:14am
[2 replies] Last: Thank you very much for your help :D (by trannghi7707)
|
by coltehrman
Project
|
Hi everyone :) Right now I am taking a programming fundamentals course in c++ and the class is going quite slow and I want something to keep me busy and help me... |
Oct 16, 2014 at 12:50am
[3 replies] Last: maybe try project euler? also, I think this might be more suited to th... (by geniusberry)
|
by Magnes34
Need help with an assignment
|
So I have only been coding for a week and in the add_values function I need to allow the user to return to the display_menu function before having filled in all... |
Oct 16, 2014 at 12:43am
[11 replies] Last: This piece of code tests, fail bits and the return values of cin. #i... (by shadowCODE)
|
by Corey21Woods
Inflation Problem.... Cant figure out how to fix it!
|
Write a program to gauge the rate of inflation for the past year. The program asks for the price of an item (such as a hot dog or a one-carat diamond) both one ... |
Oct 15, 2014 at 11:36pm
[2 replies] Last: On line 23 remove double //You declared it twice Line 31 - 37... None... (by coltehrman)
|
by Sublyminal
Little help with using SENTINEL
|
Okay, so I'm sort of stuck on using SENTINEL to end my program when someone types Q or q. Any help on this would be appreciated, I'm not sure where I'm going wr... |
Oct 15, 2014 at 11:24pm
[5 replies] Last: lol no problem :) (by coltehrman)
|
by Magnes34
Help
|
So I want to be able to plug in three numbers then leave and I am not sure what code I need to add in order to do that. void add_values () { cout... |
Oct 15, 2014 at 11:23pm
[3 replies] Last: well im not really sure what your asking but u could create a a counte... (by coltehrman)
|
by pk1
Need help with passing return values.
|
Hello! I'm taking a C++ class, and the midterm is coming up.I only have two more projects but so far they are whoopin my a**. I've tried for a couple hours to g... |
Oct 15, 2014 at 10:45pm
[5 replies] Last: Thanks a bunch AbstractionAnon! (by pk1)
|
by and kand 97
Function to find the middle value of three inputted numbers
|
I have an assignment that asks me to create program that asks the user for three numbers and I have to send it to a function that finds the middle number of the... |
Oct 15, 2014 at 10:35pm
[2 replies] Last: Oh I see what I was doing wrong... Thanks for your help! It's greatly ... (by and kand 97)
|
by brandona15
Get/Put Functions
|
Im having trouble getting the program to execute. Basically the program is meant to read from an input file then create an output file with the users informatio... |
Oct 15, 2014 at 10:20pm
[1 reply] : i would like to do this way: content in inf.txt: User Personal Infor... (by anup30)
|
by AaronBeLike
Need help with this sudoku program, Having pointer issues.
|
Edit, forgot the question. Really need help with this program. As I'm compiling I'm getting pointer issues. I'm not sure how to match up the formats. #i... |
Oct 15, 2014 at 9:43pm
[no replies]
|
by AwakenedRage
Using a Typecast
|
I'm taking a C++ class, I'm a C# kind of person, and have some trouble with C++ due to C# methods being engraved in my mind. I think I'm unable to solve this du... |
Oct 15, 2014 at 9:09pm
[2 replies] Last: It worked, thanks. As for not seeing the casting I didn't include my a... (by AwakenedRage)
|