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)
by Phaxen
Generating random integers, calculate the square root, calculate the average
 
Write a program that will do the following steps: - generate 2 random integer numbers between 0 and...
[6 replies] Last: rand() creates a random number between 0 and some big value named RAND... (by dhayden)
[VC++] Program does not take variables from other class
 
I just followed TheNewBoston's tutorials and made another class and header, but when I include heade...
[no replies]
Can someone explain why I get this number?
 
Running my code I get a number close to -8 million or so.. I'm sure it's not supposed to be that sma...
[5 replies] Last: Congratulations! Now you might want to make the code even better by h... (by dhayden)
code crashes at run time but compiling fine
 
ok so this code crashes when i run, but it compiles fine..can anyone look throught and tell me why? ...
[1 reply] : int num = *pt3; dereferencing a garbage pointer. You shouldn't be d... (by mutexe)
strings and ints
 
if I have a string like "toenuts" and I had have "t" an integer and made it equal 2, then how can i ...
[no replies]
error LNK2018: unresolved external symbol (referring to constructors)
 
This is the first time I have used classes in C++. This program is fairly simple, I am to create a S...
[3 replies] Last: Hi, It might help a little, if I mention to name the header & .cpp f... (by TheIdeasMan)
How can I make this code 2 dimentional array?
 
Hi all, The code below calculates the dx/dt=u equation by euler method. This calculates the u for t...
[no replies]
How to I loop back to my main menu with my switch statements?
 
Bear with me, I'm still pretty new to C++... So my dilemma is that I have a menu for 2 games, bot...
[3 replies] Last: Since you're still new, you could try cascaded/nested loops of for or ... (by rjvc)
by savanh
please your help
 
hey every one, i have a qestion and i have just one day to answer it ,so i really need your help fri...
[4 replies] Last: I know duoas but i really did my best with it but it dose not run with... (by savanh)
by rinzu
Make a program Using if-ealse Statement
 
Hi.Can you please help me make a program out of the problem.It's our homework but I'm still new on i...
[4 replies] Last: Even this: #include<stdio.h> is 'incorrect'. Read those links. I a... (by mutexe)
Help With Function
 
I need to come up with a function for this. What was given , 0<=start<end . void print(in...
[no replies]
Self taught, wondering why this isn't working
 
In school, we were given an assignment to write an essay in an interesting way, so I decided to prog...
[2 replies] Last: You build up some encoding in icontainer, then append it to RSAresult.... (by kbw)
Linked List
 
I have been given an assignment to add to an already given program. I have been told to add the foll...
[1 reply] : I have been adding to the program but I come up with errors. A couple... (by kbw)
bubble sort help!
 
I need help sorting an array from an input file. After reading the scores into the array from the fi...
[no replies]
by BB2921
Extracting numbers from .txt file into array.
 
I figured out how to place the file, but whenever I try to extract the txt file and put it into an a...
[7 replies] Last: Awesome thanks, I'm just an idiot and didn't have matching files.txt w... (by BB2921)
problem please
 
Write your question here. #include<iostream> using namespace std; int recursion(int x); int...
[5 replies] Last: thanks for helping guys (by theposibility)
Development & outsourcing application for smartphone, tablet, ios, blackberry ,windows phone
 
Development & outsourcing application for smartphone, tablet, ios, blackberry,windows phone Why V...
[2 replies] Last: ^^LOL (by Cody0023)
svaing my information to .dat file
 
i have wrote my code which ask for weight and height but every time i enter my information which wil...
[1 reply] : Input/output with files: http://www.cplusplus.com/doc/tutorial/files/ (by anup30)
Pages: 123... 121
  Archived months: [aug2014]