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)
Cheap Kitchens For Sale Stockport
 
Cheap Kitchens For Sale Stockport Go to w-w-w-.-ch-e-a-p-k-i-t-c-h-e-n-s---u-k-.-co-.-u-k-
[no replies]
cin pairs into an array
 
Would like to read in pairs of follows and add them per value: The program runs, but doesn't add an...
[9 replies] Last: The code here looks incorrect: for (i = 0; array <AMAX ; i++) { ... (by Chervil)
variable declaration
 
Trying to understand a part of this code: char t , *p = (char *)t;// this l...
[1 reply] : There are two declarations on that line. The first is a 2-D array or... (by Chervil)
infinite loop stops cout (maybe)
 
I think this program is stuck in an infinite loop however i can't find where because when i try putt...
[6 replies] Last: I found the segmentation fault was caused by the incrementing function... (by rngProject)
Data Structure
 
Any Good Book or site for learning data structure
[2 replies] Last: Cormen, Lieserson, Rivest, and Stein's Introduction to Algorithms . ... (by mbozzi)
function that reads string, converts it to int array, flips number in array.
 
Hello I am trying to get a program going where I just need about three functions in order to compl...
[no replies]
LINK2019 problem
 
I'm taking my second programming class and I tried to test an exercise our Professor gave us. I type...
[2 replies] Last: Thank you!! Can't believe I missed that! It should work now! Thanks! (by soleilquiles1)
Search function in c++?
 
Hello, today i come to you all in need of guidence! I've googled and seen some stuff but it all kind...
[1 reply] : You can try the find() member function of std::string: #include <ios... (by gunnerfunner)
by CooloN
Im new to coding , See the reply below
 
Given task. Write a program that will produce the output as figure below #include<iostream> usin...
[10 replies] Last: Hello CooloN, As the comment said, include the header files "chrono" ... (by Handy Andy)
by SVcpp
C related question
 
Hello, I'm trying to understand some code dealing with low-level I/O. I'm unfamiliar of a good f...
[3 replies] Last: I'm unfamiliar of a good forum for C related questions, but if you h... (by gunnerfunner)
Dungeon Program With Questions (1,2)
 
Hi all, was wondering if someone would critique my code? Questions: Is there a way to combine ...
[23 replies] Last: Solved. Getchar in moveplayer function was grabbing new line so i was ... (by MistahMoose)
function help
 
Im just started learning function coding. Complete the print_total() function below. void_pri...
[13 replies] Last: @bird1234 oh yea.. my mistake. Thanks for pointing out! :D @Chervil Th... (by DesmondLee)
Search/Delete/Validate in strings
 
Good day dear sirs and ladies, for my university homework i have to write a code which checks certa...
[9 replies] Last: I also disliked the idea of the functions doing more than what is nece... (by jlb)
Defining a 2D array in a separate file
 
Hi, I am writing a code which uses five fairly large 2D arrays of chars. Since they are pretty larg...
[3 replies] Last: Assuming that there is no other access to (initialised) elements of th... (by JLBorges)
by NateE
Calculate Area of Circle, Square, Rectangle Using Headers Files
 
I added the shape Rectangle to my code that was previously working correctly. Now I am receiving err...
[4 replies] Last: Here is the lesson instructions: Add a new Shape base class to the a... (by NateE)
Need help input is wrong
 
I am writing a program where a user enters from a menu and picks how they want to search from the f...
[3 replies] Last: Thank you andy1992 for the advise, I made a few changes from the progr... (by rezy3312)
by tofi
file seach mixing numbers before and after the match is found
 
Hi In my previos post I have asked about how to search for number form one file into another , th...
[no replies]
array as parameters
 
Hi guys the code I wrote does not do what I thought it would do,I was expecting printRay to print no...
[1 reply] : Simplified explanation to follow: Fixed sized arrays decay to a point... (by FurryGuy)
Pages: 123... 41
  Archived months: [nov2016]