Beginners - April 2014 (Page 16)

I need to break down the program into function calls and prompts the user for an order until he exits the program (1,2)
 
Write your question here. #include <iostream> #include <iomanip> using namespace std; int ma...
[23 replies] Last: Sorry - I guess I wasn't clear. Yes, I agree the compiler would compl... (by wildblue)
typeid help
 
I have a kind of pointless question but I'd still love to know why it does this. consider the follo...
[9 replies] Last: > Do you think having different vectors of different item types would ... (by JLBorges)
How does this compile
 
The following code has a problem, but compiles and runs fine int &get(int *arry, int index) {...
[3 replies] Last: Thank you both, yes that helped a lot. All this time I was confused ab... (by closed account EwCjE3v7)
by chofs
2d array infiling from text problem
 
hello guys i seriously need ur help....i made a code to take readings from text file for my matrix.....
[3 replies] Last: well it really depends on what you are trying to achieve. If you wish ... (by CodeGoggles)
Store 2 integers in a template
 
Can I use template<> to store 2 integer? Something like template<int, int> If yes, how?...
[5 replies] Last: Look at the C++ Standard Library. It is mostly template code. For ex... (by keskiverto)
How to put a line of a text file into an array for encryption? (AES)
 
I am writing a program for AES Encryption which is all but done as far as that the program encrypts ...
[7 replies] Last: I finally got it. thank you! I used the std::hex to convert the intege... (by browncow)
Please help with this code
 
I use Cfree 5.0 and this code have 6 error is in the last line and to be honest, i dont know where i...
[3 replies] Last: Oh thank you very much. Well i am still newbie ( just start for a few... (by hidadsek)
Undeclared variable with an Array of Objects
 
What expression is expected in this error message? ERROR: line 44 expected primary-expression befor...
[9 replies] Last: I need to input 6 different points of data for a user defined amount o... (by dgwhite)
ints and enums
 
If I have some enum like enum direction{up,down,left,right}; And I want to generate a ra...
[2 replies] Last: Thanks (by RadWayne)
by Bolbi
getInstance()-function wont work
 
I am using SFML 2.1 and codeblocks. I tried to write a "getInstance()"-function for the CGame-class ...
[7 replies] Last: No worries. Make sure you understand why your changes fixed stuff :) (by mutexe)
practice programs
 
What are some basic programs that I could right to practice basic c++ programming. Im talkibg about ...
[2 replies] Last: https://projecteuler.net/problems (by mutexe)
Files/Functions-HW help
 
Problem: Programming Challenge #11 pg 489, Chapter 8, Using Files - String Selection Sort Modificat...
[no replies]
bool positive in Fraction class
 
I got everything implemented and set to finish. However, I have no clue how to implement the bool po...
[1 reply] : This is probably the way you want to do it - make sure that everything... (by TwilightSpectre)
Psychic Program
 
Objective - To write a program that will predict the future Method - 1. Use the main procedure to ...
[1 reply] : http://www.cplusplus.com/reference/ctime/clock/ The clock function co... (by PrivateRyan)
Identify Prime numbers
 
Question: Write a program to read a number N from the user and then find the first N primes. A pri...
[6 replies] Last: if (i%j ==0){ break; } else cout << i << " " << "is... (by giblit)
Data Accessors
 
Hello. I am new to C++ coding, and am learning data accessors. This code will not compile for me an...
[10 replies] Last: Oh, wow. I totally skipped over you telling me that before. Thank you ... (by sportstool)
Linear Search for Login
 
Hi, I am in need of some help! I am writing a web site login program that compares the input of a Us...
[2 replies] Last: Thanks, but they have removed their code so I am not sure what was goi... (by Mch5904)
by Aceix
Missed the link somewhere...
 
Please help me with this(soo tired). No compile errors but the linker tells me(using g++): Z:\hom...
[no replies]
Use of undeclared identifier error when it has already been declared elsewhere
 
I'm trying to create a binary tree from code given to me by my professor, but Xcode is telling me th...
[no replies]
Trouble Incrimenting Linked List from Main
 
I'm trying to write a function that accepts a linked list as its argument. I then create a pointer ...
[2 replies] Last: Thanks for the help! I had the appendNode(), insertNode, etc already i... (by Khillz3000)
April 2014 Pages: 1... 1415161718... 67
  Archived months: [mar2014] [may2014]

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