Beginners - September 2010 (Page 12)

How do I make multiple random number generators?
 
So I've decided to make my first game, but already I've hit a problem. The code I want to impliment gives the player and the AI a number between 1-1000 each ...
[11 replies] Last: That's basically the idea. random number generators are basically j... (by Disch)
by Mazd
Find prime number
 
Hi,i need to write program to print prime number between 1-20,please give me outline :)
[18 replies] Last: I have a similar problem with my program but i need it to list the div... (by geko)
Hello, I've a question
 
I'm 12 years old and i'm still new, i wanted to make games for Computers, i've mastered Warcraft III GUI encoding and a lil' bit of JASS, i'm bored of Warcraft ...
[5 replies] Last: is there any program specialized in C++? If you simply mean somet... (by MottMan)
by geko
problems with loop program to work with intergers
 
prompted to input a positive integer N.and than For every natural number M that is less than or equal to N, its sapose to Generate a list of all divisors of M,...
[no replies]
Managing an array using typedef
 
For a programming project I need to have an array of an object (declared using typedef) with various functions for adding, removing, and iterating through it. ...
[1 reply] : #include <stdexcept> ... else throw std::out_of_range( ... (by Duthomhas)
Question about displaying content in a 2D array of pointers
 
I'm kinda stuck and hope this is something obvious. I'm making a simple Stratego game. Right now, I'm working on a function that displays the grid. The grid is ...
[3 replies] Last: Wow I never thought of calling a function within the nested loops. ... (by Disch)
OpenCV: WinXP vs Linux
 
What are the advantages and disadvantages of developing OpenCV applications in Linux vs Windows? Linux solutions would be distributed for Linux systems. The ...
[1 reply] : What are the advantages and disadvantages of developing OpenCV applic... (by hamsterman)
My program appears like this..instead of that..
 
Well my program appeared like this.. Hello blah blah!blah blah blah i wanted it to go like Hello BLah blaH! Bblah blah blablabla must it go >>>...
[2 replies] Last: cout << "Hello BLah blaH!" << endl; cout << "Bblah blah blabla... (by daveD)
My first program just exits?
 
I successfully created a math program!Learned it in my golden 30 minutes :D So the problem is when i compile it, it just exits by it self, i do see words, is ...
[4 replies] Last: thanks, you're quiet but helpful :) (by Arisaitou)
User Assigned Array/Function
 
I am tweaking an assignment from school. I am not asking for someone to do my homework, just if what I want to do is possible . In the original assignment, t...
[6 replies] Last: Indeed, I made a typo. Desh is correct. (by Zhuge)
by pauyon
Entering 5 names into a 2D Array
 
Hello everyone, I need to make a 2D Array that can hold 5 student names (including last names) that is imputed manually by the person when asked. Now I kind ...
[12 replies] Last: Ooh... I see now... thanks for the clarification! Looks like they aren... (by pauyon)
Newbie - Honest Questions (I think... Hahaha)
 
Hello there. I am sure I don't need to introduce myself since many of you check the username anyway. I have recently become very interested in programming (j...
[3 replies] Last: - What is the difference between C# and C++? Is it much of a differen... (by Athar)
i have big problem rand() (1,2)
 
hi my name is Elvis and i am building a program that it has to be submitted today and i cannot find the way yo finish it. the program is this:: 1. If all 3...
[22 replies] Last: Really? I thought the problem was because time() returns a time_t and ... (by Zhuge)
by juvan
ttmath UInt to string?
 
Hi all First of all I am using a c++ library ttmath, and I have a problem. I have a really big number declared like this: ttmath::UInt<20> big1; And ...
[13 replies] Last: Just do a few range tests and see what has a larger range than that. ... (by jsmith)
I'm thinking loop trouble any ideas
 
This programming I'm making should take in 2 student's names, student ids, and 5 grades. but when it gets to taking in grades it only takes in one, and at the e...
[4 replies] Last: As has been stated before, line 23 is going out of bounds on the area.... (by Zhuge)
by badass
encryption
 
I've got make a program in c++ to implement a cfb encryption algorithm with key generation,hash generation,decryption the works... i have no idea where to st...
[3 replies] Last: Pretty much all will have the same performance. C# will likely have t... (by PanGalactic)
by juvan
Dynamic mem alloc inside function
 
Hi all, How would it be possible (if at all) to dynamically allocate memory from a function and then use the data after the function has closed. For i.e.: ...
[6 replies] Last: what I get back in my string (in this case in sStr) is giberish No,... (by Athar)
What's wrong with my "Hello World" source code?
 
// testing123.cpp : Testing purposes #include "stdafx.h" #include <iostream> int main() { std::cout << "Hello world!" << std::endl; c...
[11 replies] Last: @L B - Thank you, your method worked. (by HitCode337)
More searching a text file questions
 
I am creating a program that will search a text file for a particular phrase. Immediately after that phrase will be a number that needs to be processed and ente...
[4 replies] Last: As a help, I'm searching a .gpx file, which is a text file for Garmin... (by tblake3)
Else if problems! Noob question!
 
I'm creating a simple program which asks the user to input their age, and it should give different outputs, depending on what the user has entered. // Age Tin...
[7 replies] Last: [quote=spaggy]The most straight forward and less error prone way is pr... (by Disch)
September 2010 Pages: 1... 1011121314... 32
  Archived months: [aug2010] [oct2010]

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