Beginners - October 2013 (Page 17)

Hacking
 
I have a question on my mind which i can't get off how can i start hacking which kind of language does it need where are it's forums are there any pre-requisite...
[7 replies] Last: Thnaks for the link so do you think Julian Assange did the wrong thing... (by Sharan123)
looping menu with some functions for array
 
help me to fix this, where do i wrong ? thanks before #include <iostream> #include <stdlib.h> #include <string.h> #include <array> using namespace std...
[3 replies] Last: What do you mean, "didn't want to process data"? Can you please expla... (by MikeyBoy)
VS2013 to CD Only?
 
I finally decided to update my compiler to the latest version, and the Visual C++ 2013 Compiler is supposed to better support the C++ 11 Standard. So I down...
[4 replies] Last: However, when I double-click on this file, the only thing that happen... (by Catfish4)
Dot product assignment... error checking
 
Hey everyone, I'm doing a program for class and am sort of stuck with it. The goal is to calculate the dot product of two vectors with numbers that the us...
[14 replies] Last: It's seeming like this code is turning into one step forward, two ste... (by cire)
e^x=1 + x^n/1!....question - please explain so I can understand.
 
OK, I've spent hours looking at the posts on this equation and I still cannot figure out how to properly write the code to compute e^x after prompting user for ...
[5 replies] Last: #include <iostream> // std::cout #include <iomanip> // std:... (by ShodanHo)
by sea711
expected primary-expression before
 
How do i fix this error: pig.cpp:18: error: expected primary-expression before ‘sentance’ 13 int main (int argc, char *argv ) 14 { 15 16 st...
[4 replies] Last: I'm compiling correctly now, thank you for your help. (by sea711)
Class related short question
 
How do you write a vector called from a class, inside another function called from a class? It says intVectorOne is undefined... class Board { public: vo...
[7 replies] Last: Board is a class. Classes have constructors. Constructor initializes ... (by keskiverto)
by Jaycs
trying to find largest int
 
user inputs 3 integers instructor wants us to assume first int is lowest, and find the highest int and print it out. using two if statements. my code is just s...
[9 replies] Last: He said that he has fixed that. If so, then there is version control i... (by keskiverto)
not calculating?
 
when I run the program it works but is not calculating AT ALL. I know it's probably something stupid and easy I missed but I have been going nuts trying to figu...
[3 replies] Last: thanks a lot guys! yeah I fixed the y,n and it worked, but then when I... (by smdtherock)
Overloading Operators
 
Hi, why cant overloaded operators like >> and << take no more than 1 argument when not declared as friend to a class?
[1 reply] : Can you show some code so we can clarify what you mean ? (by nvrmnd)
by DrZoo
SLNode Class operator<< help
 
I'm trying to do a cout operator on my code, but when I try to compile it's giving me an error. I know I'm overlooking something, but I can't pin point it. ...
[2 replies] Last: Wow, I knew it was something small that I was over looking. Thanks Nor... (by DrZoo)
Array Help.
 
My professor asked us to write a program that converts roman numerals into arabic numerals using classes and a separate header file. I was able to do that, I'm...
[6 replies] Last: The number of input doesn't have to be 50 ? The problem is in the con... (by nvrmnd)
Geometry Calculator with functions
 
Hello all, sorry if this question is in any way derivative. I searched through a lot of other similar questions, but I didn't find anything that was exactly the...
[1 reply] : For one, displayMenu() needs to return a value of type int. Two, you n... (by Ispil)
How can i write a program that will delete a certain file or set of files every time i run it?
 
I was wondering how i can write a program that will delete a certain file or set of files every time i run it? For example if the file was C:\users\Me\Desktop\D...
[1 reply] : you can do something like this : c++ version : #include <cstdio> #i... (by nvrmnd)
istringstream question
 
Okay so I have an assignment I'm working on where we have to have a program that reads in words from a text file, allows the user to input what word they want t...
[11 replies] Last: Hmm so while (getline(inf, s)) essentially executes a getline command ... (by KvltKitty)
C++ Input flushing and other problems.
 
Hello I am new to the boards, and would like to say hello. Also thank you in advance for any help you can offer. I am slightly confused at this point in...
[5 replies] Last: Could you show the updated code? Possibly, your program still keeps th... (by Kikiman)
by binso
increasing or decreasing array prblem
 
Hi. I have a problem with the bool increasing funtction. It seems it only compares the first 2 numbers in any situation. Example input; 10 for int n, then e...
[14 replies] Last: Never mind, figured out the problem. Had to be <= in the if statement... (by binso)
Card Game
 
i've spent a lot of time making this game; yet it does not give the desired output. I know its a lot to ask, but can someone read the whole code and help? its ...
[no replies]
Need help on this program of data structures
 
You need to write a permute class that will take first and second strings to rearrange letters in first, followed by second. For example, if the first is “CA...
[1 reply] : what have you got so far? (by mutexe)
Bubble sort
 
I was able to store the desired variables in player1 and print them too but i can't seem to do this for the other 3 arrays as the output is somewhat strange. a...
[2 replies] Last: Oh, that was a really stupid mistake :p Thank you @manga :) (by nadeali)
October 2013 Pages: 1... 1516171819... 86
  Archived months: [sep2013] [nov2013]

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