Beginners - May 2014 (Page 21)

Simple speed reading program
 
Hi everybody. I had another little quandry that I would like to get a little assistance with if possible. I'd like to design a simple speed-reading drill pro...
[6 replies] Last: I found out that 1 second is too little for that programm: on 5 words ... (by MiiNiPaa)
Finding a max and min numbers with user input
 
Hello everyone. I am working on a block of codes that will get the test scores from the user and it will calculate the average of the classroom,and output minim...
[2 replies] Last: Thanks James2250. That was very helpful (by jellybean)
radix sort using queues
 
My program takes an unsorted array and then sorts in using radix sort. the radix sort uses an array of queues, one per possible digit and then runs through each...
[9 replies] Last: i was running it on an IDE but just ran it on cygwin and it worked, th... (by pepstein)
PROBLEM WITH STRUCT FUNCTION
 
Write your question here. Why is my program stuck at line 59? /* * Chapter 11 Problem 3 * * Create an address book problem that builds on problem 1 - ...
[2 replies] Last: You welcome. (by BLooDiEMuRDA)
Dev C++ using namespace.std issues
 
Hi. I'm running myself through Bucky's C++ tutorials and have hit a bit of a snag. One of the tutorials explained that if I include using namespace.std right un...
[11 replies] Last: Instead of making them static: http://www.cprogramming.com/tutorial/... (by TheIdeasMan)
Display of Octal numbers
 
Hi I am having problem in understanding of displaying octal numbers.Following is my code. #include<stdio.h> int main(int argc,char *argv ) { int o...
[3 replies] Last: thanks cronopio and Chervil.your replies are really helpful.:) (by rohithc)
Not sure if rand() working properly
 
I have a simple program to generate some random dice rolls. There is also a child class called LoadedDice that has a 50% chance to return the max value. Everyth...
[4 replies] Last: Looks reasonable to me. You just have very small samples. If you're ... (by cire)
Explain this code
 
Can someone explain this code, I understand that it is a constructor function and that the value of int val is assigned to x but i dont understand the syntax in...
[2 replies] Last: Thanks I didn't know about the initializer list. (by nickmiller24)
HOW TO DO THIS
 
How do I get it to loop my array and randomize its sequence every time #include "stdafx.h" #include<iostream> #include<string> #include<ctime> usi...
[1 reply] : #include <iostream> #include <algorithm> #include <ctime> int main()... (by xismn)
Constructor not working?
 
I'm not sure what's going on, but whenever I try to run the program it stops after I quit the employee information entry and gives me a message telling me the p...
[6 replies] Last: Oh man. Thank you so much for that last sentence. I just clicked with ... (by sierranm)
by goku94
Error with vectors
 
I'm writing a simple peace of code using vector just to check it out and I already get an error I don't understand. #include <iostream> #include <vector> in...
[1 reply] : Go to your compiler options and look for a compiler flag that turns on... (by long double main)
2d array
 
Can someone explain how to find the sum of a 2d array or point me in the direction of a good tutorial? example: int grade ={99.4,56.7,23.4,67.8,100}
[1 reply] : I guess it depends what you want to add up. A 2d array is like a table... (by wildblue)
Reverse sentence error
 
Write your question here. Hi guys I am a newbie programmer (started like 7 months ago) and i need help with my program. It is sposed to reverse words like this...
[2 replies] Last: Thanks dumb error (by neel3123)
Using a deque for a stock program
 
Hey everyone, I'm working on an assignment where we are to use a deque to manage a "stock portfolio". Basically, commands are read in from a file where an o...
[6 replies] Last: "Normal way" depends on viewpoint. You would append to tail and pop f... (by keskiverto)
Error: An object is required for the non-static field, method or property
 
i know im doing something really stupid but this is my first attempt to it anyway. what does it mean when it says call a method by instance or make it static? ...
[1 reply] : private void canvas_Paint(object sender, PaintEventArgs e) { Grap... (by JockX)
a guessing game
 
I am a beginner and I am make a number guessing game I am stuck on the numbers from 1-12. Can you help me?? #include <iostream> using namespace std; in...
[3 replies] Last: but thanks!! (by Dexter 3202)
Where to go from the basics of C++
 
The title pretty much sums up my question. I know the basics of C++ and I want to learn as much as I possibly can as I want to make Game Development my Career. ...
[no replies]
replace letters in a string
 
i would like to replace the letters in a entered string with the provided binary code given in the header file. such as if i input "hi how is it going" it o...
[3 replies] Last: A primitive alternative: #include <iostream> using namespace std; stri... (by closed account j3Rz8vqX)
HELP PLZ
 
i begin to make a tic tac toe, but, every time i execute then crash what is wrong ? #include <windows.h> #include <iostream> #include <string> using...
[1 reply] : Your main function doesn't have a type. It should be of the type integ... (by Shadowwolf)
question about this function clrscr()
 
I went on a website called cppprojectcode.blogspot.com. I tried to look up the function clrscr(). Does this function exist in C++? I have part of the project ex...
[3 replies] Last: @ Chervil Oh yes, I remember it being in Borland C++ (or Turbo C I ... (by Codermik)
May 2014 Pages: 1... 1920212223... 55
  Archived months: [apr2014] [jun2014]

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