Beginners - January 2015 (Page 9)

Error
 
Hello, My vector program won`t compile: #include <vector> #include <iostream> vo...
[7 replies] Last: I disagree. So you think it's a good idea to use identical names? ... (by AbstractionAnon)
Outputting inputted number from the list of .txt file(FILE HANDLING)
 
I want to make a store like program. I have my items in my .txt file, outputted it in my program. I ...
[5 replies] Last: Thank you for the help! (by Vandalism)
constructor
 
are you really force to pass arguments when you write a constructor with parameters? EDIT: revisin...
[8 replies] Last: That Bar could use a C++11 feature: delegating constructors. The def... (by keskiverto)
by snm010
c /c++ program to find area under a curve by monte carlo method
 
#include <iostream> #include <cstdlib> // for: rand(), srand(), and RAND_MAX #include <ctime> /...
[1 reply] : Cheers! But there's nothing in your find_area() function. (by mutexe)
dont know where it goes wrong
 
idk where this goes wrong,please help me point my errors i keep getting message // <#include<stdi...
[9 replies] Last: Hi, As I mentioned earlier, do not call main() , as you do in your s... (by TheIdeasMan)
by KMagic
Template
 
I am writing a function template which returns the total of the values that we input. The function...
[2 replies] Last: Probably the most robust and correct way to do so: template< type... (by MiiNiPaa)
duplication error
 
I have a declaration of macro as follows: #define uint unsigned int And I am getting ...
[2 replies] Last: It looks like you are not able to declare the macro simply because you... (by nickeeromo)
C++ homework issues using loops
 
My first question is what would be the best way to find the low score in this program, because I can...
[3 replies] Last: So far I can tell you that you are adding 1 to i if selecting yes to a... (by nickeeromo)
Stroustrup's intro to programming doesn't seem to be theoretically driven. What am I looking for?
 
I have found what seems to be the go-to book on programming, Stroustrup's "Programming: Principles a...
[4 replies] Last: > It cuts corners on what concepts? It (Programming: Principles and P... (by JLBorges)
Log2 and Negatives
 
Hey everyone, need help with a simple program. Basically I need to use a ternary to compute the log2...
[2 replies] Last: Thanks hayden, that's remarkably easy. I didn't even think of the brac... (by Xatasha)
parameter error
 
playerTurn(isTurn,player_turn,isEmpty(&player_turn)); void playerTurn(bool&,char&,bool(char*)); b...
[3 replies] Last: so the declaration for the 3rd parameter should only bool, because in ... (by xenovia12)
Help with C++ homework
 
I have a multi file program that uses classes and inheritance. I have one that is stumping me. The...
[8 replies] Last: I understand your post and have tried several variations of this but t... (by grndnatllvr)
can functions be called within another function?
 
can functions be called within another function? for example, i want to multiply two Matrices,A an...
[2 replies] Last: so this means i can put a void function in another void function,right... (by sarah01)
by klop
Array of pointers pointing to linked lists
 
Hello, Lets say I have an unknown number of linked lists (the user inputs the number), and a for lo...
[15 replies] Last: Yes, the last two things you said are the real challenges, I know that... (by klop)
also dis one pls
 
Write your question here. a regular employee earns $32,500 nnualy . write a program that determin...
[8 replies] Last: more like /* Write your question here. a regular employee earns $32... (by MintDropz)
Im trying to Increase and Decrease the size of an array
 
Im trying to do my homeworks and its basically this. First I try to double the size of my array (fro...
[2 replies] Last: Expanding on what ne555 said, it would be cleaner if your wrote a func... (by dhayden)
Copy from Joe Editor & Paste to Word
 
Will someone please remind me how to copy code out of Joe editor and paste it into an MS Word doc? ...
[6 replies] Last: Thanks all. I remembered to view using more instead of opening in e... (by elliott22)
dont know where the prob,please tell me
 
#include<stdio.h> #include<conio.h> #include<stdlib.h> void MatrixA(long m,long n); void M...
[1 reply] : scanf("%d",m); It expects pointer to value, not the value itself. A... (by MiiNiPaa)
pls i need help asap for my exam
 
Write your question here. i need to know th code of this KATHRYN BOUGHT 600 shares of stock at a...
[3 replies] Last: thank you very much (by shairaalegre)
What is the most hardcore intro to programming book?
 
What is the most hardcore intro to programming book?
[no replies]
January 2015 Pages: 1... 7891011... 39
  Archived months: [dec2014] [feb2015]

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