Beginners - January 2011 (Page 33)

I want to make things generate more frequently
 
I have built a simple flashcard like console program to help me study. What I would like to do with...
[1 reply] : You could add a "primary" random number generator that will have a pro... (by Albatross)
by plams
Access violation
 
Hello, I have started using environment mapping in OpenGL. But this kind of error occurs: Unhand...
[no replies]
References and Multidimensional arrays
 
Is is possible to make only a portion of a multidimensional array constant references and use the re...
[7 replies] Last: I hope, I've got the point. The code I've proposed maps three success... (by lionishy)
by ogward
Selection sort with names
 
Hi there! I'm studying for my programming exam and I'm now stuck with my selection sort. I hav...
[7 replies] Last: I don't see anything wrong with those. You compare the strings but swa... (by hamsterman)
Writing a 2D class wrapped as a 1D array
 
I'm trying to make a 2D array class so I can deal with them more easily, by creating a dynamically a...
[3 replies] Last: @ PiMaster Oops, I should a reference there. Thanks! So in your examp... (by pabloist)
by yts
vector
 
#include <iostream> #include <string> #include <vector> using namespace std; class student ...
[10 replies] Last: kingdof, Wouldn't that ruin the purpose of doing the homework, whic... (by Albatross)
Pancake Glutton (I prefer waffles, myself)
 
ok, i need a little help on the pancake glutton exercise, i have posted the instructions for it in m...
[4 replies] Last: ok, thanks quirky, i will definitely keep that in mind. thanks again :... (by AceFace)
Pointers Question
 
This piece of code is supposed to run a function do_file on some text documents, and store the res...
[7 replies] Last: Allocating memory sounds dangerous: This will cause a segfault if you... (by lovefromussr)
Inline relation to stack
 
When I call an inline function (assuming it's properly compiled as inline), what is the behavior o...
[3 replies] Last: Well, the "local" pointer is still local, but the int you created with... (by Athar)
Array Passing Problem
 
Basically, I have a function that requires 2 parameters: 1) An index. 2) The array to access. ...
[2 replies] Last: Thanks Zhuge!. I changed the code and now it now works. #includ... (by closed account zb0S216C)
Declaring str
 
Thanks to your tutorials, I've been able to teach my self how to do a simple program that solves the...
[6 replies] Last: so how does this work, in this circumstance? The string streams are a ... (by personak)
by chenco
can u see the prob
 
#define STUDENTS_NUM 80 #define MAX_IN_LEC 20 #define LECTURES_NUM 4 #include <stdio.h> int con...
[1 reply] : badCode.cpp: In function ‘int convert_grades(float (*) , char*, floa... (by Moschops)
File Sizes
 
I know that when you compile the libraries you use are compiled into your code making the file a lot...
[14 replies] Last: Alright, Thanks a ton! (by tehrealbinglebob)
double vs long double -- any difference?
 
Hi, I think my problem is quite basic, but I still don't get what's happening... I need to deal...
[13 replies] Last: I'd suggest you read up on some implementations of the long double typ... (by chronokitsune)
Templates
 
On Line 25, it states that Bigger is not a type - why is that? #include <iostream> using namesp...
[5 replies] Last: Thanks! That solved it. (by waqqassheikh)
Include .dll files in DEV c++ priject
 
Hi, I have some function in WSN.dll , I want to include the function in run time .. How to include...
[1 reply] : It's advised that you change you're IDE to a more up-to-date IDE such ... (by closed account zb0S216C)
VS 2008 is "stdafx.h" a nucence?
 
I hawe a qustion and i hope you guys can help me out just starting out whit C++. I wase working on:...
[1 reply] : Try this: // io.h #ifndef IO_H #define IO_H #include <stdi... (by closed account zb0S216C)
Multidimensional arrays
 
Hi, im abit confuzed on how multidimensional arrays arrays work. If i put, char board ; what wo...
[2 replies] Last: So to put it simply, it is like making a table, if it were , then th... (by TpOreilly)
Random numbers?
 
Whenever I run the program that I am creating, a Calculator for the game "RISK" it compiles fine but...
[4 replies] Last: if you know how many elements you need you could use reserve to alloc... (by stereoMatching)
How to work with copy and istream_iterator?
 
std::copy (std::istream_iterator<string>(cin), // beginning of source std::istre...
[no replies]
January 2011 Pages: 1... 3132333435... 42
  Archived months: [dec2010] [feb2011]

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