Beginners - April 2014 (Page 34)

by RBMenz
How to make a beep
 
I am very new to coding. C++ is my first language and I've been learning for a few weeks now. I am...
[3 replies] Last: http://www.google.com/search?q=arduino+use+speaker+programming (by helios)
by jm94
Writing a function
 
Hi, i need help answering a question from a past paper. How do i write a function called "foo", th...
[4 replies] Last: Read a good tutorial on returning by reference / pointer (pass back po... (by JockX)
setw(); HELP.
 
how do I make the output of the " | " outs in one vertical line, as you can see, it prints something...
[4 replies] Last: I don't know about tutorials on iomanipulators, but this start here: h... (by JockX)
Question about cout
 
So I have a question just to see if it is possible. I assume it is. I am using Visual Studio and th...
[2 replies] Last: Write a function and wrap all the opening file and error handling beha... (by JockX)
by dean93
HELP with simple code needed
 
I having problems getting the correct answer. forceB =400,lengthAC=8,lengthAD=6 when I check I get t...
[4 replies] Last: I'm working with an MFC application so that code doesn't work, do you ... (by dean93)
by venros
TicTacToe-Linked List Winning Conditions
 
Hi guys, Im new to linked list so bear with this code. I'm stuck on the winning conditions, and the...
[6 replies] Last: CodeGoggles, that was a left over code, Its supposed to change player ... (by venros)
Writing a Card Game program errors
 
I am trying to write a program for the card game Old Maid, but I am getting some errors which I don'...
[4 replies] Last: Thanks! That took care of the compiler problem. And thank you for the ... (by cjn5143)
Node Linked
 
Thx
[2 replies] Last: You'll want to make a function to insert a head for your linked list o... (by closed account 2UD8vCM9)
Overloading << & >> for an object
 
Microsoft Visual Studio is telling me, with a red squiggly under operator, "Error: too many paramete...
[5 replies] Last: Problem solved! Thank you! (by JRimmer)
Sorting Algorithm
 
How do you implement a code that tests if the sort (insertion, bubble, selection) is stable? For...
[4 replies] Last: using std::multimap, place each value into the map along with it's cor... (by Smac89)
a fatal error
 
so i wrote this program and its comming up with this for an error LINK : fatal error LNK1168: canno...
[2 replies] Last: yeah I did. I got it figured out though thank you. :) (by owenkmc)
counting duplicate array need help
 
Hi, I am learning computer science this semester, and having trouble with my homework. I think I am...
[11 replies] Last: http://www.cplusplus.com/reference/map/map/ (by LB)
Arrow Membership Operator
 
The line pfish->kind = "guppy" produces an error statement: "invalid array assignment." Why does thi...
[3 replies] Last: char kind = "guppy"; is an initialization. char kind ; kind = "gupp... (by LB)
Infix to Postfix (can't figure out my errors)
 
Hello, I've searched through the Infix to Postfix threads and I wasn't able to find my mistake. Ho...
[no replies]
Can getline (cin) store more than one variable?
 
For example: #include <iostream> #include <string> using namespace std; int main() { ...
[6 replies] Last: You should never worry about efficiency. Always use the most elegant p... (by LB)
need a word to output in an outfile
 
In this one program that i need to write for class, i need to take either 1 or 0 and have it turn in...
[no replies]
A function that increments
 
How would I write a function that increments something like a total of cars and the adds 2.00 to a c...
[3 replies] Last: your payingCar function could do something like, amount+=2.00 and tota... (by pepstein)
by Subo93
files
 
when I enter itemcode and item and press enter it only outputs the "Enter itemcode,item and price"tw...
[1 reply] : That's not possible, your for loop can only run 2 times in total. (by LB)
Flags - flags and setf (1,2,3)
 
//Hello guys!!! //First, how should you translate flags into a understanble language? They could ca...
[59 replies] Last: https://www.youtube.com/watch?v=l8wmvP0vrVM (by closed account jvqpDjzh)
wordcount using functions? please help!!
 
Hi. i am a beginner at C++ and i need help with this program. i am trying to count specific words in...
[13 replies] Last: oh ok, thanks for the help anyways. (by JulyZerg)
April 2014 Pages: 1... 3233343536... 67
  Archived months: [mar2014] [may2014]

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