Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duoas)
(5+6%4) (1,2,3,4)
 
I think the value of the above expression should be 6.5, but apparently this isn't correct. Can some...
[62 replies] Last: I am tired of this. Just some test: #include <stdio.h> struct foo { ... (by MiiNiPaa)
quick question!
 
Stupid question I'm sure, took a break from my learning of c++ to focus on a few other CS relates su...
[1 reply] : Line 24 introduces a single Teams object. Both the function and lines... (by keskiverto)
Linked Lists question
 
Hello everyone, Could you please help with the code below?: - First, I Wonder if I badly man...
[no replies]
Calling function
 
I just don't know how I would set the parameters in the main function to call this. Just the last on...
[3 replies] Last: output is just the name of the variable inside the function. for calli... (by Darkmaster)
Helps please
 
could somebody write me the code for this i need it .. n n S=∑ i/(i+1)² ...
[1 reply] : Use a loop. (by keskiverto)
local variable problem
 
Hi i'm making a program that takes the average of 5 judges and drops the highest and lowest to give ...
[11 replies] Last: post your code as it is now so I can look it over. (by Esslercuffi)
x^=2;
 
What would the value of x be at the end of this snippet? int x = 12; x ^= 2; And how did...
[4 replies] Last: Thank you @Stewbond! @mutexe I was just looking for a clear explanati... (by dunnDolphin)
I fail to understand cin while looping. (Total noob)
 
I'm a beginner programmer. I'm having trouble understanding why my code won't execute correctly. The...
[3 replies] Last: I'm attempting to understand that link, without success so far... but ... (by seriphim)
Can't seem to understand fork & exec
 
Hello I think that fork & exec is something really useful, but I just can't seem to understand it...
[3 replies] Last: Neither 'fork' nor 'exec' are valid commands in the cmd.exe shell, COM... (by Computergeek01)
by gmac
Write a program to generate the entire calendar for one year. The program must get two values from the user
 
Write a program to generate the entire calendar for one year. The program must get two values from ...
[9 replies] Last: This is what I have now....................... #include <iostream> u... (by gmac)
Tic Tac Toe: Build Error
 
My program isn't running. can someone please help me find whats wrong and how to fix it? thank you ...
[2 replies] Last: ok I fixed the errors pointed out. The tic Tac toe game is still actin... (by japperx)
Problem with std::find
 
This is the error message I get when I execute the code below Testing.cpp: In function ‘int ma...
[2 replies] Last: Oh thanks m8 (by Fr0zen1)
Recursive character counting
 
I've been having all kinds of trouble figuring out how to count a specific character through a recur...
[7 replies] Last: Ahhhh thank you dhayden, I forgot to call the function again if it act... (by eladage)
auto generate book id in a library dbms
 
How can i create the book id on the basis of the initial of the book name, book author, year of publ...
[no replies]
Fisher-Yates Shuffle?
 
Well, first off, this is homework for a c++ course. I just can't figure out how to get this fisher-y...
[5 replies] Last: Ah, so I was just missing the ampersand? Tried speaking to the teache... (by netodude)
Won't allow me to return to menu
 
It just continually says to put in a new number. How do I fix? void add_values () { cou...
[3 replies] Last: though the && makes it skip i=0 and go straight to i=1 (by Magnes34)
by sunOsk
Random Int problem, need help!
 
I am "coding" a rock paper scissor game (in Swedish because my c++ school book is in Swedish) The bo...
[4 replies] Last: Thanks! It's working now. (by sunOsk)
by clodi
#INF ..what is happening is rather bizarre
 
I am writing a piece of code that outputs a list of DOUBLE numbers on screen. I basically have 2 qu...
[3 replies] Last: why does the total start tripping as soon as the time step does? Wel... (by MiiNiPaa)
Pages: 123... 97
  Archived months: [aug2014]