Beginners - December 2011 (Page 40)

Heading
 
I have been given a project to display something, and it is required to display 10 lines at a time w...
[no replies]
by supraz
Addition ?
 
Hi I have a problem that needs to be solved in C++ It is to input an integer (n) and then outpu...
[2 replies] Last: thanks a lot (by supraz)
by RET80
C, structs and return values
 
So I created a struct here in my model.h file: typedef struct { float* vertexBuffer; float* ...
[13 replies] Last: I think part of this is also that you don't understand what malloc doe... (by Moschops)
Void Pointers
 
#include <iostream> using namespace std; int main () { void *a ; int b=4; a=&b; ...
[1 reply] : The value of a is the memory address of b . Use the asterisk ( * )... (by Catfish)
String splitting problem
 
I want to split my string by every space. I have e.g. string array as "12343212 MARK SPENCER" In t...
[4 replies] Last: Thanks for the code and links! (by farukyaz)
Calling member function with a function called within a member function
 
The problem: Is it in some way possible to call a member function within a function that is called...
[2 replies] Last: I was hoping there was a way to do this. Usually when I have something... (by Bertram)
2D char array
 
I had been given a project i want to enter 2D array by using getline function to sort lines........
[2 replies] Last: oh....here comes another problem...... c++ is not executing the progra... (by MuhammadAbdullah)
what is inline command with cplusplus
 
hi sir /madam i hope to know what is the inline concept plz.
[1 reply] : http://www.cplusplus.com/doc/tutorial/functions2/ Scroll down a bit or... (by unoriginal)
Deleting individual elements from an array
 
How would you use pointers to delete an individual element from an array? My homework problem requir...
[5 replies] Last: Duoas example has correctly updated the tail pointer. The convention i... (by andywestken)
can't link ws2_32.lib
 
I've been looking at this and other forums for three days, and see that this issue seems to come up ...
[2 replies] Last: You used wHighVersion right next to HighVersion, so you should have sp... (by andywestken)
Help please.
 
I encounter a runtime error during the first move. But when I set the board to 10 row 10 col I don't...
[10 replies] Last: @Peter87, Wow didn't notice that. THANKS ALOT! :D it is now working. i... (by nethoinkz)
How to use a 2d array in a reference
 
normally when I want to pull data out of a function without returning, I could just do something lik...
[6 replies] Last: Are you sure the Display function is working properly? Is size > 8? (by Peter87)
Simple for loop is not working
 
#include <iostream> #include <cmath> using namespace std; int main() { int j; int answer; co...
[2 replies] Last: #include <iostream> #include <cmath> using namespace std; int main() ... (by humyunfuad)
forward declaration problem?
 
I'm having a frustrating time trying to get this to work: I have 4 Classes: A, B, X, Y. class...
[3 replies] Last: I doubt you can do that. I would use and iterator because I know tha... (by IceThatJaw)
class containing 2d vector
 
I have a class containing a 2d vector of type Square called chessboard: class A { ... vec...
[10 replies] Last: yeah I did, and I accidentally made it private not protected in GamePi... (by RPGillespie)
undefined reference.
 
I have an error and i don't know what to do. please help. Error is: ----------------------------...
[2 replies] Last: How and where do i implement the two: da::macros::doe::SpaceDefiniti... (by khairul)
If a string begins with a space, does .substr function count it?
 
Hi there, I'm learning C++ from Cay Horstmann's "Big C++", and I stumbled upon the following code: ...
[2 replies] Last: Great, thank you Peter87. That is the confirmation I needed. I appreci... (by aspiringprogrammer)
Stretching a square image onto a rhombus?
 
Hi, First off, I'm a noob (sorry). I tried searching the web for a way to do this but haven't had a...
[8 replies] Last: Is that shearing? I thought shearing was only with regular rotation. ... (by lcdavis13)
No operator ">>" matches these operands
 
Hello, I am tring to add a new customer for a bank with a function. And the error "No operator ">>"...
[2 replies] Last: Thank you very much. That solved the problem. (by tsukisos)
by sipher
Heap stack problem
 
Hello everyone, I have a very odd error that crops up in my program. I have a standalone functio...
[4 replies] Last: Yes you can do do like that. It will be the same. (by Peter87)
December 2011 Pages: 1... 3839404142... 47
  Archived months: [nov2011] [jan2012]

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