Beginners (Page 65)

Input file into array / removing from array / Cstring
Sorry for the big question. I am trying to input a file with a delimiter of | into an array and I wa...
[no replies]
by HI281
I am writing my first C++ program and it stops after asking for the input. Here is what I was asked ...
[3 replies] Last: #include <iostream> #include <cmath> using namespace std; int main... (by kemort)
Help with code
I have this code and it works perfectly except Hex=0 doesn't work, i tried to add IF statement but i...
[3 replies] Last: Bummer. I see what you mean. One problem that stood out even on looki... (by kemort)
by louwin
How do I use my PC to program pretty patterns on my TV/monitor?
I have been playing with C++ for about a year on a few Arduino MCs. No formal training but a retired...
[6 replies] Last: You might find Processing ( )to be a good fit ... (by cire)
Can I write to a file without ofstream?
I'm trying to write a quick function that asks the user for their name, and how many sales they made...
[1 reply] : std::cin is an input stream, so no. You can write to a file using st... (by helios)
Passing Parallel Arrays through a function
Hi everyone. I was wondering if it was possible to pass parallel arrays through a function. I've loo...
[10 replies] Last: Figured that out shortly after I posted that. Perhaps next time let ... (by kemort)
by kmn90
Help with hangman
Hello everyone. I need help getting a hangman program to work. The basis is that it is supposed to ...
[1 reply] : The programs code itself is here: #include <iostream> #include <stdlib... (by kmn90)
by sleeky
Continue entering in array where previously left off
Hi. i am working on a code in where the add_values selection will allow the user to enter numbers i...
[3 replies] Last: Well it depends exactly where you want to stop and start but the idea ... (by kemort)
Passing Command Line Arguments
I need to pass values from the command line and add those values together and output the value, unfo...
[3 replies] Last: Thank You :) I figured it out with your help. (by codingn00b)
Help with code while loop
I recently started a tutorial and the following is my take on the first challenge episode. For some ...
[1 reply] : Perhaps a clue as to which line detection occurs would help us help yo... (by kemort)
Help with nested loop
I need to make a user defined size ( assume odd number) rectangle with a cross in the middle to be o...
[5 replies] Last: Thank You ! for (int r = 0; r < numRows; r++) { for (int c = 0;... (by codingn00b)
Need help with this hw question
Calculate the exact change (coins) that needs to be given. Program prompts user to input an integer...
[1 reply] : You could use that as a start, especially modify it as a piece of pseu... (by kemort)
Else before if error
Hello, I just started learning C++ two days ago and I have done some stuff. Am trying to make a basi...
[5 replies] Last: Line 26 should also start 'else' and not 'else if' Only one set of br... (by kemort)
array issues
Hi, I'm not sure how to title this, so I'll just explain my issue. My program is supposed to print...
[2 replies] Last: We haven't covered vectors yet, so I don't think were supposed to use ... (by jpanther)
by yehozz
Call for the method?
Helo, so i made this code, i want my method to write out this information when i call for it. #i...
[5 replies] Last: Use the main function from the first code block with the placement of ... (by tallyman)
Reference Parameters
Hello! Can someone please tell me what reference parameters are? For example, what's the differen...
[2 replies] Last: when you do pass by value the compiler makes a copy of the passed vari... (by leryss)
how to start a number with a specific number
there is a something specific how to start a number with a specific number like a and after whatever...
[2 replies] Last: If you are actually dealing with numbers (and not strings), there is a... (by Duoas)
3 Functions?
Write the following 3 functions. a) A function the prints three asterisks with three spaces in betw...
[1 reply] : The problem here is that you could be making any one of a dozen mistak... (by Computergeek01)
reading from a file and storing data into a struct
I am trying to read data from a file and print it out the screen. I am trying to store the data that...
[6 replies] Last: Sorry for that. It just a thorn in my side: no one ever in my memory u... (by MiiNiPaa)
How to use an if statement to check if string exists in a specific array?
Hello, I need to know how to use an if statement to check if 2 string elements are in an array that ...
[1 reply] : If it has to be a simplistic array like this then you would iterate th... (by Computergeek01)
Pages: 1... 6364656667... 107
  Archived months: [sep2015]

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