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)
DUPLICATE ARRAYS
 
I need to write a program that lets the user input 20 numbers from 1 to 100, the values must be stor...
[1 reply] : You used a cin inside a loop to fill up the array. Printing of the arr... (by Arslan7041)
by ztse89
Help me with assignments
 
I have couple of assignments due within 12 hours. If anyone can do it, I will pay them. It is a ...
[no replies]
Balancing
 
Task: Balancing There are some number (C) of containers each of which can contain 0, 1, or 2 ...
[no replies]
new program
 
is this a good program? i just wrote it for the super lottos plus #include <stdio.h> #include <st...
[2 replies] Last: yea i need a nifty c program to do sorting something better than si... (by programmerperson1)
When I run a compiled program with more than one commandline argument, the program returns nothing
 
When I run anything with just one argument, like ./a -a, or ./a asdfsa, the program runs normally. ...
[5 replies] Last: > There is more to my code, but I can't see any reason why it would af... (by JLBorges)
by Marth
Question about pointers and references
 
in the pointers tutorial on this site, pointers are shown being linked to references; in alot of ...
[4 replies] Last: > why all this subterfuge when referring to a value? why is it necessa... (by JLBorges)
Iterators
 
Hi sorry If I'm been asking a lot of questions today I'm trying to get a lot covered haha One thing...
[12 replies] Last: You may want to read this tutorial: https://cal-linux.com/tutorials/ST... (by JLBorges)
Where is the function definition of system headers?
 
When we write a C or C++ code, it is very common we include system headers at the beginning, such as...
[5 replies] Last: > if in my codes I have used the library in /usr/lib, for example : li... (by JLBorges)
std::regex_replace specify replace sequence?
 
I'm just learned the basics of Regular Expressions a few days ago, so please forgive me if I make so...
[2 replies] Last: Thanks! (by Tyler T)
Compression using cabinet.dll library ?
 
Can i Compress file zip file using cabinet.dll libraries APIes (Compressors API) ? And is it inter...
[1 reply] : https://msdn.microsoft.com/en-us/library/ff797921(v=vs.85).aspx i've ... (by Marth)
Perfect number calculator, how to increase speed
 
Hello everyone, i have a program which calculates and finds perfect numbers. I want to make it faste...
[4 replies] Last: By the way, the reason your program is so slow is that it does two thi... (by Duoas)
by sengab
updating struct size while keeping old data
 
Hey guys, I have a problem and I would like to know how to solve it. I am having a struct where the...
[6 replies] Last: Thanks very much (by sengab)
by Zorac
how to check if cin command from console worked (linux)
 
Hello! I have a program and that needs to read from a cin command in the terminal in linux. What i...
[3 replies] Last: Oh okay, never thought of doing it like that. Is it possible to do so... (by Zorac)
by pabs8
Program not behaving as expected.
 
Hi guys, I am working on an exercise whereby after reading in sequence of values, I need to print ...
[2 replies] Last: Thanks, although I've had already thought about this issue; I need to ... (by pabs8)
by Reiv63
Help with unrecognized input
 
This is a function call for my Wheel of Fortune game. And I'm getting a hard time pinpointing where ...
[3 replies] Last: thank you for the heads up, i'll try another method and remove getlin... (by jlb)
by evy
need help with my compiler issue
 
Write your question here. enum Suit { clubs, diamonds, hearts, spades }; const int jack = 1...
[2 replies] Last: tnx alot ! finnaly discover this issue (by evy)
what is the difference between the output of online ide and output of eclipse and visual studio ?
 
I am new on c++, Please see this screen shot for what I get from ideone.com http://s33.postimg.o...
[4 replies] Last: Thank you guys that was very helpful.. (by Mikenuaimi)
by rezan
Calander Help
 
Hello, I can't seem to fix this part of the program. I am trying to fix it so that when the output c...
[1 reply] : @rezan I see you just copied the program from http://www.cplusplus.c... (by whitenite1)
Pages: 123... 72
  Archived months: [mar2016]