Beginners - November 2011 (Page 14)

by dr8086
Defining Environment Variables
 
Hello all I'm using Visual C++ 2010 Express on windows. I'm quite new to C++, and I'm writing a p...
[2 replies] Last: Thanks! That's all I needed (by dr8086)
Problem with includes
 
I have a simple program, but I can't get the classes to recognize each other. I have a Point class: ...
[4 replies] Last: Thanks, that was the trick! (by danelav)
QUESTION: Convert numbers to words
 
Create a program that prompts the user to enter a number (0-100000 only) then output the number in w...
[3 replies] Last: I see a basic problem in your logic... When you do "num%10" for the on... (by Caprico)
ctime/libraries/about the program
 
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main () { ...
[1 reply] : srand is a function that seeds the random number generator. Random n... (by Moschops)
fstream
 
I've read the article on here about it many times before, but I'm still confused about it. Can someo...
[4 replies] Last: .txt and .bin is just file extensions and doesn't tell what's in the f... (by Peter87)
Create a User loop
 
im new to the forum and this is my first class in computer science and need a counter for this progr...
[1 reply] : You already have a counter (namely counter)... What do you need then? ... (by Caprico)
SDL with Box2D
 
Hi everyone, I'm in the process of trying to use the Box2D physics engine with SDL for visualisation...
[no replies]
how do I tell if there is byres <4 (1,2)
 
Do I declare a variable and have it read in exactly four bytes from a file then process the data the...
[22 replies] Last: Thank you (by Onceler)
Illegal use of floating point error
 
Hi,below is a source code when i compile it compler gives the error "illegal use of floating point" ...
[1 reply] : while(gallons |= -1.0 ) That's a bitwise OR assignment operator. Yo... (by Gaminic)
HELP IN C PROGRAM URGENT
 
Hey Guys, Am a newbie in programming i have been assignment in school to write and print out the fo...
[3 replies] Last: 1) sqrt() need a prototype header file, viz. <math.h> 2) Put a check f... (by Caprico)
chips and salsa
 
Am I following this right? and can someone help me with the double array. I don't get them quite yet...
[6 replies] Last: I guess you're missing the array in which the names are stored... Let ... (by Caprico)
write a program to print the following pattern of numbers
 
write a program to print the following pattern of numbers 1 2 3 4 5 5 7 9 11 13 13 16 29 2...
[6 replies] Last: See, firstly, figure out the logic and algorithm. What is the relation... (by Caprico)
by dpan
Trouble with an access violation involving strings and rand()
 
Hi everyone, I'm getting an access violation with a program I'm writing to generate random sentences...
[4 replies] Last: You do know that your findlast() is a rework of the standard strlen() ... (by andywestken)
I do not see it
 
Whats wrong with this code it will allays run no matter what I put char Menu() { char ch; // st...
[7 replies] Last: thanks everyone for the time and help (by detroit)
by Hotice
Multiple problems...
 
For some reason, there are multiple problems with my program, that is supposed to print data from a ...
[11 replies] Last: Thanks a ton! Good timing too! (It's Thanksgiving, get it?) This actua... (by Hotice)
Skipping input? (1,2)
 
I posted this problem in another thread, but the thread had been marked as solved for some reason. I...
[37 replies] Last: Ehh, dont worry about it, I guess I probably should have paid more att... (by jp01cf01)
Problem with random number generator
 
Hello. I have a problem regarding a random number generator: #include <iostream> #include "time...
[4 replies] Last: I note also that you've made an array with 11 elements, but you only u... (by Moschops)
question about constructors
 
I am not sure what I am doing wrong but I can't get this constructor working. Can anyone look at it ...
[6 replies] Last: Peter, I feel like an idiot. The program works properly once I cre... (by rinnamorato)
Writing a simple calculator, trouble with the decimal
 
Hi, Im new to C++, Im trying to write a calculatop app. Im using MVC++ and using the windows form d...
[1 reply] : no bother i solved this one on my own wrote a container class for the... (by maxta85)
by Bluex
[Linker error] ?
 
Hey, i've been learning from a book called Beginning C++ Programming and i've just finished chapter ...
[2 replies] Last: That's why it's weird, because the computer AI needs to be able to edi... (by Bluex)
November 2011 Pages: 1... 1213141516... 65
  Archived months: [oct2011] [dec2011]

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