Beginners (Page 63)

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 Lorence30)
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]
operator overload outside of classes
 
I have a question about why I am getting an error when trying to overload an operator outside of a c...
[8 replies] Last: Thank you so much! I can't believe it was such a simple error lol I re... (by mtbrooks1993)
How to Make a pointer to an array.
 
Write your question here. Hey everyone. Basically this. Im trying to First declare a pointer to an ...
[6 replies] Last: The question is, whether the OP can see it too. Actually, the questio... (by keskiverto)
Windows Password
 
How do you get the local user's password in windows? I've seen face recognition software do it when ...
[4 replies] Last: What do you mean you can't? You certainly COULD and CAN. There's a s... (by mutexe)
macro definition
 
Hello forum I have defined a macro as follows: #define TWOPI_F 6.2831853f And while...
[2 replies] Last: Thanks for the hint. It was not declared properly. (by sajis997)
initialize dynamically allocated struct array
 
weapons *myWeapons = new weapons ; *myWeapons = {"Weapon 1" , 500 , 2}; ++myWeapons; *myWeapons ...
[14 replies] Last: thanks guys (by Lorence30)
Pages: 1... 6162636465... 92
  Archived months: [dec2014]

Cannot post in this page. To post a new message, go to the first page.