Beginners - November 2011 (Page 25)

do-while statement
 
I am new to c++ and am in my first class..we are currently working on the do-while statement and i a...
[3 replies] Last: This compiles and works correctly, but it would be better if line 18 d... (by velcro)
refrence in c++
 
#include<stdio.h> #include<conio.h> int main(void) { clrscr(); int x=100; int&y=x; ...
[7 replies] Last: thanx for the reply everone my doubt is cleared.......... (by JAI SINGH)
C and C System
 
what is main diff b/t C and C system.......plz clarify the ans
[6 replies] Last: Oh, I see. The text is talking about development tools (a system for w... (by helios)
pointer arithmetic
 
am I doing this right, or am I missing something here, lol. #include <iostream> int main() {...
[2 replies] Last: you are not missing any thing just go ahead............ (by JAI SINGH)
Cin as a parameter?
 
Hello, my professor wants us to use cin and infile as parameters depending on the program arguments....
[1 reply] : As far as I know cin is used for getting input from the keyboard, and ... (by velcro)
arrays
 
const int = 4; int oldValues = {10, 100, 200, 300}; int newValues ; newValues=oldValues // ik...
[1 reply] : Array name without s is a constant pointer to that array. You can't c... (by hamsterman)
by jlake
blacjack program using functions
 
im new to c++ and having trouble writing a program using functions to score a blackjack hand. this i...
[no replies]
[help]stacks
 
i'm working on a problem with stacks, that's supposed to keep track of incoming and outgoing cars of...
[no replies]
How to read the number of lines from a text file?
 
For example, A file have lots of lines and each lines resemble one "record". So u choose this optio...
[2 replies] Last: A line count.. After it reads into the text-file. On the menu, it shou... (by Tampopo)
Can someone explain the purpose of header guards?
 
Hello I have just learnt the purpose of a header file, but don't understand why they need a heade...
[3 replies] Last: Thanks, both those answers have been very helpful! (by ratman3141)
Functions - Examples
 
Hey guys, i don't know anything yet about functions and "passing arguments/parameters" ....but it wo...
[1 reply] : 1) Functions with no return value and without passing arguments/parame... (by Dstrayex)
by moot1
Use of functions
 
I really haven't found a use of multiple function yet, so can you please post a very simple program ...
[3 replies] Last: another reason to use them is that they can help keep your program mo... (by Dstrayex)
Help with try catch block
 
I wrote a small program but I am having problems getting my try catch block to work. Any help would ...
[16 replies] Last: Thanks for the advice. I added the "Return 0;" to main(). I change... (by rinnamorato)
studioh?
 
Whats a good studio free for c++,java,lua,and C because i would like to make a game with a mix of th...
[no replies]
Qt Push Button
 
I have a question about my code in a push button. I wrote a simple app that users click check boxes ...
[3 replies] Last: ui is the form class I think. You were right though it was in the cond... (by InterFiction)
Meaning of ampersand in value returned by a function
 
Hello everyone, I'm learning C++ for the first time. As far as I understood using that syntax: "int&...
[no replies]
Trying to access a member variable before its defined?
 
Ok, so I have a code in which there are 2 separate classes, that have two similar functions that rea...
[4 replies] Last: Oh hey, I got it to work! :D I put the definition of the function that... (by jp01cf01)
by moot1
Favorite program
 
Everyone post their favorite program they made. It can be the source code or the actual program. The...
[8 replies] Last: stupebrett,chect your private messages (by moot1)
Where do I begin?
 
Hello forumer, Firstly, I suppose I should introduce myself, I am Gol, and well, I'd li...
[3 replies] Last: Wow, thank you for the speedy replies! I will check out these resource... (by Golgotha1995)
how do a make a program calculate a test grade
 
how do I make this program calculate the grade average on this fake test I made? here is the test i...
[2 replies] Last: Well you could give each question an integer value and each loop decre... (by wolfgang)
November 2011 Pages: 1... 2324252627... 65
  Archived months: [oct2011] [dec2011]

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