Beginners - September 2010 (Page 31)

by juvan
Strange class problem
 
Hello all I have a head basher, since I think the solution is very easy and obvious but I simply can't find the error. Here is my code class Point{ in...
[5 replies] Last: [quote=Null]But Point(int,int,int) has default 3rd parameter. Oops..... (by m4ster r0shi)
How to correctly design the destructor
 
Hello everybody! In one of my classes I have the following member variable: vector<vector<TData> * > * _timeSeries; My question is how to design the ...
[3 replies] Last: I am no expert in how C++ handle memory allocation and de-allocation b... (by sohguanh)
by jagoly
.h not working
 
whenever i use any of the source code from this website that includes #include <something.h> my compiler (Visual Studio C++ Command line) fails and says: ...
[1 reply] : The Sourcecode section of this website ( http://www.cplusplus.com/src/... (by Bazzy)
by jagoly
ACSII Art
 
Hello. i have drawn on note pad this picture of a black mage from final fantasy 1. "____\n __///\\\n _///\\|\n __/...
[4 replies] Last: If you need to create more cool ACSII stuffS from your images,Google ... (by Mazd)
by Mazd
Search and sort algorithm
 
Hi,please i need link to well explained tutorial on implementing search and sort algorithm in C/C++ -Al-Mazeedy(More)
[4 replies] Last: Thanks Guys (by Mazd)
by Looy
cannot allocate an array of constant size 0
 
Hi there, I'm a bit new to C++, but not programming in general. I have no idea why this code: 4| float densityList ; 5| densityList = 6.0F; 6| den...
[7 replies] Last: okay, will try that after work, thanks. (by Looy)
Loading bmp images in console
 
Is there any way to adapt this code so i can load images into my console video game and still be able to continue to play through it and without this interferin...
[12 replies] Last: I agree with Disch - I had quite a bunch of problems setting up SFML, ... (by pabloist)
Why does this not wait for input:
 
Hola, I have a problem; this code will exit immediately, and can someone tell me why: //add.cpp #include <iostream> #include <string> #include "add.h" in...
[10 replies] Last: You're welcome. Glad to be of service. :) (by Alpha Kand)
by pizet
My own I/O
 
I hope it's not a silly question but how would I be able to programm my own I/O function just from nothing, I mean just from pure C++?
[7 replies] Last: even without C++ libraries, you'd still be using libraries in some for... (by Disch)
by JonFE
Too late for me?
 
This might be different to other questions, and hell, probably in the wrong section, but while you're reporting me/telling me I'm offtopic, could you also answe...
[9 replies] Last: HAHAHAHA I like squashedMangoes sarcasm I literally fell out of my cha... (by closed account 2EyCpfjN)
how to properly use getline (cin, mystr)
 
I've tried using the tutorial for this (http://cplusplus.com/doc/tutorial/basic_io/) but I can't get it to work. I need (of course) a string with spaces in it ...
[4 replies] Last: here is the full file: // web_page_creator.cpp : Defines the entry... (by closed account 2EyCpfjN)
by bmos31
Reversing an array of chars (algorithm for this?)
 
Ok, so I'm writing a program to convert decimal into binary. It all works with the exception that my binary shows up in reverse order and I'm having trouble wit...
[no replies]
Concatenating Strings
 
How do I concatenate the strings so that there is a space between the words? And then what would be the best method for passing the pointer to a display func...
[1 reply] : [quote=mommabear]How do I concatenate the strings so that there is a s... (by PanGalactic)
how would one update 2 values at the same time
 
How would one go about updating 2 values while comparing them and having to return them from a list of values for example Player is level 1 Player needs 1...
[2 replies] Last: Well i finally did get that to work! it works great. Thanks (by Snaef98)
Get the systems master volume...How?
 
Hey guys, I've been teaching myself c++ slowly over the last few months so I'm not a total noob (sorry, I don't have a better word...) but I'm not an expert ei...
[1 reply] : http://msdn.microsoft.com/en-us/library/ms713752.aspx http://msdn.m... (by Filetestingman)
Error: no match for operator<<
 
Everything else seems to compile without error, what is wrong with my code, im new so i know it my code isnt the greatest. #include <iostream> #include <vect...
[5 replies] Last: You need only one vector then: std::vector<int> vectorOne(64,1); ... (by Bazzy)
Compiling error
 
During the past week i've been trying to learn c++. Yesterday I tried using somebodies guide on youtube but when I try to compile and run the script I get the e...
[8 replies] Last: I mean if you replace the code above with the hello world in the very ... (by Bazzy)
by dlugo
Question about returning values from other functions
 
I have converted two base 10 numbers into base 16 and stored them into an an array. I am to return -1 if one is greater than the other, return 1 if one is less ...
[2 replies] Last: Thank you, removing line 15 made the program work. (by dlugo)
by dlugo
Issues compiling in Linux
 
So my code worked perfectly in Visual Studios but now that I'm testing in Linux I'm getting all types of errors. This is a preview of my code: #include <io...
[9 replies] Last: Yes, this is exactly the problem. I tried to compile using g++ and cam... (by dlugo)
For expert programmers: How important is math in c++?
 
I've spoke to several people regarding math and c++ and most of them tell me that it's not terribly important to be good with math when using c++ for programmin...
[9 replies] Last: [quote=quirkyusername]If you ever studied graphics programming the mat... (by Kyon)
September 2010 Pages: 1... 29303132
  Archived months: [aug2010] [oct2010]

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