Beginners (Page 91)

by Faurax
Compile resources in projects
Hi, this is probably a newbie question and I am not sure if this is the right forum for this. I hav...
[no replies]
Explain difference b/w the two codes
How does the compiler interpret the position of the initialization int f(1); in both the cases...
[3 replies] Last: Any initialization expression should be before while loop. (by Knightrider29)
reading a set of bits with a boolean operator, I think
For part of an assignment that I'm working on for class, I need to write a for() loop that will read...
[2 replies] Last: To check if a bit is on you can use bitwise AND. unsigned char byte ... (by maeriden)
by Cadis
Tax deduction function
I'm trying to write a function for whether or not tax deductions are applied based on income and fam...
[4 replies] Last: Thank you for all the replies! I'm still learning to use C++ so please... (by Cadis)
I keep getting an undeclared identifier error. (1,2)
Hey guys, I am trying to write a program for class and I keep getting an undeclared identifier error...
[30 replies] Last: I thought that was what your prof might be doing MJ. It's all good pra... (by kemort)
by Sylnox
Understanding Exception Object Propagation
I just read about exceptions over on, and while I think I understand most of it, I have...
[4 replies] Last: Whoops. I didn't see your edit at 8:52. To be honest, I do not know... (by JayZom)
If you want the user to input an integer value into your program for a variable named number, what a...
[18 replies] Last: Hmm. Alright. If you're on chapter 3, then you might be learning abo... (by JayZom)
what will be the program in C++ using FOR LOOP??
#include <iostream> using namespace std; int main() { int odd; int even; for(odd =...
[6 replies] Last: If you want more help, you'll need to give us more information about w... (by JayZom)
by Kernul
Searching for sequence in a file
This is an exercise I found: With a file containing a very long sequence of numbers, write a program...
[19 replies] Last: Oh right! Anyway, now it works! Thank you for your help! :D (by Kernul)
Using Stored Values
Hello. I'm a beginner to C++. I'm trying to make a simple program whereby the system asks the user...
[1 reply] : You could always use a container to store these answers. I would proba... (by JayZom)
convert 2d character array to 2d integer array
simply what i want to know is if i can take a 2d array of characters and convert them to a 2d array ...
[1 reply] : That isn't a 25x25 array, that's a 5x5 array. You'd have to use a 2x f... (by Ganado)
how to use "friend"
Hello, I am having an issue with my program, but I don't know what I am doing wrong. #include ...
[2 replies] Last: Oh I think I understand, you could only something similar to what I tr... (by heyyouyesyouiloveyou)
Error: Undefined Reference (1,2)
Alright, first off I am a beginner so try to go easy one me here. I am making practice programs a...
[21 replies] Last: loop it? (by TheBadCoder)
by JayZom
Unresolved External Symbol Error
I am writing a templated stack class for a programming class, and I cannot for the life of me get it...
[15 replies] Last: Well, I've read not so many books, like: - Addison Wesley's C++ Templa... (by EssGeEich)
by plp384
Using while loop, Help get the output to stay all on the same line
Based on the code I've written below, after debugging in vs 2010, It won't allow me to put the input...
[3 replies] Last: I don't believe that is possible with just standard cin, when you pres... (by Ganado)
by bigbzt
Help with a While loop.
Hey guys, a bit of a C++ beginner here, just need some help figuring out where to add a while loop t...
[7 replies] Last: Thanks for all the help, got the normal while loop to work, had the en... (by bigbzt)
Help Fast!! Exam tommorow...
See the Problem in this program is the logic..... The Question is to display all even numbers in a...
[4 replies] Last: cout<<"Thank you it works now ..."<<endl; cout<<"oh god 1 mistake in C... (by raheel1212)
malloc'd memory goes to NULL when control goes out of funtion's scope
I heard that malloc() allocates memory from the heap which doesn't go away until you free() the memo...
[1 reply] : Line 19: HashTable doesn't exist. You mean HashTable , right? Al... (by Duoas)
Error calling function
Hello please explain why my double get_average_score() doesn't return the desired value and instead ...
[4 replies] Last: got it thanks! (by Zenith1900)
Need Help with the code
What is the correct answer and why? int main() { float val = 100.0; ...
[4 replies] Last: BEcause after you divide val by 5 third time result will be less than ... (by MiiNiPaa)
Pages: 1... 8990919293... 121
  Archived months: [aug2014]

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