Beginners - October 2013 (Page 76)

confused with classes
 
It's a simple program what calculates area from given numbers. I'm not sure why "&" in this part isn't necessary. void get (int b, int c) and int cal...
[6 replies] Last: area() is a constructor, so you're creating a new instance of your are... (by GRex2595)
Help with looping
 
I need to ensure that h, d, and t aren't input negative (that part works) and that t is no greater that half the lesser of h and d. If I input a t value larger ...
[5 replies] Last: Sometimes the program just does what it wants. (by GRex2595)
Able to add to array beyond size?
 
I'm noticing that I'm able to add to an array beyond the initialized size...I think I'm missing something. I'm initializing an array of size 1...but it's lettin...
[3 replies] Last: This is allowed. However, by writing into memory that the OS hasn't al... (by Josue Molina)
Error: expression must have integral or unscoped enum type
 
I don't even know what this error means. Error: expression must have integral or unscoped enum type. It show's up on line 18. This is connected to another cpp f...
[2 replies] Last: thank you (by ccwtree11)
Need help!!
 
I need to find the maximum and minimum values of an array usings function with there prototypes and i dont whats the deal. #include<iostream> #include<i...
[4 replies] Last: I wrote this program for a girl yesterday! have some extra functions ... (by eyenrique)
Experiencing Function Call problems for output
 
I am trying to get a program that counts the number of lowercase vowels in a string and outputs the number of each vowel individually. So far, my code is a c...
[1 reply] : In your vowelFunct(), you are not moving over each character. You wil... (by kooth)
Counting Uppercase in a string giving wrong output
 
So this is a exercise for basic intro into programming. It involves a while loop. User is to input a string of upper or lower, and output will count the Upperca...
[2 replies] Last: Oh my gosh...it was that easy... *sigh* Thanks L B. Sometimes it tak... (by CFalkirk)
Help On Graphics
 
plz some body tell me how to make a button like thing on c++. I mean something with the shape of an elongated ellipse. Also it would be a great help if u could ...
[8 replies] Last: Thanks! (by codder101)
Witting Hex to a Text File
 
Hello Guys . Can any one help me to port this python code to C? buff = "\x41"*300 exp = buff file=open("file.txt","w") file.write(exp) file.close() ...
[4 replies] Last: @Chervil Thank you very much! Appreciate you a lot! I learnt something... (by Omega11)
is not recognized as an internal or external command, operable program or batch file
 
I just got a new computer running windows 8, and I am using Microsoft Visual C++ 2010 Express. I am trying to finish a homework problem, so that I can fix any e...
[2 replies] Last: ok, i looked online for what do but it was very confusing. does anyone... (by dkarayof)
Need Help
 
I have an infinite loop going on but I cant think of what or how to get out of it. I am trying to have the program take integers and add them up until the sum i...
[3 replies] Last: The loop is infinite because when the sum is greater than 35, you outp... (by jaded7)
C++ Questions
 
Hello . I'm new with programming and I'm been studying for a week or maybe more the C++ Programming Language. I really like it but I have some questions about i...
[11 replies] Last: Have you tried Google yet? I find that if I don't know the answer to ... (by GRex2595)
by pupu
how the user enter a value ? (1,2)
 
so, thats my question, I know the code for that ? Whta the user needs to press to enter a value ? With "enter" key, c++ windows closes, in case I am not doing ...
[20 replies] Last: > forgive the attempt to store a string as an int? There is no attemp... (by JLBorges)
Alphabet from the middle, out.
 
I have it so my program prints out the alphabet, but i need it so the "A" is in the middle of the shape and it branches out. What change do I need to make so th...
[5 replies] Last: Try using this for(int k = amount_letters / 2 - 1; k >= 0; --k) ... (by GRex2595)
How to cin??
 
My cin for "quantity" is not working Help? // This Program is for Homework #5, Frederick A. Bowser // Define named constants; line, item prices, etc. #...
[2 replies] Last: In the future, if you have a thread posted to ask for help on a progra... (by GRex2595)
Vector of vectors
 
Hi! i have a question. I have a lot of data in a 2d array and want to know the most efficient way to save it. It mainly has numbers of long long. Is vector o...
[4 replies] Last: ¿string? data ["answer"] = 42; http://www.boost.org/doc/libs/1_52_... (by ne555)
if else with a switch
 
Can anyone please tell me ho to use if/else with a switch to make menus?? // This Program is for Homework #5, Frederick A. Bowser // Define named constants; ...
[5 replies] Last: You have some issues with what your code does. // This Program is f... (by GRex2595)
need help for this 3 problems.
 
PLease help me toget this code....huhuhuhu...Iam a BSBA student but my teacher i dont know if he was sick that he gave me this project c++ i dont know how to co...
[1 reply] : Can you please show us where exactly you're facing difficulty in solvi... (by The illusionist mirage)
Calculator Program with Classes, Switch or If's ?
 
Hey guys im making a Calculator that returns Rectangles, Triangles or Circles Area. the thing is that i already set up everything but I need to do something to ...
[2 replies] Last: Thank you so much :) ill try it! have a nice day (by segurivirix)
using STL
 
Hello I have am a beginner to c++ i do have some experience in c# so pls be patient guys.... I need to create list/vector of objects or any other some kind ...
[3 replies] Last: Thanks cire your articles did helped me! (by iliya24)
October 2013 Pages: 1... 7475767778... 86
  Archived months: [sep2013] [nov2013]

This is an archived page. To post a new message, go to the current page.