Beginners (Page 83)

Help with Plinko please
 
This code is from my main function. In a nutshell, I want the function multchip_slot to evaluate for...
[2 replies] Last: Thanks so much! Great answer. (by Stephenpoole4)
by enemy
Constant pointer life time
 
hello! please if we have a constant pointer like: int a=1; int b=2; int c=3; int* const ...
[2 replies] Last: THANKS!!! (by enemy)
How to get vector pair in numerical order (lowest # first)
 
so let say my infile looks like this 3212 rrrr 11 wrwn 233 mtgn 1561 fffse 3166 whbeh Ho...
[5 replies] Last: How to use tags: http://www.cplusplus.com/articles/jEywvCM9/ (by keskiverto)
Newbie c++: find and save the max, min Index of vector
 
Dear Experts, I am a regular Matlab User and just switched to Cpp for a small project, thing are q...
[4 replies] Last: That code requires C++11. Either compile with -std=c++0x Or try this... (by JLBorges)
How to write this program in a file?
 
How to write this program in a file. And i need to add 10 more case but i am out of ideas it's not n...
[no replies]
by dcradu
OOP issue
 
I have the next classes: Engine, ElectricMotor, IgnitionSystem1, IgnitionSystem2; the ignitionSyste...
[no replies]
Number Guessing Game
 
I'm trying to write a number guessing game but for some reason, it will not continue to ask you to w...
[1 reply] : It will only loop through because that is exactly what you tell it to ... (by CodeGazer)
How to terminate a program when the time is up in a quiz program
 
Hi guys! I'm a beginner at C++ and I want to make a quiz program that is timed. I want that when th...
[6 replies] Last: SFML has a nice thread component to their library as well: http://www.... (by Computergeek01)
Explain please
 
Please explain Give the output of the following program 2 #include<iostream> int global = 10; vo...
[9 replies] Last: [quote=Suma Menon]so i need to know the meaning of each code. If you... (by Catfish666)
How can I know the end of line of a text file?
 
I have a text file "RPN.txt". 2 3 4 + * 7 4 3 + - 2 + 12 46 + 23 - 1 5 + 8 4 1 - - * 6 3 - 5 * 9 + ...
[8 replies] Last: Thanks all! Finally I have used the getline . (by Nikko YL)
How to split a string in C++?
 
What's the most elegant way to split a string in C++? The string can be assumed to be composed of wo...
[1 reply] : Interestingly this question was asked in verbatim before (spoiler aler... (by Catfish666)
classes
 
can some on link me to a page that shows all the classes(maybe not what its called)and all of its fu...
[1 reply] : See the 'Reference' page on the sidebar of this site? That is exactly ... (by NT3)
Dev C++ compilation error
 
Hi! I am new to dev c++.The program works good for the first time.Whenever I try to modify the code...
[9 replies] Last: Another thing to test: Is your disk write protected for some reason? I... (by NT3)
How to calculate a % of a number!
 
Hi Guys, I just started´my class this week and I have a simple question! What is the code fo...
[7 replies] Last: You're welcome! Glad it worked :) (by MikeyBoy)
Enums in C++/CLI
 
Hi, I have been attempting to learn visual c++ recently. The book that I'm reading showed an example...
[2 replies] Last: Opps sorry I forgot to write that. I'm using Visual Studio 2013(The bo... (by wiireless)
Please explain this... for my exams
 
Please explain this to me. this is for my exams. class Metro { int Mno, Tripno,passengercount;...
[4 replies] Last: Have you tried stepping through it with your debugger and look at vari... (by mutexe)
help with taking sum of values within anarrays
 
Hi i have this assignment about making a program that urges the user to input the number of values t...
[1 reply] : Line 8: Support for VLA is not in standard yet. When the compiler com... (by keskiverto)
Bytes
 
Questions is How many bytes will be required by an object belonging to class AUTHOR? and how this is...
[3 replies] Last: On my machine sizeof(AUTHOR) is 80, not 70. It depends on compiler a... (by MiiNiPaa)
Passing String Array Problem
 
Just want to say thanks ahead of time first and foremost. I am trying to pass make and model by re...
[1 reply] : Just something to point out: What is with line 37? Also, you don't app... (by NT3)
Operator overloading with fractions
 
I'm sort of lost on how to write code that allows for the multiplication, subtraction, and division ...
[1 reply] : Say you have a class fractions. Simply add in operator calls for eac... (by NT3)
Pages: 1... 8182838485... 123
  Archived months: [feb2014]

Cannot post in this page. To post a new message, go to the first page.