Beginners - October 2013 (Page 18)

by mjyz
Trying to calculate from file
 
///
[5 replies] Last: That version is somewhat worse than the previous version. You still ha... (by Chervil)
Function counting
 
I wrote this program but when I run it and enter in words to search for........they always come back 1 value less than there are. What am I missing in the code...
[2 replies] Last: Ya I know the names of the variables were a bit rude, but I was lookin... (by sagebrushwilly)
Bubble sort problem
 
I have been given a card game assignment. its initial steps are to perform bubble sort. I have looked over my code a 1000 times but can't figure out why the com...
[4 replies] Last: Thank you :D (by nadeali)
having problems with std::cin reading white spaces
 
hello all, i am new to programming just learning the ropes. i am having a little problem with address part i have put into bold, its not picking up anything af...
[6 replies] Last: Try it like this. You should be able to enter first and last names, an... (by Chervil)
Errors with snippet of code
 
Hello, I have to find the errors with the following code. Apparently there are seven of them. The getCalibration functions are assumed to be free of mistakes. ...
[2 replies] Last: Thanks, that definitely helps getting me started. (by maximus123)
Input file assignment.
 
Hi guys, I just learned about input file, and while I sort of get the basic concept, I am still confused about how it's done. I don't understand what I have ...
[15 replies] Last: Your code gives me the following compilation error: conflicting dec... (by Chervil)
by n00b11
help!
 
I have been working on this problem and I'm stumped! can anyone help me please! The purpose of this assignment is to provide you with some additional practic...
[8 replies] Last: thanks everyone, I really appreciate all the help! (by n00b11)
I need help with the push_back command
 
I can't get the pushback to work. The dot '.' between my vector and the pushback command is giving me an error. Here is the relevant code: class Board { pu...
[9 replies] Last: I was trying to call members of Solutions that did not exist. I was pu... (by belgarionriva)
Help with these two unknown errors
 
I'm getting these two errors here: #1: error LNK2005: "public: __thiscall Node::Node(int)" (??0Node@@QAE@H@Z) already defined in BST1.obj #2: error LNK1169:...
[2 replies] Last: Got it fixed. I had to move the Node class definition into the BST1.cp... (by natekelsey)
by jullig
Magic Square
 
hey so I have this project called the magic square f.x http://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Magicsquareexample.svg/180px-Magicsquareexample....
[2 replies] Last: cheers, its solved :) (by jullig)
Function as a parameter with non specified number of arguments
 
Hi everybody! I'm new to this forum, and I hope i won't make mistakes posting my question. I got stuck on a problem: how can I pass a function to another fu...
[4 replies] Last: Lambda expressions seem to be simpler and more elegant, I'll try both ... (by mmenotti)
Help a beginner with homework!
 
I am a real beginner that really want to learn and i am not asking you to do my assignment but only to refer me to what i should use. The assignment is to cr...
[4 replies] Last: Thank you for the reply because it helped. I think the reason i don't ... (by cplusme)
Using [] to assign object to vector
 
I am trying to figure out why I get a SIGSEGV fault, when I try to assign an object to a vector, even when I've used reserve, when it works if I just use a prim...
[5 replies] Last: > And the first example DOES work, I compiled it and ran it, > and o... (by ne555)
Von Koch c++
 
Hello everyone. I realize the Von Koch curve in C + + (using the graphics.h) but I'm stuck and I can not continue. the main must draw the curve in points deci...
[6 replies] Last: I can not do the program, I do not know if this code is fine and I to ... (by jyciap11)
by Ausha
do while output
 
I have program that find the smallest digit in umber, is just the result comes out as many times as do while loop works, how can i make output work just once? ...
[2 replies] Last: Thank you a lot! This works better. (by Ausha)
ttmath
 
...
[17 replies] Last: Great. If you would like to use a type alias (say bigint) everyehere,... (by JLBorges)
VC++2010 no support RAW STRING? --identifier is undefined.
 
My code is below, is that my gramma error or i have to add some #include? cout << R"(where is the problem?)"; the hint is : identifier is undefined...
[2 replies] Last: ic, thx. (by q1670741824)
Program where the computer guesses my number..
 
I am trying to solve a problem wherein the computer must guess the number i had in mind. I come up with this solution: #include<iostream> #include<stdli...
[2 replies] Last: made an upgrade here.. switch(num){ case 0: y=x; break;... (by MidGuardiaN)
Making the last letter of a char uppercase?
 
Hi, i need help in making the last letter of "bob" Uppercase so it will print out "boB" any ideas, i think im so close but im not sure #include <iostream> #i...
[4 replies] Last: Thanks so much, i got it working now :D and ill look at that link just... (by Maderthanyou)
Big Reading problem
 
Hello, I have a txt file Miami str. 22-6 107.9 Lambo str. 29-657 196.89 Ferrari str. 36-14 168.2 for example Miami str. (Street name (string)) 22-6(adress (st...
[3 replies] Last: Well, you could perhaps assume that the street name is always two word... (by Chervil)
October 2013 Pages: 1... 1617181920... 86
  Archived months: [sep2013] [nov2013]

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