Beginners - March 2012 (Page 38)

by aryu
I am not sure how to do this..
 
Hi my question is when I run the program it is asking what the score was for a student and after each score it asks 'more?'and you have to type 'y' or 'n' to co...
[3 replies] Last: So I put my functions out of main but is it ok if I don't put anything... (by aryu)
error in calling a function
 
hello my program showing an error my printStudent(alpha); is not calling the function to print out the information. Can some help thanks //write a prog...
[6 replies] Last: so it be passed as printStudent(student myStudent) (by BLACKHULK)
ball wont load?
 
so i am making pong and my ball wont load and i cant figure out the reason. i got no errors or warning so i have got nothing to work with on this problem! also...
[13 replies] Last: haha i'm a bit lazy to...man been up for way to long must finish this ... (by programmeraie125)
by Tofisx
Adding a range limit for the numbers being used.
 
Hi, Im extremely new to programming and therefore am in need of assistance. What im trying to do is add a range limit to a if(argc == 3) although it already h...
[1 reply] : If data is submitted by command line arhuments, youcan't prevent the u... (by bartoli)
use of unsigned
 
Hiya, for the creation of a random number I came a cross the this function: ... srand ( (unsigned)time( NULL )); ... could anyone please explain ...
[4 replies] Last: And rand() never generates negative values . As from the documentatio... (by adesh)
Furthering my C++ learning
 
Im wondering what the advanced c++ users feel is the best way to learn C++. Of course repetition is first, but after that! What, in your opinion, is the best wa...
[5 replies] Last: Getting a Mentor works for some aswell. I learnd myself and made game... (by Tordin)
Arrays
 
Good Day!!! I am really wondering if we can reinitialize the array size during run time. and also, Please help about this test code. Why I am getting a...
[2 replies] Last: Thank you for everything adesh ....and also the link..it will help me... (by csaavedra)
c++ create a string during run time?
 
I need a way to create a string during runtime so that the user may fill it with any size hexadecimal using cin and then later I must convert it to decimal. ...
[3 replies] Last: I don't exactly know what u're trying to do, but I see you want to wo... (by Myrco)
The Annoying "else" function.
 
Hello all, Im new to programming, and I have been trying to compile a file that would add two separate numbers without the use of the user input, for example, ...
[6 replies] Last: Thankyou :) the usage of the garbage condition after the first if act... (by condemned)
by iamIT
My stopwatch program "recursion"
 
will you help me with my continue function...pls ;[ #include <iostream> #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <windows.h>...
[2 replies] Last: Hahaha... You're done... Is it from Ma'am Janice Abellana? >:) (by NoctiS17)
by BnL
Two .cpp and a header
 
First, what I have so far. Main.cpp #pragma once //if something is #included more than once, the extras are ignored. #include "Window.h" #include <...
[4 replies] Last: You include *.h files, not *.cpp files. #pragma once is a directive f... (by cire)
by hannah
Bull function?
 
Hello! I'm trying to make a bulls function! On average I would like it to hit the Bull 70% of the time and the other 30% (miss) between 1 to 20. As you can s...
[4 replies] Last: It's a... random number between 0 and 99. If you know that x percent ... (by cire)
by GFM97
What's the First Step?
 
Hi guys, New guy here, I'm very 'foggy headed' when it comes to coding and came here to learn more. I want to start C++ programing but am unsure where to be...
[1 reply] : Uh I don't know anything about programming on a Mac, but all you need ... (by ResidentBiscuit)
white screen nothing happens and no errors?
 
coding a game of pong and all of a sudden my screen just goes white and i cant figure out why>.<!!!!!! vs2010 its not displaying any errors or warning so i can...
[no replies]
encrypt and decrypt a string
 
looking for C++ source to solve the above problem for an assignment
[7 replies] Last: [quote=iHutch105]ModShop, you missed out the #include<sarcasm> header ... (by ModShop)
by krityx
Overloading == operator
 
Inside my class I have defined the == operator as a friend : friend bool operator==(rational a, rational b); bool operator==(rational a, rational b) { ...
[2 replies] Last: Thanks. (by krityx)
Please help me
 
I am a little new to this programming stuff, so take it easy on me. I am trying to learn simple arrays, and functions so i made a dumb program up that is like...
[3 replies] Last: for (int j = 0; j > 0; j++) the loop in main never executes.... (by AARGH)
is it about sorting?
 
Hello, I need your help, Ive got a function and I consider it as a sort function but I am not sure about the type of sort and the complexity. Moreover I canno...
[4 replies] Last: thanks guys :) (by newer69)
by skwh
Not Dividing By 1
 
So I watched a video on Pi's infinite series, given that today is Pi day (here in the US). Trying to make some sort of ridiculous program that badly estimates...
[2 replies] Last: Your starting the loop at 3 and counting by 2 while less then 10. 3 5 ... (by naraku9333)
Doing calculations with functions
 
This is my assignment: Problem - Write a program that asks for the user’s height, weight, and age, and then computes clothing sizes according to the formul...
[no replies]
March 2012 Pages: 1... 3637383940... 71
  Archived months: [feb2012] [apr2012]

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